Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SmartForms Archive

Former Member
0 Likes
983

Hi,

I have a spool request created by a SMARTFORMS program. Now i need to archive the output after printing it. I know we need to pass the values to the following parameters when calling the SMARFORMS function module.

1. ARCHIVE_INDEX

2. ARCHIVE_INDEX_TAB

3. ARCHIVE_PARAMETERS

and also set the output-TDARMOD = 3.

I have also created a SAP archive link to the content server in the transaction code OAC0 using Basis help.

Now the question is what data we need to these three structures? Can anybody give me some examples?

Thanks

Vasanth

3 REPLIES 3
Read only

Former Member
0 Likes
649

Hi ,

see the below link..

after calling CALL FUNCTION 'CONVERT_OTF_2_PDF'

Open dataset and write file data into application server to archive

http://wiki.sdn.sap.com/wiki/display/Snippets/Convert%20Smartform%20to%20PDF%20format

Prabhudas

Read only

0 Likes
649

Hi There!,

I dont want to covert my output to a PDF. If you see any print preview in the sp01 in the top left hand corner you will see a button "Archive" and "Print and Archive". I want to use them and archive my document after printing them. So we need to pass the archive parameters to the function module generated by the SMARTFORMS

Thanks

Vasanth

Read only

Former Member
0 Likes
649

Hi,

You need to configure the NACE and OAC0 for ARCH as an output device.

so once u process your smartform e.g. PO you print will get generate and Archive also.

Thanks,

Prarthan