on 05-13-2008 6:49 PM
Hi ,
This issue relates to archiving of SAP script .
Im running a transaction F.2b and a script is generated as an output . I need to archive this script.
Can anyone help me doing this.
All I know is that there are two parameters in open_form and start_form as
ARCHIVE_INDEX
ARCHIVE_PARAMS and i need to pass values to these but what values will be passed is not sure.
Thanks in advance.
Pooja.
ARCHIVE_INDEX
Enter the index information for the print output you want to archive. This information (DARA line) is stored in the archive together with the print output. Thus, you can use the index information to access the print output directly in the archive.
Structure: TOA_DARA
Default value: SPACE
ARCHIVE_PARAMS
The system interprets the settings passed in this parameter when archiving the output. The archive parameters have the ABAP Dictionary structure ARC_PARAMS.
Structure: ARC_PARAMS
Default value: SPACE
NEW_ARCHIVE_PARAMS
The parameter contains results of the archiving process, including the archive parameters the user changed on the print control screen. The parameter has the ABAP Dictionary structure ARC_PARAMS.
Structure: ARC_PARAMS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use the FM GET_PRINT_PARAMETERS to get the archive parameters. That you can use in the ARCHIVE_PARAMS.
Regards,
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naimesh,
Im alredy using this FM to pass values to archive_parameters and archive_index .
But the problem im facing is that when I try to archive the output spool after this . the archive button is disabled.
Im not sure if this needs some configuration or some setting needs to be done or may be Im missing some value that is passed in archive_parameters and archive_index .
For archive_index im passing the following values.
FUNCTION DARA
MANDANT 300
DEL_DATE 000000000
SAP_OBJECT KNA1
AR_OBJECT FIOINTCALC
OBJECT_ID
FORM_ID
FORMARCHIV
RESERVE COMMIT
NOTIZ days overdue
and for archive_parameters im pasing
SAP_OBJECT KNB1
AR_OBJECT FIOINTCALC
ARCHIV_ID
DOC_TYPE
RPC_HOST
RPC_SERVIC
INTERFACE
MANDANT
REPORT
INFO
ARCTEXT days overdue
DATUM
ARCUSER
PRINTER
FORMULAR
ARCHIVPATH
PROTOKOLL
VERSION
ACHECK
Can you suggest something whats going wrong.
Thanks in advance.
Pooja.
Hi naimesh,
I tried passing 3 to ITCPO-TDARMOD .
Now when the print dialog box opens and I give LP01 in ouput device name and then press PRINT , it pops an information message ' Archiving not posible'.
Actually this is chnage in the standard code . The output of trans f.2b needs to be archived . The prog name is RFDUZI00 .
Do you think any configuration needs to be done for this or may be some kind of settings to be maintained to get that ARCHIVE button active in output spool .
Thanks,
Pooja.
Hi Naimesh,
I checked te table TOAOM in my system for SAP_OBJECT and AR_OBJECT combination and its coming out to be blank .
I mean there is no entry maintained in the table of this combination. Does that mean that the Archiving configuration is missing in my system?
Can you please help me in understanding this concept. What if the table had an entry for the same ?
Thanks in advance
Pooja.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.