RKDBATV4 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 RKDBATV4 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
TL3R - Schedule Variant Groups
KCRS - Schedule Variant Group
JB3R - Schedule variant group
TR3R - Schedule Variant Group
CXRC - Schedule Variant Groups
KE3R - Schedule Variant Group
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: ASPECT = Aspect
Selection Text: BERNAME = Report name(s)
Selection Text: ERKRS = Operating concern
Selection Text: JOBNAME = Job name
Selection Text: PA_TYPE = Type of Profitability Analysis
Selection Text: SUBCLASS = Report portfolio/Drilldown
Selection Text: TABNAME = Table
Selection Text: VARGROUP = Variant group
Title: Schedule Variant Group
INCLUDE MKCBGC20.
INCLUDE MKCBGOK1.
No SAP DATABASE tables are accessed within this REPORT code!
RKD_UNICODE_REQUIRED * CALL FUNCTION 'RKD_UNICODE_REQUIRED'.
TRANSACTIONS_INITIALIZE CALL FUNCTION 'TRANSACTIONS_INITIALIZE' IMPORTING transactions = tc e_applclass = rkb1d-applclass e_subclass = rkb1d-subclass.
RKD_RKB1X_SET CALL FUNCTION 'RKD_RKB1X_SET' EXPORTING applclass = rkb1d-applclass i_rkb1x = rkb1x IMPORTING e_rkb1x = rkb1x e_table = rkb1d-tabname.
RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = sy-pfkey TABLES p_exclude = pfaus.
RKE_CHECK_GENERATION CALL FUNCTION 'RKE_CHECK_GENERATION' EXPORTING erkrs = erkrs.
RKD_SET_DEFAULT_KOKRS CALL FUNCTION 'RKD_SET_DEFAULT_KOKRS' CHANGING kokrs = report-rkb1x-kokrs.
RKD_RKB1X_SET CALL FUNCTION 'RKD_RKB1X_SET' EXPORTING applclass = rkb1d-applclass i_rkb1x = report-rkb1x IMPORTING e_rkb1x = report-rkb1x e_table = rkb1d-tabname.
RKD_ERROR_MESSAGE CALL FUNCTION 'RKD_ERROR_MESSAGE' EXPORTING i_type = 'I' i_number = '484' i_rkb1d = rkb1d i_rkb1x = rkb1x i_group = 'V'.
RKD_SET_DEFAULT_KOKRS CALL FUNCTION 'RKD_SET_DEFAULT_KOKRS' CHANGING kokrs = report-rkb1x-kokrs.
RKD_RKB1X_SET CALL FUNCTION 'RKD_RKB1X_SET' EXPORTING applclass = rkb1d-applclass i_rkb1x = report-rkb1x i_table = rkb1d-tabname IMPORTING e_rkb1x = report-rkb1x e_table = rkb1d-tabname.
JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = l_jobname IMPORTING jobcount = g_jobcount EXCEPTIONS OTHERS = 0.
GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING LINE_SIZE = l_pagew NO_DIALOG = 'X' IMPORTING OUT_PARAMETERS = g_priparams EXCEPTIONS OTHERS = 0.
JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING authcknam = sy-uname jobcount = g_jobcount jobname = l_jobname priparams = g_priparams report = l_rname variant = l_s_tkev3-variant EXCEPTIONS OTHERS = 0.
BP_JOB_MODIFY CALL FUNCTION 'BP_JOB_MODIFY' EXPORTING dialog = 'Y' jobcount = g_jobcount jobname = l_jobname opcode = 16 TABLES new_steplist = l_t_dummy EXCEPTIONS OTHERS = 0. " !!!Q4V anpassen!!!
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_repid "#EC DOM_EQUAL dynumb = l_dynnr translate_to_upper = 'X' TABLES dynpfields = l_t_dynpread EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.
HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'VARGROUP' tabname = 'TKEV4' IMPORTING select_value = c_vargroup TABLES fields = l_t_fields valuetab = l_t_value_tab EXCEPTIONS field_not_in_ddic = 0 more_then_one_selectfield = 0 no_selectfield = 0 OTHERS = 0.
RKD_RKB1X_SET CALL FUNCTION 'RKD_RKB1X_SET' EXPORTING APPLCLASS = c_rkb1d-applclass I_RKB1X = c_rkb1x i_get_table = '0' "kein POPUP i_set_kokrs = space "kein Popup IMPORTING E_RKB1X = c_rkb1x.
RKD_REPORT_IMPORT_C CALL FUNCTION 'RKD_REPORT_IMPORT_C' EXPORTING I_RKB1X = c_rkb1x IMPORT_ENQUEUE_FLAG = space "keine Sperre! CHANGING C_RKB1D = c_rkb1d.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.