SAP Reports / Programs

RKPBATCH SAP ABAP Report - Maintain Batch Variants for Drilldown Report







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

FME8 - Maintain Batch Variants


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 RKPBATCH. "Basic submit
SUBMIT RKPBATCH AND RETURN. "Return to original report after report execution complete
SUBMIT RKPBATCH 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: REPID1 = Report
Selection Text: VARIANTE = Variant
Title: Maintain Batch Variants for Drilldown Report
Text Symbol: 001 = Report and variant
Text Symbol: 002 = Report
Text Symbol: 003 = Variant


INCLUDES used within this REPORT RKPBATCH

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 = SY-PFKEY TABLES P_EXCLUDE = PFAUS.

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.

RS_VARIANT_TEXT CALL FUNCTION 'RS_VARIANT_TEXT' EXPORTING CURR_REPORT = I_RKB1D-RNAME LANGU = SY-LANGU VARIANT = VTG_VARIANTE IMPORTING V_TEXT = VTG_V_TEXT EXCEPTIONS NO_TEXT = 01.

TRANSACTIONS_INITIALIZE CALL FUNCTION 'TRANSACTIONS_INITIALIZE' EXPORTING APPLCLASS = ' ' IMPORTING E_APPLCLASS = I_RKB1D-APPLCLASS E_SMODUS = I_RKB1D-SMODUS E_SUBCLASS = I_RKB1D-SUBCLASS * TRANSACTIONS = EXCEPTIONS * unknown_transaction = 01. "P30K079452

RKD_RKB1X_SET CALL FUNCTION 'RKD_RKB1X_SET' EXPORTING APPLCLASS = I_RKB1D-APPLCLASS I_RKB1X = I_RKB1X I_TABLE = ' ' I_GET_TABLE = '1' IMPORTING E_RKB1X = I_RKB1X * E_FCODE = E_TABLE = I_RKB1D-TABNAME EXCEPTIONS * field_is_initial = 01. "P30K079452

RKD_RKB1U_SET CALL FUNCTION 'RKD_RKB1U_SET' EXPORTING I_APPLCLASS = I_RKB1D-APPLCLASS I_RKB1X = I_RKB1X IMPORTING E_RKB1U = I_RKB1U.

RS_VARIANT_CATALOG CALL FUNCTION 'RS_VARIANT_CATALOG' EXPORTING REPORT = VC_RNAME NEW_TITLE = ' ' IMPORTING SEL_VARIANT = VC_VARIANTE EXCEPTIONS NO_REPORT = 01 REPORT_NOT_EXISTENT = 02 REPORT_NOT_SUPPLIED = 03 NO_VARIANTS = 04.

HELP_REPORT_VALUES_GET CALL FUNCTION 'HELP_REPORT_VALUES_GET' EXPORTING I_APPLCLASS = RVG_APPLCL I_DISPL_TABLE = ' ' I_REPID = RVG_REPID I_SMODUS = ' ' I_SUBCLASS = RVG_SUBCL I_TABNAME = RVG_TABNM I_SMODE = ' ' I_BERTXT = ' ' IMPORTING E_BERTXT = RVG_BERTXT E_REPID = RVG_REPID.

RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING REPORT = VE_RNAME VARIANT = VE_VARIANTE IMPORTING R_C = VE_SUBRC EXCEPTIONS NOT_AUTHORIZED = 01 NO_REPORT = 02 REPORT_NOT_EXISTENT = 03 REPORT_NOT_SUPPLIED = 04.



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