SAP FM_BLANK_ALLOWED Function Module for









FM_BLANK_ALLOWED is a standard fm blank allowed SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 blank allowed FM, simply by entering the name FM_BLANK_ALLOWED into the relevant SAP transaction such as SE37 or SE38.

Function Group: FM02
Program Name: SAPLFM02
Main Program: SAPLFM02
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FM_BLANK_ALLOWED 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_BLANK_ALLOWED'"
EXPORTING
* I_FM_AREA = "
* I_FLG_FUND_CHECK = 'X' "
* I_FLG_FUNCTION_CHECK = 'X' "
* I_FLG_MEASURE_CHECK = 'X' "
* I_FLG_BUDGET_PD_CHECK = 'X' "
* I_COMPANY_CODE = "
* I_FISCAL_YEAR = "
* I_GRANT = "
* I_FUND = "
* I_FUNCTION = "
* I_MEASURE = "
* I_BUDGET_PD = "
* I_FLG_GRANT_CHECK = 'X' "

IMPORTING
E_FLG_GRANT_BLANK = "
E_FLG_FUND_BLANK = "
E_FLG_FUNCTION_BLANK = "
E_FLG_MEASURE_BLANK = "
E_FLG_BUDGET_PD_BLANK = "
.



IMPORTING Parameters details for FM_BLANK_ALLOWED

I_FM_AREA -

Data type: FM01Y-FIKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_FUND_CHECK -

Data type: FMDY-XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_FUNCTION_CHECK -

Data type: FMDY-XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_MEASURE_CHECK -

Data type: FMDY-XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_BUDGET_PD_CHECK -

Data type: FMDY-XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COMPANY_CODE -

Data type: T001-BUKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FISCAL_YEAR -

Data type: FM_BLANK_TO_YEAR
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_GRANT -

Data type: GM_GRANT_NBR
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FUND -

Data type: FMIT-RFONDS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FUNCTION -

Data type: FMIT-RFAREA
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MEASURE -

Data type: FM_MEASURE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BUDGET_PD -

Data type: FM_BUDGET_PERIOD
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_GRANT_CHECK -

Data type: FMDY-XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FM_BLANK_ALLOWED

E_FLG_GRANT_BLANK -

Data type: GM_GRANT_BLANK
Optional: No
Call by Reference: No ( called with pass by value option)

E_FLG_FUND_BLANK -

Data type: FM_FUND_BLANK
Optional: No
Call by Reference: No ( called with pass by value option)

E_FLG_FUNCTION_BLANK -

Data type: FM_FUNCTION_BLANK
Optional: No
Call by Reference: No ( called with pass by value option)

E_FLG_MEASURE_BLANK -

Data type: FM_MEASURE_BLANK
Optional: No
Call by Reference: No ( called with pass by value option)

E_FLG_BUDGET_PD_BLANK -

Data type: FM_BUD_PER_BLANK
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FM_BLANK_ALLOWED 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_fm_area  TYPE FM01Y-FIKRS, "   
lv_e_flg_grant_blank  TYPE GM_GRANT_BLANK, "   
lv_i_flg_fund_check  TYPE FMDY-XFELD, "   'X'
lv_i_flg_function_check  TYPE FMDY-XFELD, "   'X'
lv_i_flg_measure_check  TYPE FMDY-XFELD, "   'X'
lv_i_flg_budget_pd_check  TYPE FMDY-XFELD, "   'X'
lv_i_company_code  TYPE T001-BUKRS, "   
lv_e_flg_fund_blank  TYPE FM_FUND_BLANK, "   
lv_i_fiscal_year  TYPE FM_BLANK_TO_YEAR, "   
lv_e_flg_function_blank  TYPE FM_FUNCTION_BLANK, "   
lv_i_grant  TYPE GM_GRANT_NBR, "   
lv_e_flg_measure_blank  TYPE FM_MEASURE_BLANK, "   
lv_i_fund  TYPE FMIT-RFONDS, "   
lv_e_flg_budget_pd_blank  TYPE FM_BUD_PER_BLANK, "   
lv_i_function  TYPE FMIT-RFAREA, "   
lv_i_measure  TYPE FM_MEASURE, "   
lv_i_budget_pd  TYPE FM_BUDGET_PERIOD, "   
lv_i_flg_grant_check  TYPE FMDY-XFELD. "   'X'

  CALL FUNCTION 'FM_BLANK_ALLOWED'  "
    EXPORTING
         I_FM_AREA = lv_i_fm_area
         I_FLG_FUND_CHECK = lv_i_flg_fund_check
         I_FLG_FUNCTION_CHECK = lv_i_flg_function_check
         I_FLG_MEASURE_CHECK = lv_i_flg_measure_check
         I_FLG_BUDGET_PD_CHECK = lv_i_flg_budget_pd_check
         I_COMPANY_CODE = lv_i_company_code
         I_FISCAL_YEAR = lv_i_fiscal_year
         I_GRANT = lv_i_grant
         I_FUND = lv_i_fund
         I_FUNCTION = lv_i_function
         I_MEASURE = lv_i_measure
         I_BUDGET_PD = lv_i_budget_pd
         I_FLG_GRANT_CHECK = lv_i_flg_grant_check
    IMPORTING
         E_FLG_GRANT_BLANK = lv_e_flg_grant_blank
         E_FLG_FUND_BLANK = lv_e_flg_fund_blank
         E_FLG_FUNCTION_BLANK = lv_e_flg_function_blank
         E_FLG_MEASURE_BLANK = lv_e_flg_measure_blank
         E_FLG_BUDGET_PD_BLANK = lv_e_flg_budget_pd_blank
. " FM_BLANK_ALLOWED




ABAP code using 7.40 inline data declarations to call FM FM_BLANK_ALLOWED

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 FM01Y INTO @DATA(ld_i_fm_area).
 
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_fund_check).
DATA(ld_i_flg_fund_check) = 'X'.
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_function_check).
DATA(ld_i_flg_function_check) = 'X'.
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_measure_check).
DATA(ld_i_flg_measure_check) = 'X'.
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_budget_pd_check).
DATA(ld_i_flg_budget_pd_check) = 'X'.
 
"SELECT single BUKRS FROM T001 INTO @DATA(ld_i_company_code).
 
 
 
 
 
 
"SELECT single RFONDS FROM FMIT INTO @DATA(ld_i_fund).
 
 
"SELECT single RFAREA FROM FMIT INTO @DATA(ld_i_function).
 
 
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_grant_check).
DATA(ld_i_flg_grant_check) = 'X'.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!