SAP Reports / Programs | Controlling | Profitability Analysis(CO-PA) SAP CO

RKETRERF_PARALLEL SAP ABAP Report - Build Summarization Lvls by Period from JOIN Tables (costing-based PA)







RKETRERF_PARALLEL 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 RKETRERF_PARALLEL into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

KEDUS - CO-PA: Period Build of Summ. Levels


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 RKETRERF_PARALLEL. "Basic submit
SUBMIT RKETRERF_PARALLEL AND RETURN. "Return to original report after report execution complete
SUBMIT RKETRERF_PARALLEL VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: PERKRS = Operating concern
Selection Text: PJOBNR = Number of jobs
Selection Text: PTRFIRST = Build new levels
Selection Text: PTRNEW = Rebuild
Selection Text: PTRRERUN = Restart
Selection Text: TRCATNR = Summarization level
Title: Build Summarization Lvls by Period from JOIN Tables (costing-based PA)
Text Symbol: 001 = Function
Text Symbol: 002 = Technical settings
Text Symbol: 003 = Objects
Text Symbol: 004 = Program
Text Symbol: 005 = does not exist
Text Symbol: 010 = Determine relevant periods...
Text Symbol: 011 = Deleting data...
Text Symbol: 012 = Dropping indexes...
Text Symbol: 013 = Build administration table...
Text Symbol: 014 = Start jobs...
Text Symbol: 015 = Exit jobdispatcher...
Text Symbol: 016 = No levels to process ...


INCLUDES used within this REPORT RKETRERF_PARALLEL

No INCLUDES are used within this REPORT code!


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:

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING P_STATUS = 'CHANGED_STANDARD' P_PROGRAM = 'RKETRERF_PARALLEL' TABLES P_EXCLUDE = P_EXCLUDE.

RKE_GET_ERKRS_ATTR CALL FUNCTION 'RKE_GET_ERKRS_ATTR' EXPORTING erkrs = perkrs IMPORTING blockfactor = blockfactor EXCEPTIONS i_erkrs_notfound = 1 OTHERS = 2.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = ptabname EXCEPTIONS not_found = 1 OTHERS = 2.

ENQUEUE_EKCTKETRLE CALL FUNCTION 'ENQUEUE_EKCTKETRLE' EXPORTING applclass = 'KE' subclass = '01' tabname = tabname trcatnr = trcatnr perio = tketrlgps-perio _wait = 'X' EXCEPTIONS foreign_lock = 1.

RKD_TR_UPDATE_INIT CALL FUNCTION 'RKD_TR_UPDATE_INIT' EXPORTING applclass = applclass subclass = subclass tabname = tabname trcatnr_ranges = trcatnr_sel update_method = method update_concurrent = ' ' commit_allowed = 'X' drop_indexes = 'X' ignore_initial_items = ' ' " dh981209 IMPORTING handle = handle levels_to_change = levels_to_change.

RKE_CONVERT_PHYSNR_TO_LOGNR CALL FUNCTION 'RKE_CONVERT_PHYSNR_TO_LOGNR' EXPORTING erkrs = perkrs perbl = perbl_tab-perbl pos = '01' " Blockierungsfaktor = 1 IMPORTING perio = perio_tab-perio EXCEPTIONS i_erkrs_notfound = 1 i_periv_notedited = 2 i_physnr_invalid = 3 OTHERS = 4.

RKD_TR_LEVEL_ENQUEUE CALL FUNCTION 'RKD_TR_LEVEL_ENQUEUE' EXPORTING applclass = 'KE' subclass = '01' tabname = tabname trcatnr = trcatnr scope = '3' wait = ' ' EXCEPTIONS foreign_lock = 1 OTHERS = 2.

RKD_TR_UPDATE_REFRESH CALL FUNCTION 'RKD_TR_UPDATE_REFRESH' EXPORTING handle = handle.

RKD_TR_UPDATE_START CALL FUNCTION 'RKD_TR_UPDATE_START' EXPORTING handle = handle tmp_del_prim_sumtab_index = kedd_true.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

RKD_TR_LEVEL_DEQUEUE CALL FUNCTION 'RKD_TR_LEVEL_DEQUEUE' EXPORTING applclass = 'KE' subclass = '01' tabname = tabname trcatnr = trcatnr.

RKD_TR_UPDATE_EXIT CALL FUNCTION 'RKD_TR_UPDATE_EXIT' EXPORTING handle = handle EXCEPTIONS OTHERS = 1.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = jobname IMPORTING jobcount = jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING immediately = con_space mode = 'PARAMS' no_dialog = 'X' IMPORTING out_parameters = print_parameters valid = valid EXCEPTIONS archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = jobcount jobname = jobname strtimmed = 'X' IMPORTING job_was_released = job_was_released EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.



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