SAP Reports / Programs | Controlling | Overhead Cost Controlling(CO-OM) SAP CO

SAPMKB01 SAP ABAP dialog Program - Planning Report: Initial Screen







SAPMKB01 is a standard Module pool for a dialog screen ABAP Program 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 SAPMKB01 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

KSBL - Cost centers: Planning overview
KABL - Order: Planning Overview
CPBL - Bus. Processes: Planning Overview
KKBU - Cost Object: Planning Overview


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 SAPMKB01. "Basic submit
SUBMIT SAPMKB01 AND RETURN. "Return to original report after report execution complete
SUBMIT SAPMKB01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Planning Report: Initial Screen
Text Symbol: 001 = Planning report
Text Symbol: 002 = Process qty
Text Symbol: 003 = Activity types


INCLUDES used within this REPORT SAPMKB01

INCLUDE MKB01I0D . " DATA DEFINITIONS OF SAPMKB01 AND SAPMKB02
INCLUDE MKB01I01 . "PBO-MODULS SAPMKB01 AND SAPMKB02


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:

G_REPORT_INTERFACE_INIT CALL FUNCTION 'G_REPORT_INTERFACE_INIT' IMPORTING SUBRC = RC_SUBRC TABLES IT_FIELDR = IT_FIELDR.

G_REPORT_FIND_DIMENSION CALL FUNCTION 'G_REPORT_FIND_DIMENSION' EXPORTING DIM_FIELD = 'KOKRS ' IMPORTING SUBRC = SUBRC DIM_DATA = DIM_DATA.

G_REPORT_FIND_DIMENSION CALL FUNCTION 'G_REPORT_FIND_DIMENSION' EXPORTING DIM_FIELD = 'GJAHR ' IMPORTING SUBRC = SUBRC DIM_DATA = DIM_DATA.

G_REPORT_FIND_DIMENSION CALL FUNCTION 'G_REPORT_FIND_DIMENSION' EXPORTING DIM_FIELD = 'VERSN ' IMPORTING SUBRC = SUBRC DIM_DATA = DIM_DATA.

G_REPORT_FIND_DIMENSION CALL FUNCTION 'G_REPORT_FIND_DIMENSION' EXPORTING DIM_FIELD = 'PERBL ' IMPORTING SUBRC = SUBRC DIM_DATA = DIM_DATA.

G_REPORT_FIND_DIMENSION CALL FUNCTION 'G_REPORT_FIND_DIMENSION' EXPORTING DIM_FIELD = 'KOSTL ' IMPORTING SUBRC = SUBRC DIM_DATA = DIM_DATA.

G_REPORT_FIND_DIMENSION CALL FUNCTION 'G_REPORT_FIND_DIMENSION' EXPORTING DIM_FIELD = 'LSTAR ' IMPORTING SUBRC = SUBRC DIM_DATA = DIM_DATA.

G_REPORT_FIND_DIMENSION CALL FUNCTION 'G_REPORT_FIND_DIMENSION' EXPORTING DIM_FIELD = 'PRZNR ' IMPORTING SUBRC = SUBRC DIM_DATA = DIM_DATA.

G_REPORT_FIND_DIMENSION CALL FUNCTION 'G_REPORT_FIND_DIMENSION' EXPORTING DIM_FIELD = 'KSTRG ' IMPORTING SUBRC = SUBRC DIM_DATA = DIM_DATA.

G_REPORT_FIND_DIMENSION CALL FUNCTION 'G_REPORT_FIND_DIMENSION' EXPORTING DIM_FIELD = 'AUFNR ' IMPORTING SUBRC = SUBRC DIM_DATA = DIM_DATA.

READ_ACTIVITY CALL FUNCTION 'READ_ACTIVITY' EXPORTING DATAB = GD_DATE_FROM DATBI = GD_DATE_TO KOKRS = TKA02-KOKRS LSTAR = RKPLN-LSTAR TABLES SEL_INT = COTTI EXCEPTIONS CSLA_NOT_FOUND = 1 CSLA_NOT_COMPLETE = 2.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING LINE_COUNT = 65 LINE_SIZE = 132 NO_DIALOG = ' ' IMPORTING OUT_PARAMETERS = PRINT_PARAMETERS VALID = PP_VALID.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING JOBNAME = TBTCO-JOBNAME JOBGROUP = TBTCO-JOBGROUP DELANFREP = SPACE IMPORTING JOBCOUNT = TBTCO-JOBCOUNT.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING JOBNAME = TBTCO-JOBNAME JOBCOUNT = TBTCO-JOBCOUNT.

K_USER_VALUES_SAVE CALL FUNCTION 'K_USER_VALUES_SAVE' EXPORTING KUVS_WITH_DIALOG = 'X' TABLES KUVS_ADDIT_PARAM = GD_ADDIT_PARAM.



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