STDCO_ALLO_ST_WRI 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 STDCO_ALLO_ST_WRI into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_AR_ILM = D .
Selection Text: P_COMENT = D .
Selection Text: P_DELTST = D .
Selection Text: P_DEST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Selection Text: P_SNAP = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_WRITST = D .
Title: Archiving - Write Program (Fully Reversed Allocation Documents)
Text Symbol: 001 = Reversed document was archived
Text Symbol: 002 = Reversal document was archived
Text Symbol: 100 = Archiving Run Memo
Text Symbol: 101 = Detail Log
Text Symbol: 201 = Snapshot for Reversed Document Created
Text Symbol: 202 = Snapshot for Reversal Document Created
Text Symbol: 301 = Reversed Document Is Destroyed
Text Symbol: 302 = Reversal Document Is Destroyed
INCLUDE ARCH_WRITE_PRG_STANDARD2.
INCLUDE ARCHCOMO.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_PROTOCOL_INIT call function 'ARCHIVE_PROTOCOL_INIT' exporting i_detailprotocol = p_prot.
ARCHIVE_OPEN_FOR_WRITE call function 'ARCHIVE_OPEN_FOR_WRITE' exporting call_delete_job_in_test_mode = delete_mode create_archive_file = create_file object = 'CO_ALLO_ST' comments = p_coment do_not_delete_data = not_delete destroy = destroy importing archive_handle = archive_handle exceptions internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_msgtype = 2 i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4.
ARCHIVE_PROTOCOL_WRITE call function 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_NEW_OBJECT call function 'ARCHIVE_NEW_OBJECT' exporting object_id = g_object_id archive_handle = archive_handle.
ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = archive_handle record = t811d record_flags = record_flags record_structure = 'T811D'.
ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = archive_handle record = t811dh record_flags = record_flags record_structure = 'T811DH'.
ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = archive_handle record = covp11 record_flags = record_flags record_structure = 'COVP11'.
ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = archive_handle record = covj11 record_flags = record_flags record_structure = 'COVJ11'.
ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = archive_handle record = covpl1 record_flags = record_flags record_structure = 'COVPL1'.
ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = archive_handle record = covjl1 record_flags = record_flags record_structure = 'COVJL1'.
ARCHIVE_SAVE_OBJECT call function 'ARCHIVE_SAVE_OBJECT' exporting archive_handle = archive_handle exceptions termination_requested = 1 data_object_not_saved = 6.
ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting archive_handle = archive_handle.
ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = archive_handle.
ARCHIVE_PROTOCOL_WRITE call function 'ARCHIVE_PROTOCOL_WRITE'.
OBJECT_NUMBER_TYPE_GET call function 'OBJECT_NUMBER_TYPE_GET' exporting objnr = v_objnr importing obart_org = l_obart.
ARCHIVE_PUT_TABLE call function 'ARCHIVE_PUT_TABLE' exporting archive_handle = v_archive_handle record_structure = 'COEPD' tables table = lt_coepd[].
ARCHIVE_PUT_TABLE call function 'ARCHIVE_PUT_TABLE' exporting archive_handle = v_archive_handle record_structure = 'COEPBR' tables table = lt_coepbr[].
call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object =-belnr i_msgtype = 1 i_text = ld_text1.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object =
-belnr i_msgtype = 2 i_msgid = ld_msgid i_msgno = ld_msgno.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object =
-belnr i_msgtype = 2 i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object =
-belnr i_msgtype = 1 i_text = ld_text2.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object =
-belnr i_msgtype = 2 i_msgid = ld_msgid i_msgno = ld_msgno.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object =
-belnr i_msgtype = 2 i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4.
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 STDCO_ALLO_ST_WRI or its description.
STDCO_ALLO_ST_WRI - Archiving - Write Program (Fully Reversed Allocation Documents) STDCO_ALLO_ST_WRI - Archiving - Write Program (Fully Reversed Allocation Documents) STC_UTEST_TASKS - Unit Test Task Classes STC_TM_SYNC_CONTENT - Sync Task List Run Content Buffer STC_TM_SYNC_CONTENT - Sync Task List Run Content Buffer STC_TM_PROCESSOR - Main Execution program for a Task List Run (Batch)