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

MFMDCF01 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT MFMDCF01

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:

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_applc = applc_ca ip_fikrs = t_fmactuals-fm_area IMPORTING f_fm01 = l_f_fm01 EXCEPTIONS input_error = 1 not_found = 2 OTHERS = 3.

FM_FSPROFILE_GET CALL FUNCTION 'FM_FSPROFILE_GET' EXPORTING i_fikrs = t_fmactuals-fm_area i_wrttp = wrttpmvb TABLES t_fmup01 = l_t_fmup01 EXCEPTIONS no_entry_found = 1 OTHERS = 2.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = c_t_return-type cl = c_t_return-id number = c_t_return-number par1 = c_t_return-message_v1 par2 = c_t_return-message_v2 par3 = c_t_return-message_v3 par4 = c_t_return-message_v4 log_no = c_t_return-log_no log_msg_no = c_t_return-log_msg_no parameter = c_t_return-parameter row = ld_row field = c_t_return-field IMPORTING return = c_t_return EXCEPTIONS OTHERS = 0.

CJPN_EXTERN_TO_INTERN_CONV CALL FUNCTION 'CJPN_EXTERN_TO_INTERN_CONV' EXPORTING ext_num = i_cobl-ps_posid IMPORTING int_num = l_f_cobl_i_old-ps_psp_pnr.

FM_INPUT_CHECK_COBL CALL FUNCTION 'FM_INPUT_CHECK_COBL' EXPORTING i_cobl = l_f_cobl_i_old IMPORTING e_cobl = l_f_cobl_e_old.

CJPN_INTERN_TO_EXTERN_CONV CALL FUNCTION 'CJPN_INTERN_TO_EXTERN_CONV' EXPORTING edit_imp = ' ' int_num = l_f_cobl_e_old-ps_psp_pnr IMPORTING ext_num = e_cobl-ps_posid EXCEPTIONS OTHERS = 0.

PSPNUM_EXTERN_TO_INTERN_CONV CALL FUNCTION 'PSPNUM_EXTERN_TO_INTERN_CONV' EXPORTING ext_num = wbs_element IMPORTING int_num = l_f_cobl-ps_psp_pnr EXCEPTIONS not_found = 1 OTHERS = 2.

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

KOKRS_GET_FROM_BUKRS CALL FUNCTION 'KOKRS_GET_FROM_BUKRS' EXPORTING i_bukrs = l_f_cobl-bukrs IMPORTING e_kokrs = l_f_cobl-kokrs EXCEPTIONS no_kokrs_found = 1 OTHERS = 2.

FM_ACCOUNT_DERIVE CALL FUNCTION 'FM_ACCOUNT_DERIVE' EXPORTING i_check_date = date CHANGING c_cobl = l_f_cobl EXCEPTIONS derivation_failed = 1 OTHERS = 2.

FM_FIPEX_GET_FROM_FIPOS CALL FUNCTION 'FM_FIPEX_GET_FROM_FIPOS' EXPORTING i_fipos = l_f_cobl-fipos IMPORTING e_fipex = commitmentitem.

PSPNUM_EXTERN_TO_INTERN_CONV CALL FUNCTION 'PSPNUM_EXTERN_TO_INTERN_CONV' EXPORTING ext_num = wbs_element IMPORTING int_num = l_f_cobl-ps_psp_pnr EXCEPTIONS not_found = 1 OTHERS = 2.

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

KOKRS_GET_FROM_BUKRS CALL FUNCTION 'KOKRS_GET_FROM_BUKRS' EXPORTING i_bukrs = l_f_cobl-bukrs IMPORTING e_kokrs = l_f_cobl-kokrs EXCEPTIONS no_kokrs_found = 1 OTHERS = 2.

FM_ACCOUNT_DERIVE CALL FUNCTION 'FM_ACCOUNT_DERIVE' EXPORTING i_check_date = date CHANGING c_cobl = l_f_cobl EXCEPTIONS derivation_failed = 1 OTHERS = 2.

FM_FIPEX_GET_FROM_FIPOS CALL FUNCTION 'FM_FIPEX_GET_FROM_FIPOS' EXPORTING i_fipos = l_f_cobl-fipos IMPORTING e_fipex = commitmentitem.

FM_FIPOS_GET_FROM_FIPEX CALL FUNCTION 'FM_FIPOS_GET_FROM_FIPEX' EXPORTING i_fipex = p_cobl-fipex IMPORTING e_fipos = l_f_cobl-fipos.

PSPNUM_EXTERN_TO_INTERN_CONV CALL FUNCTION 'PSPNUM_EXTERN_TO_INTERN_CONV' EXPORTING ext_num = p_cobl-ps_posid IMPORTING int_num = l_f_cobl-ps_psp_pnr EXCEPTIONS not_found = 1 OTHERS = 2.

FMFK_GET_FIKRS_FROM_BUKRS





CALL FUNCTION 'FMFK_GET_FIKRS_FROM_BUKRS' EXPORTING i_bukrs = p_cobl-bukrs IMPORTING e_fikrs = l_f_cobl-fikrs EXCEPTIONS no_fikrs_for_bukrs = 1 OTHERS = 2.

KOKRS_GET_FROM_BUKRS CALL FUNCTION 'KOKRS_GET_FROM_BUKRS' EXPORTING i_bukrs = p_cobl-bukrs IMPORTING e_kokrs = l_f_cobl-kokrs EXCEPTIONS no_kokrs_found = 1 OTHERS = 2.

FM_ACCOUNT_DERIVE CALL FUNCTION 'FM_ACCOUNT_DERIVE' EXPORTING i_check_date = p_date i_eg_acct_assgmt_fix = p_eg_acct_assgmt_fix CHANGING c_cobl = l_f_cobl EXCEPTIONS derivation_failed = 1 OTHERS = 2.

FM_FIPEX_GET_FROM_FIPOS CALL FUNCTION 'FM_FIPEX_GET_FROM_FIPOS' EXPORTING i_fipos = l_f_cobl-fipos IMPORTING e_fipex = c_commit_item_ext.

FM_FIPOS_GET_FROM_FIPEX CALL FUNCTION 'FM_FIPOS_GET_FROM_FIPEX' EXPORTING i_fipex = p_cobl-fipex IMPORTING e_fipos = l_f_cobl-fipos.

PSPNUM_EXTERN_TO_INTERN_CONV CALL FUNCTION 'PSPNUM_EXTERN_TO_INTERN_CONV' EXPORTING ext_num = p_cobl-ps_posid IMPORTING int_num = l_f_cobl-ps_psp_pnr EXCEPTIONS not_found = 1 OTHERS = 2.

FMFK_GET_FIKRS_FROM_BUKRS CALL FUNCTION 'FMFK_GET_FIKRS_FROM_BUKRS' EXPORTING i_bukrs = p_cobl-bukrs IMPORTING e_fikrs = l_f_cobl-fikrs EXCEPTIONS no_fikrs_for_bukrs = 1 OTHERS = 2.

KOKRS_GET_FROM_BUKRS CALL FUNCTION 'KOKRS_GET_FROM_BUKRS' EXPORTING i_bukrs = p_cobl-bukrs IMPORTING e_kokrs = l_f_cobl-kokrs EXCEPTIONS no_kokrs_found = 1 OTHERS = 2.

FM_ACCOUNT_DERIVE CALL FUNCTION 'FM_ACCOUNT_DERIVE' EXPORTING i_check_date = p_date i_eg_acct_assgmt_fix = p_eg_acct_assgmt_fix CHANGING c_cobl = l_f_cobl EXCEPTIONS derivation_failed = 1 OTHERS = 2.

FM_FIPEX_GET_FROM_FIPOS CALL FUNCTION 'FM_FIPEX_GET_FROM_FIPOS' EXPORTING i_fipos = l_f_cobl-fipos IMPORTING e_fipex = c_commit_item_ext.



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