MKKACI01 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 MKKACI01 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: Include MKKACI01
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 = AUFK-KOKRS POPUP = '1' " Popup immer anzeigen! IMPORTING E_KOKRS = AUFK-KOKRS.
K_ORDER_CHECK CALL FUNCTION 'K_ORDER_CHECK' EXPORTING AUFNR = AUFK-AUFNR NO_BUFFER = ' ' "Puffer nach Auftrag zurücks.
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING DISPLAY = ' ' I_KOKRS = LD_KOKRS POPUP = '1' IMPORTING E_KOKRS = AUFK-KOKRS E_ACTION = DUMMY_ACTION.
STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING * BYPASS_BUFFER = ' ' * CLIENT = SY-MANDT OBJNR = LD_OBJNR STATUS = 'I0076' " = LÖVM EXCEPTIONS OBJECT_NOT_FOUND = 1 STATUS_NOT_ACTIVE = 2 OTHERS = 3.
STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING * BYPASS_BUFFER = ' ' * CLIENT = SY-MANDT OBJNR = LD_OBJNR STATUS = 'I0076' " = LÖVM EXCEPTIONS OBJECT_NOT_FOUND = 1 STATUS_NOT_ACTIVE = 2 OTHERS = 3.
RM_KOKRS_TO_PLANT_FIND CALL FUNCTION 'RM_KOKRS_TO_PLANT_FIND' EXPORTING WERKS = AUFK-WERKS IMPORTING * compcode = E_KOKRS = LD_KOKRS * tka01_exp = EXCEPTIONS BUKRS_NOT_FOUND = 01 "P30K047201 Kommentar weg KOKRS_NOT_FOUND = 02 "P30K047201 OTHERS = 99. "P30K047201 Kommentar weg
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING DISPLAY = ' ' I_KOKRS = LD_KOKRS POPUP = '1' IMPORTING E_KOKRS = AUFK-KOKRS E_ACTION = DUMMY_ACTION.
KK_F_PKOSA_FIND CALL FUNCTION 'KK_F_PKOSA_FIND' EXPORTING I_MATNR = KKA0100-MATNR I_WERKS = KKA0100-PWERK I_PROCNR = KKA0100-PROCNR * I_POPUP = ' ' ??? IMPORTING E_PROCNR = KKA0100-PROCNR TABLES E_VKKS0 = TAB_VKKS0.
KK_F_PKOSA_FIND_TO_MATERIAL_SA * call function 'KK_F_PKOSA_FIND_TO_MATERIAL_SA' * exporting * matnr_imp = kka0100-matnr * werks_imp = kka0100-pwerk * verid_imp = kka0100-verid * safnr_imp = kka0100-safnr * importing * not_single_collector = multiple_sauf * tables * vkks0_exp = tab_vkks0 * exceptions * none_found = 1 * wrong_input = 2 * none_picked = 3 * others = 4.
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING DISPLAY = ' ' I_KOKRS = LD_KOKRS POPUP = '1' IMPORTING E_KOKRS = AUFK-KOKRS E_ACTION = DUMMY_ACTION.
K_PERIODS_GET CALL FUNCTION 'K_PERIODS_GET' EXPORTING PAR_IGJAHR = KKA0100-BIS_ABGR_J PAR_IPOPER = KKA0100-BIS_ABGR_M PAR_KOKRS = AUFK-KOKRS PAR_SPEOK = 'X'. "Sonderperioden zulässig
K_KSTRG_CHECK CALL FUNCTION 'K_KSTRG_CHECK' EXPORTING KSTRG = KKA0100-KSTRG IMPORTING E_KOKRS = LD_KOKRS E_OBJNR = LD_OBJNR E_TOPKZ = GD_TOPKZ E_TOP_KSTRG = GD_TOPKTR EXCEPTIONS * kstrg_not_activ = 1 "durch FB ausgeben * activity_not_allowed = 2 "durch FB ausgeben * katyp_not_allowed = 3 "durch FB ausgeben * not_found = 4 "durch FB ausgeben POSTING_NOT_ALLOWED = 5 "irrelevant * wrong_bukrs = 6 "durch FB ausgeben * wrong_gsber = 7 "durch FB ausgeben WRONG_KOKRS = 8. "irrelevant
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING DISPLAY = ' ' I_KOKRS = LD_KOKRS POPUP = '1' IMPORTING E_KOKRS = AUFK-KOKRS E_ACTION = DUMMY_ACTION.
K_CKPH_GET_ROOT_PATH CALL FUNCTION 'K_CKPH_GET_ROOT_PATH' EXPORTING KSTRG = KKA0100-KSTRG TABLES CKPH_PATH = GT_CKPH EXCEPTIONS OTHERS = 1.
K_GET_HIERARCHY CALL FUNCTION 'K_GET_HIERARCHY' EXPORTING OBJECT_NR = LD_OBJNR * datbi = t_top_ckph-datbi HIART = CON_HIART OBART = CON_OBART LOEKZ = 'X' TABLES KKHIE_I = GT_KKHIE EXCEPTIONS NOT_FOUND = 01 ERROR_MESSAGE = 02.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.