SAP Reports / Programs

/SAPPCE/DPC_ARCHIVE_WRITE SAP ABAP Report - DP chain: Archiving - Write program







/SAPPCE/DPC_ARCHIVE_WRITE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter /SAPPCE/DPC_ARCHIVE_WRITE into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT /SAPPCE/DPC_ARCHIVE_WRITE. "Basic submit
SUBMIT /SAPPCE/DPC_ARCHIVE_WRITE AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPPCE/DPC_ARCHIVE_WRITE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_COMMNT = D Note
Selection Text: P_TEST = D Test Run
Selection Text: S_BUKRS = D Company Code
Selection Text: S_DPCNR = D Down Payment Chain Number
Title: DP chain: Archiving - Write program
Text Symbol: ECH = <<< Update run! >>>
Text Symbol: TST = <<< Test run! >>>


INCLUDES used within this REPORT /SAPPCE/DPC_ARCHIVE_WRITE

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

ARCHIVE_OPEN_FOR_WRITE call function 'ARCHIVE_OPEN_FOR_WRITE' exporting create_archive_file = l_create_archive_file object = c_object_dpc comments = p_commnt output_sel_screen_when_dialog = space importing archive_handle = g_archive_handle.

ARCHIVE_NEW_OBJECT call function 'ARCHIVE_NEW_OBJECT' exporting archive_handle = g_archive_handle object_id = ls_chain_key.

ARCHIVE_SAVE_OBJECT call function 'ARCHIVE_SAVE_OBJECT' exporting archive_handle = g_archive_handle.

ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting archive_handle = g_archive_handle statistics_only_per_run = 'X'.

ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = g_archive_handle.

ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = g_archive_handle record = is_record record_structure = i_record_structure.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name /SAPPCE/DPC_ARCHIVE_WRITE or its description.