MKB01I02 is a standard ABAP INCLUDE 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 MKB01I02 into the relevant SAP transactions such as SE38 or SE80
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: CO: Planning Report, Modules of SAPMKB01 and SAPMKB02
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING display = ' ' i_kokrs = ' ' popup = '1' IMPORTING e_kokrs = tka02-kokrs e_action = sk_action EXCEPTIONS not_found = 01.
K_VERSN_READ CALL FUNCTION 'K_VERSN_READ' EXPORTING " I_GJAHR = '0000' i_kokrs = tka02-kokrs i_versn = cosp-versn " BYPASSING_BUFFER = i_actvt = '03' IMPORTING * E_TKA09 = * E_TKA07 = e_tkt09 = tkt09.
K_GROUP_SELECT CALL FUNCTION 'K_GROUP_SELECT' EXPORTING field_name = field_kostl kokrs = ksa00-kokrs IMPORTING setid = setid set_name = ksa00-ksgru set_title = ksa00-ksgru_txt EXCEPTIONS no_set_picked = 4.
K_GROUP_SELECT CALL FUNCTION 'K_GROUP_SELECT' EXPORTING field_name = field_prznr kokrs = ksa00-kokrs IMPORTING setid = setid set_name = rkpln-prgru set_title = ksa00-ksgru_txt EXCEPTIONS no_set_picked = 4.
K_GROUP_SELECT CALL FUNCTION 'K_GROUP_SELECT' EXPORTING field_name = field_kstrg kokrs = ksa00-kokrs IMPORTING setid = setid set_name = rkpln-ktgru set_title = ksa00-ksgru_txt EXCEPTIONS no_set_picked = 4.
K_GROUP_SELECT CALL FUNCTION 'K_GROUP_SELECT' EXPORTING field_name = field_aufnr kokrs = ksa00-kokrs IMPORTING setid = setid set_name = rkpln-aufgr set_title = ksa00-ksgru_txt EXCEPTIONS no_set_picked = 4.
K_PERIODS_GET_FOR_KOKRS CALL FUNCTION 'K_PERIODS_GET_FOR_KOKRS' EXPORTING gjahr = cosp-gjahr kokrs = tka02-kokrs IMPORTING anzbp = ld_anzbp EXCEPTIONS OTHERS = 1.
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.
RK_POPUP_LIST_VERSIONS CALL FUNCTION 'RK_POPUP_LIST_VERSIONS' EXPORTING flg_no_special = flag_on flg_bypass_buff = flag_on key = s_rkaky old_version = old_version IMPORTING flg_special = flg_special new_version = new_version new_version_text = new_version_text TABLES feldtab = i_field_tab EXCEPTIONS not_found_in_table = 01.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MKB01I02 - CO: Planning Report, Modules of SAPMKB01 and SAPMKB02 MKB01I01 - CO: Planning Report, PBO Modules of SAPMKB01 and SAPMKB02 MKB01I00 - PAI Module for SAPMKB01 MKAZBF77 - documentation and ABAP source code MKAVGTOP - documentation and ABAP source code MKAVGO01 - documentation and ABAP source code