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

RKEBATCH SAP ABAP Report - Print/Actualize Profitability Report







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

KE3B - Print and actualize reports


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 RKEBATCH. "Basic submit
SUBMIT RKEBATCH AND RETURN. "Return to original report after report execution complete
SUBMIT RKEBATCH 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: BERNAME = Report name(s)
Selection Text: DRUCKEN = Print report(s)
Selection Text: ERKRS = Operating concern
Selection Text: LISTART = List type
Selection Text: NEUAUF = Rebuild summarization data
Selection Text: PA_TYPE = Type of Profitability Analysis
Selection Text: QUELLE = Data
Selection Text: SAVEDAT = Freeze report data
Selection Text: VARIANTE = Variable group
Title: Print/Actualize Profitability Report
Text Symbol: 001 = Selections
Text Symbol: 002 = Print
Text Symbol: 003 = Reports
Text Symbol: 004 = Options
Text Symbol: 006 = Current data


INCLUDES used within this REPORT RKEBATCH

INCLUDE RKDBCOMM.


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_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_RKB1U_SET CALL FUNCTION 'RKD_RKB1U_SET' EXPORTING I_APPLCLASS = RKB1D-APPLCLASS I_RKB1X = REPORT-RKB1X IMPORTING E_RKB1U = RKB1U EXCEPTIONS OTHERS = 1.

RKD_UNICODE_REQUIRED * CALL FUNCTION 'RKD_UNICODE_REQUIRED'.

TRANSACTIONS_INITIALIZE CALL FUNCTION 'TRANSACTIONS_INITIALIZE' EXPORTING APPLCLASS = RKB1D-APPLCLASS IMPORTING E_APPLCLASS = RKB1D-APPLCLASS TRANSACTIONS = TC.

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.

PRINT_REPORT CALL FUNCTION 'PRINT_REPORT' " h77249 gs 31h EXPORTING " h77249 gs 31h NO_DIALOG = ' ' " h77249 gs 31h REPORT = G_REPID "SY-REPID TODO IMPORTING STATUS = status EXCEPTIONS " h77249 gs 31h ARCHIVE_INFO_NOT_FOUND = 1 " h77249 gs 31h OTHERS = 2. " h77249 gs 31h



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