SAP FM_ACTUALS_CHECK Function Module for Summensätze nachlesen
FM_ACTUALS_CHECK is a standard fm actuals check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Summensätze nachlesen processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for fm actuals check FM, simply by entering the name FM_ACTUALS_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMTO_CORE
Program Name: SAPLFMTO_CORE
Main Program: SAPLFMTO_CORE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FM_ACTUALS_CHECK pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'FM_ACTUALS_CHECK'"Summensätze nachlesen.
EXPORTING
* I_FIKRS = ' ' "Financial management area
* I_GRANT_NBR = ' ' "Mittelbewilligung
* I_POSIT = ' ' "Internal number of commitment item
* I_BUKRS = ' ' "Company code
* I_GJAHR_AB = '0000' "Start of fiscal year
* I_GJAHR_BIS = '0000' "End of fiscal year
* I_FLG_ONLY_CA = ' ' "Feld zum Ankreuzen
* I_FLG_ONLY_CB = ' ' "Only Cash Budget Management
* I_NEW_SELECT = "
* I_DATE_FROM = "Date
* I_DATE_TO = "Date
* I_FIPOS = ' ' "Commitment item
* I_RLDNR = "Ledger
* I_BUDGET_PERIOD = "FM: Budgetperiode
* I_FIPEX = ' ' "Finanzposition
* I_FISTL = ' ' "Funds center
* I_FISTL_OBJNR = ' ' "Funds center object number
* I_FLG_AND_COMBINING = ' ' "And link (funds center/cmmt item/fund)
* I_FONDS = ' ' "Fund
* I_FAREA = ' ' "Interne Finanzposition (8-stellig)
* I_MEASURE = ' ' "Programm im Haushaltsmanagement
IMPORTING
E_FLG_ACTUALS_FOUND = "Actual data was found
ET_MESG = "Application Log: Table with Messages
IMPORTING Parameters details for FM_ACTUALS_CHECK
I_FIKRS - Financial management area
Data type: FM01-FIKRSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_GRANT_NBR - Mittelbewilligung
Data type: GM_GRANT_NBRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_POSIT - Internal number of commitment item
Data type: FMFPO-POSITDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BUKRS - Company code
Data type: T001-BUKRSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_GJAHR_AB - Start of fiscal year
Data type: BKPF-GJAHRDefault: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_GJAHR_BIS - End of fiscal year
Data type: BKPF-GJAHRDefault: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_ONLY_CA - Feld zum Ankreuzen
Data type: FMDY-XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_ONLY_CB - Only Cash Budget Management
Data type: FMDY-XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_NEW_SELECT -
Data type: COptional: Yes
Call by Reference: Yes
I_DATE_FROM - Date
Data type: DATUMOptional: Yes
Call by Reference: Yes
I_DATE_TO - Date
Data type: DATUMOptional: Yes
Call by Reference: Yes
I_FIPOS - Commitment item
Data type: FMFPO-FIPOSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_RLDNR - Ledger
Data type: RLDNROptional: Yes
Call by Reference: Yes
I_BUDGET_PERIOD - FM: Budgetperiode
Data type: FM_BUDGET_PERIODOptional: Yes
Call by Reference: Yes
I_FIPEX - Finanzposition
Data type: FMIT-RFIPEXDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FISTL - Funds center
Data type: FMFCTR-FICTRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FISTL_OBJNR - Funds center object number
Data type: FMFCTR-CTR_OBJNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_AND_COMBINING - And link (funds center/cmmt item/fund)
Data type: FMDY-XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FONDS - Fund
Data type: FMFINCODE-FINCODEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FAREA - Interne Finanzposition (8-stellig)
Data type: TFKB-FKBERDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MEASURE - Programm im Haushaltsmanagement
Data type: FM_MEASUREDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FM_ACTUALS_CHECK
E_FLG_ACTUALS_FOUND - Actual data was found
Data type: FMDY-XFELDOptional: No
Call by Reference: No ( called with pass by value option)
ET_MESG - Application Log: Table with Messages
Data type: BAL_T_MSGOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FM_ACTUALS_CHECK Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_i_fikrs | TYPE FM01-FIKRS, " SPACE | |||
| lv_e_flg_actuals_found | TYPE FMDY-XFELD, " | |||
| lv_i_grant_nbr | TYPE GM_GRANT_NBR, " SPACE | |||
| lv_i_posit | TYPE FMFPO-POSIT, " SPACE | |||
| lv_i_bukrs | TYPE T001-BUKRS, " SPACE | |||
| lv_i_gjahr_ab | TYPE BKPF-GJAHR, " '0000' | |||
| lv_i_gjahr_bis | TYPE BKPF-GJAHR, " '0000' | |||
| lv_i_flg_only_ca | TYPE FMDY-XFELD, " SPACE | |||
| lv_i_flg_only_cb | TYPE FMDY-XFELD, " SPACE | |||
| lv_i_new_select | TYPE C, " | |||
| lv_i_date_from | TYPE DATUM, " | |||
| lv_i_date_to | TYPE DATUM, " | |||
| lv_et_mesg | TYPE BAL_T_MSG, " | |||
| lv_i_fipos | TYPE FMFPO-FIPOS, " SPACE | |||
| lv_i_rldnr | TYPE RLDNR, " | |||
| lv_i_budget_period | TYPE FM_BUDGET_PERIOD, " | |||
| lv_i_fipex | TYPE FMIT-RFIPEX, " SPACE | |||
| lv_i_fistl | TYPE FMFCTR-FICTR, " SPACE | |||
| lv_i_fistl_objnr | TYPE FMFCTR-CTR_OBJNR, " SPACE | |||
| lv_i_flg_and_combining | TYPE FMDY-XFELD, " SPACE | |||
| lv_i_fonds | TYPE FMFINCODE-FINCODE, " SPACE | |||
| lv_i_farea | TYPE TFKB-FKBER, " SPACE | |||
| lv_i_measure | TYPE FM_MEASURE. " SPACE |
|   CALL FUNCTION 'FM_ACTUALS_CHECK' "Summensätze nachlesen |
| EXPORTING | ||
| I_FIKRS | = lv_i_fikrs | |
| I_GRANT_NBR | = lv_i_grant_nbr | |
| I_POSIT | = lv_i_posit | |
| I_BUKRS | = lv_i_bukrs | |
| I_GJAHR_AB | = lv_i_gjahr_ab | |
| I_GJAHR_BIS | = lv_i_gjahr_bis | |
| I_FLG_ONLY_CA | = lv_i_flg_only_ca | |
| I_FLG_ONLY_CB | = lv_i_flg_only_cb | |
| I_NEW_SELECT | = lv_i_new_select | |
| I_DATE_FROM | = lv_i_date_from | |
| I_DATE_TO | = lv_i_date_to | |
| I_FIPOS | = lv_i_fipos | |
| I_RLDNR | = lv_i_rldnr | |
| I_BUDGET_PERIOD | = lv_i_budget_period | |
| I_FIPEX | = lv_i_fipex | |
| I_FISTL | = lv_i_fistl | |
| I_FISTL_OBJNR | = lv_i_fistl_objnr | |
| I_FLG_AND_COMBINING | = lv_i_flg_and_combining | |
| I_FONDS | = lv_i_fonds | |
| I_FAREA | = lv_i_farea | |
| I_MEASURE | = lv_i_measure | |
| IMPORTING | ||
| E_FLG_ACTUALS_FOUND | = lv_e_flg_actuals_found | |
| ET_MESG | = lv_et_mesg | |
| . " FM_ACTUALS_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM FM_ACTUALS_CHECK
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single FIKRS FROM FM01 INTO @DATA(ld_i_fikrs). | ||||
| DATA(ld_i_fikrs) | = ' '. | |||
| "SELECT single XFELD FROM FMDY INTO @DATA(ld_e_flg_actuals_found). | ||||
| DATA(ld_i_grant_nbr) | = ' '. | |||
| "SELECT single POSIT FROM FMFPO INTO @DATA(ld_i_posit). | ||||
| DATA(ld_i_posit) | = ' '. | |||
| "SELECT single BUKRS FROM T001 INTO @DATA(ld_i_bukrs). | ||||
| DATA(ld_i_bukrs) | = ' '. | |||
| "SELECT single GJAHR FROM BKPF INTO @DATA(ld_i_gjahr_ab). | ||||
| DATA(ld_i_gjahr_ab) | = '0000'. | |||
| "SELECT single GJAHR FROM BKPF INTO @DATA(ld_i_gjahr_bis). | ||||
| DATA(ld_i_gjahr_bis) | = '0000'. | |||
| "SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_only_ca). | ||||
| DATA(ld_i_flg_only_ca) | = ' '. | |||
| "SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_only_cb). | ||||
| DATA(ld_i_flg_only_cb) | = ' '. | |||
| "SELECT single FIPOS FROM FMFPO INTO @DATA(ld_i_fipos). | ||||
| DATA(ld_i_fipos) | = ' '. | |||
| "SELECT single RFIPEX FROM FMIT INTO @DATA(ld_i_fipex). | ||||
| DATA(ld_i_fipex) | = ' '. | |||
| "SELECT single FICTR FROM FMFCTR INTO @DATA(ld_i_fistl). | ||||
| DATA(ld_i_fistl) | = ' '. | |||
| "SELECT single CTR_OBJNR FROM FMFCTR INTO @DATA(ld_i_fistl_objnr). | ||||
| DATA(ld_i_fistl_objnr) | = ' '. | |||
| "SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_and_combining). | ||||
| DATA(ld_i_flg_and_combining) | = ' '. | |||
| "SELECT single FINCODE FROM FMFINCODE INTO @DATA(ld_i_fonds). | ||||
| DATA(ld_i_fonds) | = ' '. | |||
| "SELECT single FKBER FROM TFKB INTO @DATA(ld_i_farea). | ||||
| DATA(ld_i_farea) | = ' '. | |||
| DATA(ld_i_measure) | = ' '. | |||
Search for further information about these or an SAP related objects