I will not speak about installing and configuring the HTTP Content Server, there is already very good documentation about it. Here we will see how to use the content server to store printed document.
For the example, I will used the Sales Order in an IDES Server.
Configuring the output
The configuration of the output is done using the transaction NACE.
To configure Sales Order output, you have to select the Application "V1" and press the button "Output types"
The standard Output Types for the sales order is BA00, I will use it.
Select the Output type in the right part, and double click on "Processing routines".
The configuration of the Output type "BA00" for printing is this one. Program "ZSD_RVADOR01" and Smartform "ZSD_SALES_ORDER".
Now we could open a Sales Order and check if the message BA00 works.
Transaction VA02.
Press the button "Print preview" to display the default output type :
The Smartforms works (good).
To display witch output type was used, you have to go in the menu :
This output is yellow because it's not already processed. Print preview doesn't process the message, even if you print during a preview !
To configure the automatic creation of this message you have to configure the transaction VV12.
(in your system, you could have several key combinations, for example to be able to specify the printer by plant / sales org / ...)
if you go in detail of the condition record you will see something like this :
In this doc, we will try to use the option of the last parameter :
Creation of the content repository
A content repository is like a directory. It's a place were you could put several kind of data. You could use only one content repository to store all your data. You could use several content repository to be able to move it to another content server, for size issue, ...
Transaction OAM1
This is the global transaction where you will find all the customizing of the content server.
Go in the menu :
you could access directly using the transaction OAC0.
Press the button create (blank page), and press "Full administration"
First, set a name of content repository on two digits (you will have problems in some customizing of ArchivLink if you set more)
Set the version (should be 0046)
Set the host or the IP address of the content server
Set the port number (should be 1090)
Set the HTTP Script (should be ContentServer/ContentServer.dll)
Set the OutputDevice to "ARCH"
and save it
You have create the content repository in the ECC system, not in the Content Server.
Now, you could press the button "CS Admin"
When you use MaxDB, you have to set the setting for the driver.
And press the SAVE button
A new tab will appear
Now we will have to generate the certificat, go in the certificat tab:
Select the new line that appears and press the button activate
Now the Content server is ready
Check if the server is Up and Running
First, you could check quickly using your internet browser :
http://my_content_server_host:1090/ContentServer/ContentServer.dll?serverInfo
(special thanks to Yann to remember me this helpful link)
This link must display a list of variables like this :
One of this variable gives you the status : serverStatus="running";
You could see also there is one ContentRepository : Z1
The second method is to run the report : RSCMST
Enter you ContentRepository and press F8
You must run all the steps of this report :
if you have any problem on your HTTP Content Server, launch this report to have informations on the errors.
Configure the archiving of the Sales order
A long preparation for a quick configuration ..
Define document type :
Transaction OAM1, go in the menu :
(or directly using transaction OAC2)
I specify to the system to save the document in PDF format. I could set "*" if I will be able to store PDF, Word, Excel, ...
Define the links
Transaction OAM1, go in the menu :
(or directly using transaction OAC3)
The key corresponding to Sales Order is VBAK :
In the OAC3 trans. we specify for this kind of document to store the document in the ContentRepository Z1 and to use the link table TOA01.
(You could use 99 link tables TOA01 -> TOA99)
Save it
Test
Now, we come back to the configuration of the output type in the VA02 transaction.
(menu : Extras -> Output -> Header -> Edit)
Select the line and Click on the button "Communication method" and select "Print & Archiv"
(don't forget to set with the button "Further Data" : "Send immediately" )
Back and Save.
Result
In transaction VA03, go in the output type.
Select the line and go in the menu :
With Sales order you will have a popup like that, but with others transaction like Invoice you won't.
Double-click on the document will open you an internet browser :