SAPRCKMP_NEU_LESEN_TEST 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 SAPRCKMP_NEU_LESEN_TEST 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.
Title: Archiving: Read Program ML Tables CKMLPP, CKMLCR
Text Symbol: 001 = Material ledger per. record table CKMLPP:
Text Symbol: 002 = Material ledger per. record table CKMLCR:
Text Symbol: 003 = ML-Header table (only for info. purposes-not found in archive)
Text Symbol: 004 = Archived period data for materials and activity types
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING * ARCHIVE_DOCUMENT = '000000' * ARCHIVE_NAME = ' ' object = 'CO_ML_DAT' * MAINTAIN_INDEX = ' ' IMPORTING archive_handle = read_handle.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = read_handle IMPORTING object_id = h_object_id * OBJECT_OFFSET = * ARCHIVE_NAME = EXCEPTIONS end_of_file = 1 file_io_error = 2 internal_error = 3 open_error = 4 wrong_access_to_archive = 5 OTHERS = 6.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = read_handle record_structure = 'CKMLPP' all_records_of_object = 'X' automatic_conversion = 'X' TABLES table = t_ckmlpp_arc.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = read_handle record_structure = 'CKMLCR' all_records_of_object = 'X' automatic_conversion = 'X' TABLES table = t_ckmlcr_arc.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = read_handle record_structure = 'CKMLMV003' all_records_of_object = 'X' automatic_conversion = 'X' TABLES table = t_ckmlmv003_arc.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = read_handle record_structure = 'CKMLMV004' all_records_of_object = 'X' automatic_conversion = 'X' TABLES table = t_ckmlmv004_arc.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = read_handle record_structure = 'CKMLLACR' all_records_of_object = 'X' automatic_conversion = 'X' TABLES table = t_ckmllacr_arc.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = 'SAPRCKMP_NEU_LESEN_TEST' i_internal_tabname = 'T_ALV_HEADER' i_structure_name = 'CKML_S_REORG_ALV_HEADER' * I_CLIENT_NEVER_DISPLAY = 'X' i_inclname = 'RCKMX_NEUTOP' CHANGING ct_fieldcat = t_fieldcat.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = 'SAPRCKMP_NEU_LESEN_TEST' i_internal_tabname = 'T_ALV_ITEM' i_structure_name = 'CKML_S_REORG_ALV_ITEM' * I_CLIENT_NEVER_DISPLAY = 'X' i_inclname = 'RCKMX_NEUTOP' CHANGING ct_fieldcat = t_fieldcat.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' "Keine Konsistenzpr. Interf.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = read_handle.
CKML_LA_HEADER_READ CALL FUNCTION 'CKML_LA_HEADER_READ' * EXPORTING * I_REFRESH_BUFFER = ' ' * I_KALNR = * I_OBJNR = * I_WERKS = * I_CREATE_NEW = ' ' * IMPORTING * EF_CKMLLAHD = * E_NEW = * E_ENQUEUED = TABLES it_kalnr = lt_act_header et_ckmllahd = lt_ckmllahd EXCEPTIONS no_key_specified = 1 header_not_found_kalnr = 2 no_data_found = 3 no_header_created = 4 OTHERS = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SAPRCKMP_NEU_LESEN_TEST - Archiving: Read Program ML Tables CKMLPP, CKMLCR SAPRCKMP_NEU_LESEN_TEST - Archiving: Read Program ML Tables CKMLPP, CKMLCR SAPRCKMP_NEU_LESEN - Archiving: read program, period data Material Ledger / Actual Costing SAPRCKMP_NEU_LESEN - Archiving: read program, period data Material Ledger / Actual Costing SAPRCKMP - Archiving: Retrieving Period Records CKML1 from Archive SAPRCKMP - Archiving: Retrieving Period Records CKML1 from Archive