on 04-26-2010 12:18 PM
Hi,
1) created the bussiness object ( SWO1)
2) created the document type (OAC2)
Document class: OTF
3. Link object with document type (OAC3)
Content repository or archive id: XX
passed the values in the code for OPEN_FORM
l_options-TDARMOD = '2'. " set the archiving mode and print
l_options-tdnewid = 'X'.
l_options-tdlifetime = '8'.
l_options-tddelete = ''.
set the values the Archive Index
l_ARCHIVE_INDEX-MANDANT = sy-mandt.
l_ARCHIVE_INDEX-SAP_OBJECT = XXXX
l_ARCHIVE_INDEX-OBJECT_ID = XXXXX .
l_ARCHIVE_INDEX-AR_OBJECT = XXXX.
l_ARCHIVE_INDEX-RESERVE+0(6) = XXX.
set the values the Archive paramters
l_ARCHIVE_PARAMS-SAP_OBJECT = XXXX.
l_ARCHIVE_PARAMS-ARCHIV_ID = XXX
l_ARCHIVE_PARAMS-AR_OBJECT = XXXXX.
l_ARCHIVE_PARAMS-DOC_TYPE = XXXXX
l_ARCHIVE_PARAMS-MANDANT = sy-mandt.
passed the values to OPEN_FORM
It is not archived ... not even gives any error
did i missed any step for the configuration
please let me now if any solution otr other way round
Thanks in Advance
Shravan
Hi,
when TDARMOD = '2'. It will just archive and TDARMOD = '3' it will "Print + Archive".
Try this may help you.
Regrads,
Lokesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.