Print lists are stored asynchronously, and the storage system is regarded as an additional logical printer. ABAP has been enhanced so that, from the point of view of the application, storing appears to be carried out in the same way as a print operation.
A request structure
ARC_PARAMS (internal table TOA_ARCAS) was defined.The commands
SUBMIT TO SAP-SPOOL and NEW-PAGE PRINT ON were enhanced to include ARCHIVE PARAMETERS. The additional field ARMOD (indicating whether storing is performed) was added to the parameter PRI_PARAMETERS. The command is:SUBMIT TO SAP-SPOOL ARCHIVE
where the variable
Arparams contains the ARC_PARAMS sought.If print output does not occur ONLINE and under the control of the user, the parameters
ARCHIVE PARAMETERS must have values. The necessary information can be determined using the function module GET_PRINT_PARAMETERS.If you want to use the command
NEW-PAGE PRINT ON or SUBMIT TO SAP-SPOOL, transfer one of the following values in the supplement ARCHIVE MODE:To determine the export parameters
OUT_ARCHIVE_PARAMETERS, the import parameters AR_OBJECT (document type) and SAP_OBJECT (business object type) must have values.For SAP_OBJECT and AR_OBJECT, a link must be maintained in Customizing so that no error scenario arises.
The program OACONTA2 is available as an example report.
To obtain the