RK4CWBOP_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 RK4CWBOP_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_PROT_O = D .
Selection Text: P_COMENT = D .
Selection Text: P_DELTST = D .
Selection Text: P_PROT = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_WRITST = D .
Title: Archiving CO-PA Profitability Segments: Write Program
Text Symbol: 001 = Object Key
Text Symbol: 002 = Restrictions
Text Symbol: 003 = Processing Options
INCLUDE ARCH_WRITE_PRG_STANDARD2.
No SAP DATABASE tables are accessed within this REPORT code!
SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING RESTRICTION = GT_RESTRICT.
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_prot i_protocol_output = p_prot_o.
ADK_ABILITY_OF_CHECKS * CALL FUNCTION 'ADK_ABILITY_OF_CHECKS' * EXPORTING * XDISABLE_CHECKS = 'X'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = G_ARCH_HANDLE OBJECT_ID = 'COPAC_WBOP'.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = G_ARCH_HANDLE RECORD_STRUCTURE = I_TABNAME RECORD_FLAGS = ' ' TABLES TABLE = IT_CEX.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING ARCHIVE_HANDLE = G_ARCH_HANDLE EXCEPTIONS termination_requested = 1.
ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = G_ARCH_HANDLE IMPORTING ARCHIVE_NAME = l_arch_key EXCEPTIONS OTHERS = 1.
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING output_sel_screen_when_dialog = space call_delete_job_in_test_mode = v_deltst create_archive_file = l_create_file object = 'COPAC_WBOP' comments = u_comment IMPORTING archive_handle = r_handle.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = l_objnrastext i_msgtype = v_msgtype i_msgid = 'KE' i_msgno = v_msgno i_msgv1 = l_objnrastext i_msgv2 = v_msgv2.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = v_handle.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = v_handle.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_msgid = 'KE' i_msgno = '176' i_processed = v_processed i_output_immediately = v_immediate IMPORTING e_progress_sent = l_sent.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
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 RK4CWBOP_WRI or its description.
RK4CWBOP_WRI - Archiving CO-PA Profitability Segments: Write Program RK4CWBOP_WRI - Archiving CO-PA Profitability Segments: Write Program RK4CWBOP_REL - Archiving CO-PA Object Level: Reload Program RK4CWBOP_REL - Archiving CO-PA Object Level: Reload Program RK4CWBOP_PRE - Reorganization of the Segment Table RK4CWBOP_PRE - Reorganization of the Segment Table