FKMABAP1 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 FKMABAP1 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = p_kokrs IMPORTING e_tka01 = gs_tka01 EXCEPTIONS not_found = 1.
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' "907933 EXPORTING "907933 i_kokrs = p_kokrs "907933 popup = '0' "907933 EXCEPTIONS "907933 not_found = 1 "907933 OTHERS = 2. "907933
K_LOGSYSTEM_CHECK CALL FUNCTION 'K_LOGSYSTEM_CHECK' EXPORTING i_kokrs = p_kokrs i_master_data = 'X' EXCEPTIONS logsystem_different = 1.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = ld_tabname all_types = 'X' TABLES dfies_tab = lt_dfies_tab EXCEPTIONS not_found = 1.
K_PROCESS_EXISTENCE_CHECK CALL FUNCTION 'K_PROCESS_EXISTENCE_CHECK' EXPORTING kokrs = p_kokrs prznr =
bypassing_buffer = true " Note 675641 datab = " Note 675641 datbi = " Note 675641 EXCEPTIONS not_at_all = 1.
K_PROCESS_EXISTENCE_CHECK CALL FUNCTION 'K_PROCESS_EXISTENCE_CHECK' " Note 675641 EXPORTING " Note 675641 kokrs = p_kokrs " Note 675641 prznr =
" Note 675641 bypassing_buffer = true " Note 675641 datab = gd_mindatum " Note 675641 datbi = gd_maxdatum " Note 675641 EXCEPTIONS " Note 675641 not_at_all = 1. " Note 675641
K_COSTCENTER_EXISTENCE_CHECK CALL FUNCTION 'K_COSTCENTER_EXISTENCE_CHECK' EXPORTING kokrs = p_kokrs kostl =
bypassing_buffer = true " Note 675641 datab = " Note 675641 datbi = " Note 675641 EXCEPTIONS not_at_all = 1.
K_COSTCENTER_EXISTENCE_CHECK CALL FUNCTION 'K_COSTCENTER_EXISTENCE_CHECK' " Note 675641 EXPORTING " Note 675641 kokrs = p_kokrs " Note 675641 kostl =
" Note 675641 bypassing_buffer = true " Note 675641 datab = gd_mindatum " Note 675641 datbi = gd_maxdatum " Note 675641 EXCEPTIONS " Note 675641 not_at_all = 1. " Note 675641
K_COSTELEM_B_SEG_EXIST_CHECK CALL FUNCTION 'K_COSTELEM_B_SEG_EXIST_CHECK' EXPORTING kokrs = p_kokrs kstar =
bypassing_buffer = true " Note 675641 datab = " Note 675641 datbi = " Note 675641 EXCEPTIONS not_at_all = 1.
K_COSTELEM_B_SEG_EXIST_CHECK CALL FUNCTION 'K_COSTELEM_B_SEG_EXIST_CHECK' " Note 675641 EXPORTING " Note 675641 kokrs = p_kokrs " Note 675641 kstar =
" Note 675641 bypassing_buffer = true " Note 675641 datab = gd_mindatum " Note 675641 datbi = gd_maxdatum " Note 675641 EXCEPTIONS " Note 675641 not_at_all = 1. " Note 675641
K_ACTTYPE_EXISTENCE_CHECK CALL FUNCTION 'K_ACTTYPE_EXISTENCE_CHECK' EXPORTING kokrs = p_kokrs lstar =
bypassing_buffer = true datab = datbi = EXCEPTIONS not_at_all = 1.
K_ACTTYPE_EXISTENCE_CHECK CALL FUNCTION 'K_ACTTYPE_EXISTENCE_CHECK' EXPORTING kokrs = p_kokrs lstar =
bypassing_buffer = true datab = gd_mindatum datbi = gd_maxdatum EXCEPTIONS not_at_all = 1.
K_KEYFIGURE_EXISTENCE_CHECK CALL FUNCTION 'K_KEYFIGURE_EXISTENCE_CHECK' EXPORTING kokrs = p_kokrs stagr =
bypassing_buffer = true " Note 675641 EXCEPTIONS not_at_all = 1.
DATE_CHECK_PLAUSIBILITY CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY' EXPORTING date = p_datab EXCEPTIONS OTHERS = 1.
DATE_CHECK_PLAUSIBILITY CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY' EXPORTING date = p_datbi EXCEPTIONS OTHERS = 1.
TEST_PERIODENGRENZE CALL FUNCTION 'TEST_PERIODENGRENZE' EXPORTING datab =
datbi = periv = gs_tka01-lmona IMPORTING pgrenze = ld_pgrenze fdatum = ld_datab ldatum = ld_datbi EXCEPTIONS t009_notfound = 1 t009b_notfound = 2.
TEST_PERIODENGRENZE CALL FUNCTION 'TEST_PERIODENGRENZE' EXPORTING datab =
datbi = periv = gs_tka01-lmona IMPORTING pgrenze = ld_pgrenze fdatum = ld_datab ldatum = ld_datbi EXCEPTIONS t009_notfound = 1 t009b_notfound = 2.
TEST_GJAHRESGRENZE CALL FUNCTION 'TEST_GJAHRESGRENZE' EXPORTING datab = p_datab datbi = p_datbi periv = p_gs_tka01_lmona IMPORTING jgrenze = ld_pgrenze fdatum = ld_datab ldatum = ld_datbi EXCEPTIONS t009_notfound = 01 t009b_notfound = 02.
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = p_datab i_periv = gs_tka01-lmona IMPORTING e_buper = ld_buper e_gjahr = ld_gjahr EXCEPTIONS t009_notfound = 01 t009b_notfound = 02.
FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = ld_gjahr i_periv = gs_tka01-lmona i_poper = ld_buper IMPORTING e_date = ld_datab EXCEPTIONS t009_notfound = 01 t009b_notfound = 02.
MAP2I_BAPI0015_10_TO_BAPI0015_ CALL FUNCTION 'MAP2I_BAPI0015_10_TO_BAPI0015_' EXPORTING bapi0015_10 = language CHANGING int_langu = language EXCEPTIONS error_converting_iso_code = 1 OTHERS = 2.
LANGUAGE_CODE_SAP_TO_ISO CALL FUNCTION 'LANGUAGE_CODE_SAP_TO_ISO' EXPORTING sap_code = language-langu IMPORTING iso_code = language-langu_iso EXCEPTIONS not_found = 1 OTHERS = 2.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = ld_tabname all_types = 'X' TABLES dfies_tab = lt_dfies_tab EXCEPTIONS not_found = 1.
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 FKMABAP1 or its description.