SAP Reports / Programs

RKDBATV3 SAP ABAP Report - Maintain Variant Groups







RKDBATV3 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 RKDBATV3 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

JB3P - Maintain variant groups
TL3P - Maintain Variant Group
CXRA - Maintain Variant Groups
KCRP - Maintain variant groups
KE3P - Maintain Variant Groups
TR3P - Maintain variant groups


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 RKDBATV3. "Basic submit
SUBMIT RKDBATV3 AND RETURN. "Return to original report after report execution complete
SUBMIT RKDBATV3 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: ASPECT = Aspect
Selection Text: ERKRS = Operating concern
Selection Text: IREPID = Report name
Selection Text: PA_TYPE = Type of Profitability Analysis
Selection Text: REPID = Report name
Selection Text: SUBCLASS = Report portfolio/Drilldown
Selection Text: TABNAME = Table
Selection Text: VARGROUP = Variant group
Selection Text: VARIANTE = Variable group
Title: Maintain Variant Groups
Text Symbol: 002 = Seq.No;;
Text Symbol: 003 = Report name ;;
Text Symbol: 004 = Variable group ;;
Text Symbol: 005 = Exit variable maintenance ;;
Text Symbol: 100 = Overview of variable groups
Text Symbol: T02 = Should the data be ;;
Text Symbol: T03 = saved? ;;


INCLUDES used within this REPORT RKDBATV3

INCLUDE MKCBGC20.
INCLUDE MKCBGOK1.


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:

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.

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.

VIEW_MAINTENANCE_CALL CALL FUNCTION 'VIEW_MAINTENANCE_CALL' EXPORTING ACTION = UPDATE SHOW_SELECTION_POPUP = SPACE " Popup nicht anzeigen VIEW_NAME = VIEWNAME TABLES DBA_SELLIST = DBA_TAB EXCL_CUA_FUNCT = FU_TO_EXCL.

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.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = L_REPID 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 = 1 MORE_THEN_ONE_SELECTFIELD = 2 NO_SELECTFIELD = 3 OTHERS = 4.

TRANSACTIONS_INITIALIZE CALL FUNCTION 'TRANSACTIONS_INITIALIZE' EXPORTING APPLCLASS = ' ' IMPORTING E_APPLCLASS = RKB1D-APPLCLASS E_SMODUS = RKB1D-SMODUS E_SUBCLASS = RKB1D-SUBCLASS.

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.

RKD_RKB1U_SET CALL FUNCTION 'RKD_RKB1U_SET' EXPORTING I_APPLCLASS = RKB1D-APPLCLASS I_RKB1X = RKB1X IMPORTING E_RKB1U = RKB1U.



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