SAP Reports / Programs

RKEBATSM SAP ABAP Report - Background processing for Drilldown reports







RKEBATSM 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 RKEBATSM 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 RKEBATSM. "Basic submit
SUBMIT RKEBATSM AND RETURN. "Return to original report after report execution complete
SUBMIT RKEBATSM 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: ERKRS = Operating concern
Selection Text: PA_TYPE = Type of Profitability Analysis
Selection Text: REPID1 = Report
Selection Text: VARIANTE = Variant
Title: Background processing for Drilldown reports
Text Symbol: 002 = Report
Text Symbol: 003 = Variant
Text Symbol: 006 = Operating concern
Text Symbol: 007 = Type of Profitability Analysis


INCLUDES used within this REPORT RKEBATSM

INCLUDE MKCBGC20. "SM
INCLUDE FKCEBC20. "SM


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:

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.

TRANSACTIONS_INITIALIZE CALL FUNCTION 'TRANSACTIONS_INITIALIZE' EXPORTING applclass = applclas IMPORTING e_applclass = rkb1d-applclass e_smodus = rkb1d-smodus e_subclass = rkb1d-subclass EXCEPTIONS OTHERS = 01.

HELP_REPORT_VALUES_GET CALL FUNCTION 'HELP_REPORT_VALUES_GET' EXPORTING i_applclass = l_rkb1d-applclass i_displ_table = ' ' i_repid = l_rkb1d-repid i_smodus = 'B' i_subclass = l_rkb1d-subclass i_tabname = l_rkb1d-tabname i_bertxt = ' ' IMPORTING e_bertxt = l_bertxt "wkb 4.0a wegen comment

REPORT_DIRECTORY_READ CALL FUNCTION 'REPORT_DIRECTORY_READ' EXPORTING report_parameter_in = l_rkb1d suppress_converting = ' ' IMPORTING report_parameter = l_rkb1d EXCEPTIONS no_report = 1.

RKD_REPORT_GENERATE CALL FUNCTION 'RKD_REPORT_GENERATE' EXPORTING applclass = rkb1d-applclass subclass = rkb1d-subclass tabname = rkb1d-tabname repid = rkb1d-repid IMPORTING e_rname = rkb1d-rname EXCEPTIONS OTHERS = 1.

RS_TOOL_ACCESS CALL FUNCTION 'RS_TOOL_ACCESS' EXPORTING operation = 'DOCS' object_name = 'RKDBAT02' object_type = 'PROG'.

KPEP_MONI_INIT_RECORD CALL FUNCTION 'KPEP_MONI_INIT_RECORD' EXPORTING ls_detail = l_detail ls_witem = l_witem * LS_APPL = * LD_WORKLIST_FLAG = ' ' * LD_DELAYED_UPDATE = ' ' * LD_SEND_MESSAGE = 'X' IMPORTING ls_key = e_schedman_key * WILL_BE_SAVED = * TABLES * LT_SELKRIT = * LT_PARAM = .

KPEP_MONI_CLOSE_RECORD CALL FUNCTION 'KPEP_MONI_CLOSE_RECORD' EXPORTING ls_key = i_schedman_key ls_message = l_message * LD_OBJECTS = * LS_EXT = * LS_RL = ls_scma_event = ls_scma_event "H428672 * TABLES * LT_SPOOL = CHANGING ld_aplstat = l_state EXCEPTIONS "H428672 no_id_given = 1 "H428672 OTHERS = 2. "H428672

RS_VARIANT_CATALOG CALL FUNCTION 'RS_VARIANT_CATALOG' EXPORTING report = rkb1d-rname IMPORTING sel_variant = rkb1d-variante sel_variant_text = l_variant_text EXCEPTIONS no_report = 1 report_not_existent = 2 report_not_supplied = 3 no_variants = 4 no_variant_selected = 5 variant_not_existent = 6 OTHERS = 7.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.

RKD_RKB1X_SET CALL FUNCTION 'RKD_RKB1X_SET' EXPORTING applclass = rkb1d-applclass i_rkb1x = rkb1x i_table = ' ' i_get_table = '1' IMPORTING e_rkb1x = rkb1x e_table = rkb1d-tabname EXCEPTIONS OTHERS = 01.

RKD_RKB1U_SET CALL FUNCTION 'RKD_RKB1U_SET' EXPORTING i_applclass = rkb1d-applclass i_rkb1x = rkb1x IMPORTING e_rkb1u = rkb1u.

REPORT_DIRECTORY_READ CALL FUNCTION 'REPORT_DIRECTORY_READ' EXPORTING report_parameter_in = rkb1d IMPORTING report_parameter = rkb1d EXCEPTIONS no_report = 1.

RKD_SET_DEFAULT_KOKRS CALL FUNCTION 'RKD_SET_DEFAULT_KOKRS' CHANGING kokrs = rkb1x-kokrs.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_log IMPORTING e_log_handle = p_log_handle.

MESSAGE_EXPORT_IMPORT CALL FUNCTION 'MESSAGE_EXPORT_IMPORT' EXPORTING ex_or_if = 'IF' EXCEPTIONS empty = 1 not_active = 2 OTHERS = 3.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = itab.

BAL_LOG_MSG_ADD





CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = p_log_handle i_s_msg = l_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = p_log_handle i_s_msg = l_msg.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING * I_IN_UPDATE_TASK = ' ' i_save_all = 'X'.



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