SAP Reports / Programs

RKKPARCR SAP ABAP Report - Archive Cost Object ID: Read Program







RKKPARCR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Start the program...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RKKPARCR 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 RKKPARCR. "Basic submit
SUBMIT RKKPARCR AND RETURN. "Return to original report after report execution complete
SUBMIT RKKPARCR VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Archive Cost Object ID: Read Program
Text Symbol: ANR = Archive
Text Symbol: FAR = Read archive data
Text Symbol: KTR = Cost objects
Text Symbol: KTX = Name


INCLUDES used within this REPORT RKKPARCR

INCLUDE: RKKPARC0, "ARCHIVIERUNG


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:

K_ARCH_INIT_STATISTICS CALL FUNCTION 'K_ARCH_INIT_STATISTICS' EXPORTING i_write_auto = 'X' i_read_auto = 'X'.

ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING object = co_kstrg IMPORTING archive_handle = archive-handle EXCEPTIONS no_files_available = 1 OTHERS = 2.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = archive-handle IMPORTING object_id = ckph_key EXCEPTIONS end_of_file = 1.

ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = archive-handle IMPORTING " archive_creation_date = " archive_creation_release = " archive_creation_system = " archive_name = archive_document = cost_object-arch_run.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = archive-handle IMPORTING record_structure = arc_buffer-rname record = arc_buffer-segment EXCEPTIONS end_of_object = 1. " record_length =

TEXT_SELECT_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_SELECT_ARCHIVE_OBJECT' EXPORTING archive_handle = archive-handle name = tdname id = text_id object = text_obj "importing " entries = TABLES selections = t_header.

TEXT_READ_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_READ_ARCHIVE_OBJECT' EXPORTING archive_handle = archive-handle name = tdname language = t_header-tdspras id = text_id object = text_obj IMPORTING header = header TABLES lines = t_lines.

K_UNITCOST_ARCHIVE_READ CALL FUNCTION 'K_UNITCOST_ARCHIVE_READ' EXPORTING i_archive_handle = archive-handle TABLES t_ckhs = t_ckhs t_ckis = t_ckis.

ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = archive-handle TABLES table = t_stat.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = archive-handle statistics_only_per_run = space.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = archive-handle.

K_KSTRG_DISPLAY CALL FUNCTION 'K_KSTRG_DISPLAY' EXPORTING i_kstrg = cost_object-objdata-kstrg i_datbi = cost_object-objdata-datbi i_ktrat = cost_object-objdata-ktrat i_memory_id = memory_id.

K_COSTS_READ_ARCHIVE CALL FUNCTION 'K_COSTS_READ_ARCHIVE' EXPORTING i_archive_handle = handle i_objnr = objnr TABLES t_coka = t_coka t_cosp = t_cosp t_coss = t_coss " t_coks = t_coks " t_cospd = t_cospd " t_cossd = t_cossd " t_coepd = t_coepd " t_coepbr = t_coepbr t_cobk = t_cobk t_coep = t_coep.

K_QUANT_READ_ARCHIVE CALL FUNCTION 'K_QUANT_READ_ARCHIVE' EXPORTING i_archive_handle = handle i_objnr = objnr TABLES t_cosl = t_cosl t_cobk = t_cobk t_coepl = t_coepl.

K_RATIOS_READ_ARCHIVE CALL FUNCTION 'K_RATIOS_READ_ARCHIVE' EXPORTING i_archive_handle = handle i_objnr = objnr TABLES " t_cokr = t_cokr t_cosr = t_cosr t_cobk = t_cobk t_coepr = t_coepr.

K_VARI_READ_ARCHIVE CALL FUNCTION 'K_VARI_READ_ARCHIVE' EXPORTING i_archive_handle = handle i_objnr = objnr TABLES t_cobk = t_cobk t_coepb = t_coepb t_cosb = t_cosb t_cosbd = t_cosbd.

K_SRULE_READ_ARCHIVE CALL FUNCTION 'K_SRULE_READ_ARCHIVE' EXPORTING i_archive_handle = handle i_objnr = objnr TABLES t_cobra = t_cobra t_cobrb = t_cobrb.

K_KABR_READ CALL FUNCTION 'K_KABR_READ' EXPORTING archive_handle = handle i_objnr = objnr TABLES t_auak = t_auak. " I_BELNR = ' '

DDIF_NAMETAB_GET





CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'CKHS' TABLES dfies_tab = t_dfies_ckhs EXCEPTIONS OTHERS = 2.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'CKIS' TABLES dfies_tab = t_dfies_ckis EXCEPTIONS OTHERS = 2.

K_KKB_PH_REPORT_CALL CALL FUNCTION 'K_KKB_PH_REPORT_CALL' EXPORTING kokrs = rc_ckphv-kokrs node = rc_hpnode rolld = space " choice_p = ' ' " choice_J = ' ' " choice_K = ' ' " batch = ' ' " rgjnr = ' ' " uname = ' ' TABLES globals = rc_globals.



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 RKKPARCR or its description.