SAP FM_FUNDS_CTR_CREATE_NO_SCREEN Function Module for









FM_FUNDS_CTR_CREATE_NO_SCREEN is a standard fm funds ctr create no screen 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 funds ctr create no screen FM, simply by entering the name FM_FUNDS_CTR_CREATE_NO_SCREEN into the relevant SAP transaction such as SE37 or SE38.

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



Function FM_FUNDS_CTR_CREATE_NO_SCREEN 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_FUNDS_CTR_CREATE_NO_SCREEN'"
EXPORTING
I_FIKRS = "Financial Management Area
I_FISTL = "Funds Center
* I_HIVARNT = "Hierarchy Variant
I_F_FMMD_FISTL_ALL = "
* I_FLG_TEST = ' ' "Test Run
* I_FLG_NO_ENQUEUE = ' ' "Do Not Lock
* I_FLG_COMMIT = ' ' "Perform Commit

TABLES
* I_T_LONGTEXT = "

EXCEPTIONS
INPUT_ERROR = 1 MASTER_DATA_ERROR = 2 UPDATE_ERROR = 3
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLFMF2_001 User exit funds center: Customer-specific fields (SAP data -> SUBSCREEN)
EXIT_SAPLFMF2_002 User exit funds center: Customer-specific fields (SUBSCREEN data -> SAP)

IMPORTING Parameters details for FM_FUNDS_CTR_CREATE_NO_SCREEN

I_FIKRS - Financial Management Area

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

I_FISTL - Funds Center

Data type: FMFCTR-FICTR
Optional: No
Call by Reference: No ( called with pass by value option)

I_HIVARNT - Hierarchy Variant

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

I_F_FMMD_FISTL_ALL -

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

I_FLG_TEST - Test Run

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

I_FLG_NO_ENQUEUE - Do Not Lock

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

I_FLG_COMMIT - Perform Commit

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

TABLES Parameters details for FM_FUNDS_CTR_CREATE_NO_SCREEN

I_T_LONGTEXT -

Data type: FMMD_T_LONGTEXT
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

INPUT_ERROR -

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

MASTER_DATA_ERROR -

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

UPDATE_ERROR -

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

Copy and paste ABAP code example for FM_FUNDS_CTR_CREATE_NO_SCREEN 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 FMFCTR-FIKRS, "   
lv_input_error  TYPE FMFCTR, "   
lt_i_t_longtext  TYPE STANDARD TABLE OF FMMD_T_LONGTEXT, "   
lv_i_fistl  TYPE FMFCTR-FICTR, "   
lv_master_data_error  TYPE FMFCTR, "   
lv_i_hivarnt  TYPE FMHISV-HIVARNT, "   
lv_update_error  TYPE FMHISV, "   
lv_i_f_fmmd_fistl_all  TYPE FMMD_FISTL_ALL, "   
lv_i_flg_test  TYPE FMDY-XFELD, "   ' '
lv_i_flg_no_enqueue  TYPE FMDY-XFELD, "   ' '
lv_i_flg_commit  TYPE FMDY-XFELD. "   ' '

  CALL FUNCTION 'FM_FUNDS_CTR_CREATE_NO_SCREEN'  "
    EXPORTING
         I_FIKRS = lv_i_fikrs
         I_FISTL = lv_i_fistl
         I_HIVARNT = lv_i_hivarnt
         I_F_FMMD_FISTL_ALL = lv_i_f_fmmd_fistl_all
         I_FLG_TEST = lv_i_flg_test
         I_FLG_NO_ENQUEUE = lv_i_flg_no_enqueue
         I_FLG_COMMIT = lv_i_flg_commit
    TABLES
         I_T_LONGTEXT = lt_i_t_longtext
    EXCEPTIONS
        INPUT_ERROR = 1
        MASTER_DATA_ERROR = 2
        UPDATE_ERROR = 3
. " FM_FUNDS_CTR_CREATE_NO_SCREEN




ABAP code using 7.40 inline data declarations to call FM FM_FUNDS_CTR_CREATE_NO_SCREEN

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 FMFCTR INTO @DATA(ld_i_fikrs).
 
 
 
"SELECT single FICTR FROM FMFCTR INTO @DATA(ld_i_fistl).
 
 
"SELECT single HIVARNT FROM FMHISV INTO @DATA(ld_i_hivarnt).
 
 
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_test).
DATA(ld_i_flg_test) = ' '.
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_no_enqueue).
DATA(ld_i_flg_no_enqueue) = ' '.
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_commit).
DATA(ld_i_flg_commit) = ' '.
 


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!