Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
FredericGirod
Active Contributor

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 :

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 :

1 Comment