SAP Reports / Programs

RKPLNBI1 SAP ABAP Report - CO Planning: Sample Report for Batch Input Programming







RKPLNBI1 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 RKPLNBI1 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 RKPLNBI1. "Basic submit
SUBMIT RKPLNBI1 AND RETURN. "Return to original report after report execution complete
SUBMIT RKPLNBI1 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: P_GJAHR = Fiscal year
Selection Text: P_GROUP = Session name
Selection Text: P_KOKRS = Controlling area
Selection Text: P_KOSTL = Cost center
Selection Text: P_PLPROF = Planner profile
Selection Text: P_USER = Batch input user
Selection Text: P_VERSN = Version
Title: CO Planning: Sample Report for Batch Input Programming
Text Symbol: 001 = The batch input session
Text Symbol: 002 = was created.


INCLUDES used within this REPORT RKPLNBI1

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:

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING GJAHR = P_GJAHR KOKRS = P_KOKRS.

K_VERSN_READ CALL FUNCTION 'K_VERSN_READ' EXPORTING I_GJAHR = P_GJAHR I_KOKRS = P_KOKRS I_VERSN = P_VERSN.

UPLOAD * CALL FUNCTION 'UPLOAD' * TABLES * DATA_TAB = T_RECORD.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING " CLIENT = SY-MANDT " DEST = FILLER8 GROUP = P_GROUP " HOLDDATE = FILLER8 " KEEP = FILLER1 USER = P_USER.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = 'OKKS' TABLES DYNPROTAB = T_BDCDATA.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = 'KP04' TABLES DYNPROTAB = T_BDCDATA.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = TCODE TABLES DYNPROTAB = T_BDCDATA.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.



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