SAP FM_INPUT_CHECK_MASTER_DATA Function Module for FM_INPUT_CHECK_MASTER_DATA
FM_INPUT_CHECK_MASTER_DATA is a standard fm input check master data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for FM_INPUT_CHECK_MASTER_DATA 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 input check master data FM, simply by entering the name FM_INPUT_CHECK_MASTER_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMCOBL
Program Name: SAPLFMCOBL
Main Program: SAPLFMCOBL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FM_INPUT_CHECK_MASTER_DATA 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_INPUT_CHECK_MASTER_DATA'"FM_INPUT_CHECK_MASTER_DATA.
EXPORTING
* I_FLG_BUFFER_ALL = ' ' "Checkbox
* I_FLG_CHECK_YEAR_SOFT = ' ' "Checkbox
* I_FLG_CHECK_NO_TRIPEL = ' ' "Checkbox
* I_CHECK_YEAR = ' ' "Fiscal Year
* I_CHECK_DATE = "Posting Date in the Document
* I_FLG_OBLIGATORY_CHECK = ' ' "Checkbox
* I_FLG_CHECK_BUDGET_CARRIER = ' ' "Checkbox
* I_POSTING_INFO = "Value and amount type information for Funds Management
* I_LEDGER = "Ledger
IMPORTING
E_F_FMCI = "Commitment items master data
E_F_FMFCTR = "Funds Center Master Record
E_F_FMFINCODE = "FIFM: Financing code
E_F_FMBUDGETPD = "FM: Budget Period Master Data
CHANGING
C_COBL = "Coding Block
* C_SUBRC = "Return Value, Return Value After ABAP Statements
IMPORTING Parameters details for FM_INPUT_CHECK_MASTER_DATA
I_FLG_BUFFER_ALL - Checkbox
Data type: FMDY-XFELDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
I_FLG_CHECK_YEAR_SOFT - Checkbox
Data type: FMDY-XFELDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
I_FLG_CHECK_NO_TRIPEL - Checkbox
Data type: FMDY-XFELDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
I_CHECK_YEAR - Fiscal Year
Data type: COBL-GJAHRDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
I_CHECK_DATE - Posting Date in the Document
Data type: COBL-BUDATOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_OBLIGATORY_CHECK - Checkbox
Data type: FMDY-XFELDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
I_FLG_CHECK_BUDGET_CARRIER - Checkbox
Data type: FMDY-XFELDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
I_POSTING_INFO - Value and amount type information for Funds Management
Data type: FMPOSTING_INFOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_LEDGER - Ledger
Data type: RLDNROptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FM_INPUT_CHECK_MASTER_DATA
E_F_FMCI - Commitment items master data
Data type: FMCIOptional: No
Call by Reference: No ( called with pass by value option)
E_F_FMFCTR - Funds Center Master Record
Data type: FMFCTROptional: No
Call by Reference: No ( called with pass by value option)
E_F_FMFINCODE - FIFM: Financing code
Data type: FMFINCODEOptional: No
Call by Reference: No ( called with pass by value option)
E_F_FMBUDGETPD - FM: Budget Period Master Data
Data type: FMBUDGETPDOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for FM_INPUT_CHECK_MASTER_DATA
C_COBL - Coding Block
Data type: COBLOptional: No
Call by Reference: No ( called with pass by value option)
C_SUBRC - Return Value, Return Value After ABAP Statements
Data type: SY-SUBRCOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FM_INPUT_CHECK_MASTER_DATA 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_c_cobl | TYPE COBL, " | |||
| lv_e_f_fmci | TYPE FMCI, " | |||
| lv_i_flg_buffer_all | TYPE FMDY-XFELD, " SPACE | |||
| lv_c_subrc | TYPE SY-SUBRC, " | |||
| lv_e_f_fmfctr | TYPE FMFCTR, " | |||
| lv_i_flg_check_year_soft | TYPE FMDY-XFELD, " SPACE | |||
| lv_e_f_fmfincode | TYPE FMFINCODE, " | |||
| lv_i_flg_check_no_tripel | TYPE FMDY-XFELD, " SPACE | |||
| lv_i_check_year | TYPE COBL-GJAHR, " SPACE | |||
| lv_e_f_fmbudgetpd | TYPE FMBUDGETPD, " | |||
| lv_i_check_date | TYPE COBL-BUDAT, " | |||
| lv_i_flg_obligatory_check | TYPE FMDY-XFELD, " SPACE | |||
| lv_i_flg_check_budget_carrier | TYPE FMDY-XFELD, " SPACE | |||
| lv_i_posting_info | TYPE FMPOSTING_INFO, " | |||
| lv_i_ledger | TYPE RLDNR. " |
|   CALL FUNCTION 'FM_INPUT_CHECK_MASTER_DATA' "FM_INPUT_CHECK_MASTER_DATA |
| EXPORTING | ||
| I_FLG_BUFFER_ALL | = lv_i_flg_buffer_all | |
| I_FLG_CHECK_YEAR_SOFT | = lv_i_flg_check_year_soft | |
| I_FLG_CHECK_NO_TRIPEL | = lv_i_flg_check_no_tripel | |
| I_CHECK_YEAR | = lv_i_check_year | |
| I_CHECK_DATE | = lv_i_check_date | |
| I_FLG_OBLIGATORY_CHECK | = lv_i_flg_obligatory_check | |
| I_FLG_CHECK_BUDGET_CARRIER | = lv_i_flg_check_budget_carrier | |
| I_POSTING_INFO | = lv_i_posting_info | |
| I_LEDGER | = lv_i_ledger | |
| IMPORTING | ||
| E_F_FMCI | = lv_e_f_fmci | |
| E_F_FMFCTR | = lv_e_f_fmfctr | |
| E_F_FMFINCODE | = lv_e_f_fmfincode | |
| E_F_FMBUDGETPD | = lv_e_f_fmbudgetpd | |
| CHANGING | ||
| C_COBL | = lv_c_cobl | |
| C_SUBRC | = lv_c_subrc | |
| . " FM_INPUT_CHECK_MASTER_DATA | ||
ABAP code using 7.40 inline data declarations to call FM FM_INPUT_CHECK_MASTER_DATA
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 XFELD FROM FMDY INTO @DATA(ld_i_flg_buffer_all). | ||||
| DATA(ld_i_flg_buffer_all) | = ' '. | |||
| "SELECT single SUBRC FROM SY INTO @DATA(ld_c_subrc). | ||||
| "SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_check_year_soft). | ||||
| DATA(ld_i_flg_check_year_soft) | = ' '. | |||
| "SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_check_no_tripel). | ||||
| DATA(ld_i_flg_check_no_tripel) | = ' '. | |||
| "SELECT single GJAHR FROM COBL INTO @DATA(ld_i_check_year). | ||||
| DATA(ld_i_check_year) | = ' '. | |||
| "SELECT single BUDAT FROM COBL INTO @DATA(ld_i_check_date). | ||||
| "SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_obligatory_check). | ||||
| DATA(ld_i_flg_obligatory_check) | = ' '. | |||
| "SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_check_budget_carrier). | ||||
| DATA(ld_i_flg_check_budget_carrier) | = ' '. | |||
Search for further information about these or an SAP related objects