Skip to Content
avatar image
Former Member

SmartForms Archive

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 22, 2010 at 09:34 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Sep 22, 2010 at 10:44 AM

    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

    Add comment
    10|10000 characters needed characters exceeded