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
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
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.
Title: Planning Report: Initial Screen
Text Symbol: 001 = Planning report
Text Symbol: 002 = Process qty
Text Symbol: 003 = Activity types
INCLUDE MKB01I0D . " DATA DEFINITIONS OF SAPMKB01 AND SAPMKB02
INCLUDE MKB01I01 . "PBO-MODULS SAPMKB01 AND SAPMKB02
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SAPMKB01 - Planning Report: Initial Screen SAPMKB01 - Planning Report: Initial Screen SAPMKAVG - Business Transaction Groups for Overhead Cost Orders SAPMKAVG - Business Transaction Groups for Overhead Cost Orders SAPMKAUF - Master data maintenance for internal orders and CO production orders SAPMKAUF - Master data maintenance for internal orders and CO production orders