SAP FM_FICTR_READ_SINGLE Function Module for Read funds centers









FM_FICTR_READ_SINGLE is a standard fm fictr read single SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read funds centers 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 fictr read single FM, simply by entering the name FM_FICTR_READ_SINGLE into the relevant SAP transaction such as SE37 or SE38.

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



Function FM_FICTR_READ_SINGLE 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_FICTR_READ_SINGLE'"Read funds centers
EXPORTING
I_FIKRS = "
* I_FICTR = ' ' "
* I_CTR_OBJNR = ' ' "
* I_HIVARNT = ' ' "
* I_FLAG_TEXT = ' ' "
* I_FLAG_HIER = ' ' "
* I_LANGUAGE = SY-LANGU "
* I_DATE = '00000000' "
* I_GJAHR = '0000' "

IMPORTING
E_F_FMFCTR = "
E_F_FMFCTRT = "
E_F_FMHISV = "

EXCEPTIONS
INPUT_ERROR = 1 MASTER_DATA_NOT_FOUND = 2 HIERARCHY_DATA_NOT_FOUND = 3
.



IMPORTING Parameters details for FM_FICTR_READ_SINGLE

I_FIKRS -

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

I_FICTR -

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

I_CTR_OBJNR -

Data type: FMFCTR-CTR_OBJNR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_HIVARNT -

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

I_FLAG_TEXT -

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

I_FLAG_HIER -

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

I_LANGUAGE -

Data type: FM01-SPRAS
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DATE -

Data type: FMFCTR-DATBIS
Default: '00000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_GJAHR -

Data type: FM01P-GJAHR
Default: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FM_FICTR_READ_SINGLE

E_F_FMFCTR -

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

E_F_FMFCTRT -

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

E_F_FMHISV -

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

EXCEPTIONS details

INPUT_ERROR -

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

MASTER_DATA_NOT_FOUND -

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

HIERARCHY_DATA_NOT_FOUND -

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

Copy and paste ABAP code example for FM_FICTR_READ_SINGLE 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, "   
lv_e_f_fmfctr  TYPE FMFCTR, "   
lv_input_error  TYPE FMFCTR, "   
lv_i_fictr  TYPE FMFCTR-FICTR, "   SPACE
lv_e_f_fmfctrt  TYPE FMFCTRT, "   
lv_master_data_not_found  TYPE FMFCTRT, "   
lv_e_f_fmhisv  TYPE FMHISV, "   
lv_i_ctr_objnr  TYPE FMFCTR-CTR_OBJNR, "   SPACE
lv_hierarchy_data_not_found  TYPE FMFCTR, "   
lv_i_hivarnt  TYPE FMHISV-HIVARNT, "   SPACE
lv_i_flag_text  TYPE FMDY-XFELD, "   SPACE
lv_i_flag_hier  TYPE FMDY-XFELD, "   SPACE
lv_i_language  TYPE FM01-SPRAS, "   SY-LANGU
lv_i_date  TYPE FMFCTR-DATBIS, "   '00000000'
lv_i_gjahr  TYPE FM01P-GJAHR. "   '0000'

  CALL FUNCTION 'FM_FICTR_READ_SINGLE'  "Read funds centers
    EXPORTING
         I_FIKRS = lv_i_fikrs
         I_FICTR = lv_i_fictr
         I_CTR_OBJNR = lv_i_ctr_objnr
         I_HIVARNT = lv_i_hivarnt
         I_FLAG_TEXT = lv_i_flag_text
         I_FLAG_HIER = lv_i_flag_hier
         I_LANGUAGE = lv_i_language
         I_DATE = lv_i_date
         I_GJAHR = lv_i_gjahr
    IMPORTING
         E_F_FMFCTR = lv_e_f_fmfctr
         E_F_FMFCTRT = lv_e_f_fmfctrt
         E_F_FMHISV = lv_e_f_fmhisv
    EXCEPTIONS
        INPUT_ERROR = 1
        MASTER_DATA_NOT_FOUND = 2
        HIERARCHY_DATA_NOT_FOUND = 3
. " FM_FICTR_READ_SINGLE




ABAP code using 7.40 inline data declarations to call FM FM_FICTR_READ_SINGLE

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).
 
 
 
"SELECT single FICTR FROM FMFCTR INTO @DATA(ld_i_fictr).
DATA(ld_i_fictr) = ' '.
 
 
 
 
"SELECT single CTR_OBJNR FROM FMFCTR INTO @DATA(ld_i_ctr_objnr).
DATA(ld_i_ctr_objnr) = ' '.
 
 
"SELECT single HIVARNT FROM FMHISV INTO @DATA(ld_i_hivarnt).
DATA(ld_i_hivarnt) = ' '.
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flag_text).
DATA(ld_i_flag_text) = ' '.
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flag_hier).
DATA(ld_i_flag_hier) = ' '.
 
"SELECT single SPRAS FROM FM01 INTO @DATA(ld_i_language).
DATA(ld_i_language) = SY-LANGU.
 
"SELECT single DATBIS FROM FMFCTR INTO @DATA(ld_i_date).
DATA(ld_i_date) = '00000000'.
 
"SELECT single GJAHR FROM FM01P INTO @DATA(ld_i_gjahr).
DATA(ld_i_gjahr) = '0000'.
 


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!