STDCO_PROCESS_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_PROCESS_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: GROUP = Business Process Group
Selection Text: KOKRS = Controlling Area
Selection Text: TOYEAR = "To" Fiscal Year
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: Archive Business Processes: Write Program
Text Symbol: 010 = Business Processes
Text Symbol: 020 = Further Selection Criteria
INCLUDE ARCH_WRITE_PRG_STANDARD2.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_PROTOCOL_INIT call function 'ARCHIVE_PROTOCOL_INIT' exporting i_detailprotocol = v_prot.
ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting archive_handle = l_handle.
ARCHIVE_PROTOCOL_WRITE call function 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = l_handle.
K_TOTAL_INIT call function 'K_TOTAL_INIT' exporting i_transdata_only = 'X' tables ra_gjahr = lt_gjahr_select t_objnr_select = lt_objnr_select.
ARCHIVE_OPEN_FOR_WRITE call function 'ARCHIVE_OPEN_FOR_WRITE' exporting object = 'CO_PROCESS' create_archive_file = l_create_file call_delete_job_in_test_mode = l_dont_delete comments = v_comment do_not_delete_data = l_not_delete "Note 1795661 destroy = l_destroy "Note 1795661 importing archive_handle = r_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 archive_handle = v_handle object_id = l_objnr.
ARCHIVE_PUT_TABLE call function 'ARCHIVE_PUT_TABLE' exporting archive_handle = v_handle record_flags = 'X' record_structure = 'CBPR' tables table = lt_cbpr.
ARCHIVE_PUT_TABLE call function 'ARCHIVE_PUT_TABLE' exporting archive_handle = v_handle record_flags = 'X' record_structure = 'CBPT' tables table = lt_cbpt.
CKMLLA_ARCHIVE_OBJECT call function 'CKMLLA_ARCHIVE_OBJECT' exporting archive_handle = v_handle i_objnr = l_objnr i_year = v_toyear i_year_is_toyear = 'X'.
ARCHIVE_SAVE_OBJECT call function 'ARCHIVE_SAVE_OBJECT' exporting archive_handle = v_handle exceptions termination_requested = 1 data_object_not_saved = 6.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = l_busproctext 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.
K_KOKRS_READ call function 'K_KOKRS_READ' exporting kokrs = v_kokrs importing e_tka01 = l_tka01 exceptions not_found = 1.
LAST_DAY_IN_YEAR_GET call function 'LAST_DAY_IN_YEAR_GET' exporting i_date = l_date i_periv = l_tka01-lmona importing e_date = r_last_budat exceptions t009_notfound = 1 t009b_notfound = 1.
K_TOTAL_ARCHIVE_OBJECT call function 'K_TOTAL_ARCHIVE_OBJECT' exporting i_archive_handle = v_handle i_objnr = v_objnr.
G_SET_ENCRYPT_SETID call function 'G_SET_ENCRYPT_SETID' exporting setclass = gsetc_busprocess_setclass shortname = v_group kokrs = v_kokrs importing setid = l_setid.
call function 'G_SET_GET_ALL_VALUES' exporting setnr = l_setid tables set_values = lt_rgsb4 exceptions set_not_found = 1.
TEXT_ARCHIVE_OBJECT call function 'TEXT_ARCHIVE_OBJECT' exporting archive_handle = v_handle id = 'LTXT' language = '*' name = l_textname object = 'CBPR' object_delete_flag = v_delete.
DYNP_VALUES_READ call function 'DYNP_VALUES_READ' exporting dyname = l_cprog dynumb = '1000' translate_to_upper = 'X' tables dynpfields = lt_dynpread.
K_GROUP_SELECT call function 'K_GROUP_SELECT' exporting class = gsetc_busprocess_setclass field_name = 'PRZNR' searchfld_input = ' ' set = '*' kokrs = l_kokrs importing set_name = group * SET_TITLE = exceptions no_set_picked = 0.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = v_obj i_msgtype = 1 i_msgid = ld_msgid i_msgno = ld_msgno.
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_PROCESS_WRI or its description.
STDCO_PROCESS_WRI - Archive Business Processes: Write Program STDCO_PROCESS_WRI - Archive Business Processes: Write Program STDCO_ORDER_WRI - Archiving CO Orders: Write Program STDCO_ORDER_WRI - Archiving CO Orders: Write Program STDCO_ALLO_ST_WRI - Archiving - Write Program (Fully Reversed Allocation Documents) STDCO_ALLO_ST_WRI - Archiving - Write Program (Fully Reversed Allocation Documents)