SAP Reports / Programs | Public Sector Management | Funds Management | Budgeting(PSM-FM-BCS-BU) SAP PSM

IFMKU_ABP_COR_F02 SAP ABAP INCLUDE - Include IFMKU_ABP_COR_F02







IFMKU_ABP_COR_F02 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 IFMKU_ABP_COR_F02 into the relevant SAP transactions such as SE38 or SE80


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


Text pool values


Title: Include IFMKU_ABP_COR_F02


INCLUDES used within this REPORT IFMKU_ABP_COR_F02

No INCLUDES are used within this REPORT code!


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:

FM00_CHECK_ISPS CALL FUNCTION 'FM00_CHECK_ISPS' IMPORTING e_ps_us_active = l_flg_ps_us_active.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = u_msgty msgv1 = u_msgv1 msgv2 = u_msgv2 msgv3 = u_msgv3 msgv4 = u_msgv4 arbgb = u_arbgb txtnr = l_txtnr * zeile = gd_sort_msg exception_if_not_active = space.

FM_FIPEX_READ_SINGLE_DATA CALL FUNCTION 'FM_FIPEX_READ_SINGLE_DATA' EXPORTING i_fikrs = u_fm_area i_gjahr = u_fiscal_year i_fipex = u_f_kblp-fipex IMPORTING e_f_vfmpg = l_f_vfmpg EXCEPTIONS master_data_not_found = 1 hierarchy_data_not_found = 2 input_error = 3 OTHERS = 4.

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_fikrs = u_fm_area IMPORTING f_fm01 = l_f_fm01 EXCEPTIONS input_error = 1 not_found = 2 OTHERS = 3.

FM_FUND_READ CALL FUNCTION 'FM_FUND_READ' EXPORTING i_fikrs = u_fm_area i_fincode = u_fund i_flg_fund_type = 'X' i_gjahr_fikrs = u_fiscal_year IMPORTING e_f_fmfundtype = l_f_fundtype EXCEPTIONS master_data_not_found = 1 fund_not_valid = 2 error_occurred = 3 date_not_found = 4 OTHERS = 5.

FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = u_fiscal_year i_periv = l_f_fm01-ca_periv i_poper = '1' IMPORTING e_date = l_status_date EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3 OTHERS = 4.

FM_FG_FUND_STATUS CALL FUNCTION 'FM_FG_FUND_STATUS' EXPORTING i_fm_area = u_fm_area i_fund = u_fund i_budget_period = u_budget_pd i_fund_date = l_status_date i_flg_exceptions = 'X' IMPORTING e_fund_status = c_fund_status EXCEPTIONS invalid_exp_date = 1 invalid_can_date = 2 fiscal_year_variant_empty = 3 fund_budget_pd_invalid = 4 OTHERS = 5.

FMR2_READ_KBLP CALL FUNCTION 'FMR2_READ_KBLP' EXPORTING i_belnr = u_belnr i_blpos = u_blpos IMPORTING e_kblk = c_f_kblk e_kblp = c_f_kblp EXCEPTIONS not_found = 1 OTHERS = 2.

FMFK_GET_FIKRS_FROM_BUKRS CALL FUNCTION 'FMFK_GET_FIKRS_FROM_BUKRS' EXPORTING i_bukrs = c_f_kblk-bukrs IMPORTING e_fikrs = c_fm_area EXCEPTIONS no_fikrs_for_bukrs = 1 OTHERS = 2.

FM_ABP_START CALL FUNCTION 'FM_ABP_START' EXPORTING i_bukrs = u_bukrs i_application = u_application i_fm_area = u_fm_area i_fm_fiscyear = l_fm_year i_ref_log = l_ref_log CHANGING c_t_rc = g_t_return.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXCEPTIONS log_not_active = 1 wrong_identification = 2 OTHERS = 3.

FM_ABP_REFRESH CALL FUNCTION 'FM_ABP_REFRESH' EXPORTING i_wrttp = l_f_wrttp-value_type.

FM_ABP_REFRESH CALL FUNCTION 'FM_ABP_REFRESH' EXPORTING i_wrttp = l_f_wrttp-value_type.

FM_ABP_REFRESH CALL FUNCTION 'FM_ABP_REFRESH' EXPORTING i_wrttp = -fm_value_type.

FM_ABP_REFRESH CALL FUNCTION 'FM_ABP_REFRESH' EXPORTING i_wrttp = -fm_value_type.

FM_ABP_REFRESH CALL FUNCTION 'FM_ABP_REFRESH' EXPORTING i_wrttp = l_f_wrttp-value_type.

FM_ABP_START CALL FUNCTION 'FM_ABP_START' EXPORTING i_bukrs = u_bukrs i_application = u_application i_fm_area = u_fm_area i_fm_fiscyear = l_fm_year i_ref_log = l_ref_log CHANGING c_t_rc = g_t_return.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXCEPTIONS log_not_active = 1 wrong_identification = 2 OTHERS = 3.

FM_ABP_REFRESH





CALL FUNCTION 'FM_ABP_REFRESH' EXPORTING i_wrttp = l_f_wrttp-value_type.

FM_ABP_REFRESH CALL FUNCTION 'FM_ABP_REFRESH' EXPORTING i_wrttp = l_f_wrttp-value_type.

FM_ABP_REFRESH CALL FUNCTION 'FM_ABP_REFRESH' EXPORTING i_wrttp = -fm_value_type.

FM_ABP_REFRESH CALL FUNCTION 'FM_ABP_REFRESH' EXPORTING i_wrttp = -fm_value_type.

FM_ABP_REFRESH CALL FUNCTION 'FM_ABP_REFRESH' EXPORTING i_wrttp = l_f_wrttp-value_type.

FMED_GET_HEADER CALL FUNCTION 'FMED_GET_HEADER' EXPORTING i_f_docid = l_f_docid IMPORTING e_f_fmbh = l_f_fmbh EXCEPTIONS not_found = 1.

FMED_GET_LINES CALL FUNCTION 'FMED_GET_LINES' EXPORTING i_f_docid = l_f_docid IMPORTING e_t_fmbl = l_t_fmbl EXCEPTIONS not_found = 1.

BUKU_MOVE_PERIOD_VALUES CALL FUNCTION 'BUKU_MOVE_PERIOD_VALUES' EXPORTING i_f_source = l_f_itemline i_prefix_source = 'TVAL' i_prefix_target = 'TVAL' i_flg_reverse_sign = 'X' CHANGING c_f_target = l_f_itemline.

BUKU_MOVE_PERIOD_VALUES CALL FUNCTION 'BUKU_MOVE_PERIOD_VALUES' EXPORTING i_f_source = l_f_itemline i_prefix_source = 'LVAL' i_prefix_target = 'LVAL' i_flg_reverse_sign = 'X' CHANGING c_f_target = l_f_itemline.

FM_OPEN_ITEM_GET_POSTING_TIME CALL FUNCTION 'FM_OPEN_ITEM_GET_POSTING_TIME' EXPORTING i_comp_code = u_bukrs i_vrgng = u_vrgng i_f_fmikeyoi = l_f_fmikeyoi i_date_due = u_due_date "u_f_kblp-fdatk i_date_posting = u_posting_date "u_f_kblk-budat i_fm_trans_date = u_trans_date "u_f_kblp-transdate IMPORTING e_date_commitment = l_date_commitment e_date_payment = l_date_payment e_year_commitment = l_year_commitment e_year_payment = l_year_payment * E_PERIO_COMMITMENT = * E_PERIO_PAYMENT = * E_NEW_ITEM = * E_BUDGETARY_DOC_DATE = .

FM_ABP_REFRESH CALL FUNCTION 'FM_ABP_REFRESH' EXPORTING i_wrttp = l_f_wrttp-value_type.

FM_ABP_FILL CALL FUNCTION 'FM_ABP_FILL' EXPORTING i_value_type = l_f_wrttp-value_type i_docdate_oi = u_p_bldt TABLES t_fmioi = u_t_fmioi.

FM_ABP_PROCESS CALL FUNCTION 'FM_ABP_PROCESS' IMPORTING e_f_header = c_f_header e_t_lines = c_t_lines_budget EXCEPTIONS no_record_found = 1 no_runtime_instance = 2 OTHERS = 3.

FM_ABP_REFRESH CALL FUNCTION 'FM_ABP_REFRESH' EXPORTING i_wrttp = l_f_wrttp-value_type.

FM_ABP_FILL CALL FUNCTION 'FM_ABP_FILL' EXPORTING i_value_type = l_f_wrttp-value_type i_docdate_oi = u_p_bldt TABLES t_fmifiit = u_t_fmifiit t_fmifihd = l_t_fmifihd.

FM_ABP_PROCESS CALL FUNCTION 'FM_ABP_PROCESS' IMPORTING e_f_header = c_f_header e_t_lines = c_t_lines_budget EXCEPTIONS no_record_found = 1 no_runtime_instance = 2 OTHERS = 3.

FM_ABP_POST_COR CALL FUNCTION 'FM_ABP_POST_COR' EXPORTING i_awref = l_f_doc_bcs-awkey i_awtyp = u_f_doc_bcs-awtyp i_awsys = u_f_doc_bcs-awsys i_ref_doc_no = u_f_doc_bcs-xblnr i_s_header = l_f_header i_t_lines = l_t_lines_budget i_test_mode = u_test_mode IMPORTING e_bcs_docnr = l_bcs_docnr_new e_ref_ed_appl_log = c_ref_log.

FM_ABP_POST_COR CALL FUNCTION 'FM_ABP_POST_COR' EXPORTING i_awref = l_f_doc_bcs-awkey i_awtyp = u_f_doc_bcs-awtyp i_awsys = u_f_doc_bcs-awsys i_ref_doc_no = u_f_doc_bcs-xblnr i_s_header = l_f_header i_t_lines = l_t_lines_budget i_test_mode = u_test_mode IMPORTING e_bcs_docnr = l_bcs_docnr_new e_ref_ed_appl_log = c_ref_log.

FM_ABP_POST_COR CALL FUNCTION 'FM_ABP_POST_COR' EXPORTING i_awref = l_f_doc_bcs-awkey i_awtyp = u_f_doc_bcs-awtyp i_awsys = u_f_doc_bcs-awsys i_ref_doc_no = u_f_doc_bcs-xblnr i_s_header = l_f_header_rev i_t_lines = u_t_lines_reversed i_test_mode = u_test_mode IMPORTING e_bcs_docnr = l_bcs_docnr_rev e_ref_ed_appl_log = c_ref_log.

FMED_WRITE_HEADER CALL FUNCTION 'FMED_WRITE_HEADER' IN UPDATE TASK EXPORTING i_f_fmbh = l_f_fmbh i_write_mode = 'U'.




FM_ABP_POST_COR CALL FUNCTION 'FM_ABP_POST_COR' EXPORTING i_awref = l_f_doc_bcs-awkey i_awtyp = u_f_doc_bcs-awtyp i_awsys = u_f_doc_bcs-awsys i_ref_doc_no = u_f_doc_bcs-xblnr i_s_header = l_f_header_rev i_t_lines = u_t_lines_reversed i_test_mode = u_test_mode IMPORTING e_bcs_docnr = l_bcs_docnr_rev e_ref_ed_appl_log = c_ref_log.

FMED_WRITE_HEADER CALL FUNCTION 'FMED_WRITE_HEADER' IN UPDATE TASK EXPORTING i_f_fmbh = l_f_fmbh i_write_mode = 'U'.

FM_ABP_FILL CALL FUNCTION 'FM_ABP_FILL' EXPORTING i_value_type = l_f_wrttp-value_type i_docdate_oi = u_p_bldt TABLES t_fmioi = l_t_fmioi_wrttp.



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