SAP Reports / Programs

LFMFG_PAYFUNDF10 SAP ABAP INCLUDE - Include LFMFG_PAYFUNDF10







LFMFG_PAYFUNDF10 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 LFMFG_PAYFUNDF10 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 LFMFG_PAYFUNDF10. "Basic submit
SUBMIT LFMFG_PAYFUNDF10 AND RETURN. "Return to original report after report execution complete
SUBMIT LFMFG_PAYFUNDF10 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 LFMFG_PAYFUNDF10


INCLUDES used within this REPORT LFMFG_PAYFUNDF10

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:

FI_POSTING_KEY_DATA CALL FUNCTION 'FI_POSTING_KEY_DATA' EXPORTING i_bschl = u_bschl IMPORTING e_koart = l_koart e_shkzg = l_shkzg.

RE_FI_POSTING_KEY_DATA * CALL FUNCTION 'RE_FI_POSTING_KEY_DATA' * EXPORTING * i_bschl = u_bschl * IMPORTING * e_shkzg = l_shkzg * e_koart = l_koart * EXCEPTIONS * OTHERS = 0.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = i_bukrs IMPORTING e_t001 = e_t001.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_budat = i_budat i_bukrs = i_bukrs i_gjahr = c_gjahr i_monat = c_monat IMPORTING e_gjahr = c_gjahr e_monat = c_monat EXCEPTIONS fiscal_year = 1 period = 2 period_version = 3 posting_period = 4 special_period = 5 version = 6 posting_date = 7 OTHERS = 8.

FI_PERIOD_CHECK CALL FUNCTION 'FI_PERIOD_CHECK' EXPORTING i_bukrs = i_bukrs i_gjahr = c_gjahr i_koart = l_koart i_konto = l_konto i_monat = l_monat.

FI_PERIOD_CHECK CALL FUNCTION 'FI_PERIOD_CHECK' EXPORTING i_bukrs = i_bukrs i_gjahr = c_gjahr i_koart = 'S' i_konto = l_konto i_monat = l_monat.

FMFK_GET_FIKRS_FROM_BUKRS CALL FUNCTION 'FMFK_GET_FIKRS_FROM_BUKRS' EXPORTING i_bukrs = i_bukrs IMPORTING e_fikrs = c_fikrs EXCEPTIONS no_fikrs_for_bukrs = 1 OTHERS = 2.

FMFG_PAYFUND_SET_GET_BKPF CALL FUNCTION 'FMFG_PAYFUND_SET_GET_BKPF' EXPORTING i_set = 'X' it_bkpf = ct_bkpf EXCEPTIONS OTHERS = 0.

ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING bukrs = i_bukrs belnr = -belnr gjahr = -gjahr.

FMFG_PAYFUND_SET_GET_BSEG CALL FUNCTION 'FMFG_PAYFUND_SET_GET_BSEG' EXPORTING i_set = 'X' it_bseg = ct_bseg EXCEPTIONS OTHERS = 0.

FM_WITH_TYPE * CALL FUNCTION 'FM_WITH_TYPE' * EXPORTING * l_with = l_with_itemx * IMPORTING * with_type = l_type.

FM_WITH_POST_TIME * CALL FUNCTION 'FM_WITH_POST_TIME' * EXPORTING * bukrs = i_bukrs * blart = i_blart * time = 'P' * IMPORTING * post = l_post.

FM_FIPEX_GET_FROM_FIPOS CALL FUNCTION 'FM_FIPEX_GET_FROM_FIPOS' EXPORTING i_fipos = IMPORTING e_fipex = lv_fipex.

G_GLU1_SELECTION_LOCAL_DOC CALL FUNCTION 'G_GLU1_SELECTION_LOCAL_DOC' EXPORTING i_ledger = iv_ledger i_noplan = 'X' i_bukrs = -bukrs i_year = -ryear i_nr_from = -docnr i_nr_to = -docnr i_docct = 'S' IMPORTING e_t_selection_doc = lt_selection_doc[] e_t_selection_refdoc = lt_selection_refdoc[] EXCEPTIONS error_ledger = 1 error_bukrs = 2 error_docnr_from = 3 error_docnr_to = 4 error_year = 5 OTHERS = 6.

G_GLU1_ITEMS_SELECT CALL FUNCTION 'G_GLU1_ITEMS_SELECT' EXPORTING i_ledger = iv_ledger i_selection = lt_selection_doc[] CHANGING c_t_items = lt_slsplit_tmp[] EXCEPTIONS not_found = 1 OTHERS = 2.

FMFG_PAYFUND_SET_GET_BKPF CALL FUNCTION 'FMFG_PAYFUND_SET_GET_BKPF' EXPORTING i_get = 'X' i_belnr = is_bseg-belnr i_gjahr = is_bseg-gjahr i_bukrs = is_bseg-bukrs IMPORTING e_bkpf = ls_bkpf EXCEPTIONS incorrect_call = 1 OTHERS = 2. "#EC FB_RC

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ls_bkpf-budat foreign_amount = ls_fagl_splinfo-pswbt foreign_currency = ls_fagl_splinfo-pswsl local_currency = ls_bkpf-waers IMPORTING local_amount = lv_wrbtr EXCEPTIONS OTHERS = 0.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ls_bkpf-budat foreign_amount = ls_fagl_splinfo-pswbt foreign_currency = ls_fagl_splinfo-pswsl local_currency = ls_bkpf-hwaer IMPORTING local_amount = lv_dmbtr EXCEPTIONS OTHERS = 0.

FM_FIPEX_GET_FROM_FIPOS





CALL FUNCTION 'FM_FIPEX_GET_FROM_FIPOS' EXPORTING i_fipos = ls_fagl_splinfo-fipos IMPORTING e_fipex = cs_target-fipex.

FM_FIPOS_GET_FROM_FIPEX CALL FUNCTION 'FM_FIPOS_GET_FROM_FIPEX' EXPORTING i_fipex = ls_glu1-rfipex IMPORTING e_fipos = cs_target-fipos.

FMBL_CHECK_ACTIVE CALL FUNCTION 'FMBL_CHECK_ACTIVE' EXPORTING i_comp_code = iv_bukrs IMPORTING e_bl_active = lv_bl_active_flg.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = u_seloptions-budat foreign_amount = -wrbtr foreign_currency = l_bkpf-waers local_currency = u_seloptions-waers IMPORTING local_amount = -wrbtr.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = l_bkpf-budat foreign_amount = -wrbtr_spl foreign_currency = -waers local_currency = u_seloptions-waers IMPORTING local_amount = -wrbtr_spl.

FMFG_PAYFUND_SET_GET_BSEG CALL FUNCTION 'FMFG_PAYFUND_SET_GET_BSEG' EXPORTING i_get = 'X' i_belnr = -belnr i_gjahr = -gjahr i_bukrs = -bukrs i_buzei = -buzei IMPORTING e_bseg = ls_bseg EXCEPTIONS OTHERS = 0.

FI_POSTING_KEY_DATA CALL FUNCTION 'FI_POSTING_KEY_DATA' EXPORTING i_bschl = u_bschl IMPORTING e_shkzg = lv_shkzg.



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