SAP FI_F4_FIELDNAME Function Module for









FI_F4_FIELDNAME is a standard fi f4 fieldname 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 fi f4 fieldname FM, simply by entering the name FI_F4_FIELDNAME into the relevant SAP transaction such as SE37 or SE38.

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



Function FI_F4_FIELDNAME 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 'FI_F4_FIELDNAME'"
EXPORTING
* I_XKEYF = 'X' "
* I_INTTP = ' ' "
* I_XLOGF = ' ' "
* I_MODUS = 'W' "
* I_CUCOL = 0 "
* I_CUROW = 0 "
* I_XTECH = 'X' "
* I_FNAME = "
* I_XFELD = ' ' "
* I_XGRKL = ' ' "

IMPORTING
E_FNAME = "
E_FTEXT = "
E_FELDN = "
E_TNAME = "
E_OUTPL = "
E_INTTP = "
E_INTLN = "
E_DLENG = "

TABLES
TABTAB = "
* EXCTAB = "

EXCEPTIONS
INVALID_CALL = 1 INVALID_FNAME = 2 INTERNAL_ERROR = 3 NOTHING_FOUND = 4 TABLE_NOT_ACTIV = 5
.



IMPORTING Parameters details for FI_F4_FIELDNAME

I_XKEYF -

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

I_INTTP -

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

I_XLOGF -

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

I_MODUS -

Data type: AKTYP
Default: 'W'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CUCOL -

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

I_CUROW -

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

I_XTECH -

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

I_FNAME -

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

I_XFELD -

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

I_XGRKL -

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

EXPORTING Parameters details for FI_F4_FIELDNAME

E_FNAME -

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

E_FTEXT -

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

E_FELDN -

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

E_TNAME -

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

E_OUTPL -

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

E_INTTP -

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

E_INTLN -

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

E_DLENG -

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

TABLES Parameters details for FI_F4_FIELDNAME

TABTAB -

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

EXCTAB -

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

EXCEPTIONS details

INVALID_CALL -

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

INVALID_FNAME -

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

INTERNAL_ERROR -

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

NOTHING_FOUND -

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

TABLE_NOT_ACTIV -

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

Copy and paste ABAP code example for FI_F4_FIELDNAME 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:
lt_tabtab  TYPE STANDARD TABLE OF STRING, "   
lv_e_fname  TYPE TBFDNAM, "   
lv_i_xkeyf  TYPE AS4FLAG, "   'X'
lv_invalid_call  TYPE AS4FLAG, "   
lv_i_inttp  TYPE CHAR8, "   SPACE
lt_exctab  TYPE STANDARD TABLE OF CHAR8, "   
lv_e_ftext  TYPE DD03D-DDTEXT, "   
lv_i_xlogf  TYPE AS4FLAG, "   SPACE
lv_invalid_fname  TYPE AS4FLAG, "   
lv_e_feldn  TYPE DD03D-FIELDNAME, "   
lv_i_modus  TYPE AKTYP, "   'W'
lv_internal_error  TYPE AKTYP, "   
lv_e_tname  TYPE DD02L-TABNAME, "   
lv_i_cucol  TYPE SY-CUCOL, "   0
lv_nothing_found  TYPE SY, "   
lv_e_outpl  TYPE DD01D-OUTPUTLEN, "   
lv_i_curow  TYPE SY-CUROW, "   0
lv_table_not_activ  TYPE SY, "   
lv_e_inttp  TYPE DD03D-INTTYPE, "   
lv_i_xtech  TYPE AS4FLAG, "   'X'
lv_e_intln  TYPE DD03D-INTLEN, "   
lv_i_fname  TYPE TBFDNAM, "   
lv_e_dleng  TYPE DD03D-LENG, "   
lv_i_xfeld  TYPE AS4FLAG, "   SPACE
lv_i_xgrkl  TYPE AS4FLAG. "   SPACE

  CALL FUNCTION 'FI_F4_FIELDNAME'  "
    EXPORTING
         I_XKEYF = lv_i_xkeyf
         I_INTTP = lv_i_inttp
         I_XLOGF = lv_i_xlogf
         I_MODUS = lv_i_modus
         I_CUCOL = lv_i_cucol
         I_CUROW = lv_i_curow
         I_XTECH = lv_i_xtech
         I_FNAME = lv_i_fname
         I_XFELD = lv_i_xfeld
         I_XGRKL = lv_i_xgrkl
    IMPORTING
         E_FNAME = lv_e_fname
         E_FTEXT = lv_e_ftext
         E_FELDN = lv_e_feldn
         E_TNAME = lv_e_tname
         E_OUTPL = lv_e_outpl
         E_INTTP = lv_e_inttp
         E_INTLN = lv_e_intln
         E_DLENG = lv_e_dleng
    TABLES
         TABTAB = lt_tabtab
         EXCTAB = lt_exctab
    EXCEPTIONS
        INVALID_CALL = 1
        INVALID_FNAME = 2
        INTERNAL_ERROR = 3
        NOTHING_FOUND = 4
        TABLE_NOT_ACTIV = 5
. " FI_F4_FIELDNAME




ABAP code using 7.40 inline data declarations to call FM FI_F4_FIELDNAME

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.

 
 
DATA(ld_i_xkeyf) = 'X'.
 
 
DATA(ld_i_inttp) = ' '.
 
 
"SELECT single DDTEXT FROM DD03D INTO @DATA(ld_e_ftext).
 
DATA(ld_i_xlogf) = ' '.
 
 
"SELECT single FIELDNAME FROM DD03D INTO @DATA(ld_e_feldn).
 
DATA(ld_i_modus) = 'W'.
 
 
"SELECT single TABNAME FROM DD02L INTO @DATA(ld_e_tname).
 
"SELECT single CUCOL FROM SY INTO @DATA(ld_i_cucol).
 
 
"SELECT single OUTPUTLEN FROM DD01D INTO @DATA(ld_e_outpl).
 
"SELECT single CUROW FROM SY INTO @DATA(ld_i_curow).
 
 
"SELECT single INTTYPE FROM DD03D INTO @DATA(ld_e_inttp).
 
DATA(ld_i_xtech) = 'X'.
 
"SELECT single INTLEN FROM DD03D INTO @DATA(ld_e_intln).
 
 
"SELECT single LENG FROM DD03D INTO @DATA(ld_e_dleng).
 
DATA(ld_i_xfeld) = ' '.
 
DATA(ld_i_xgrkl) = ' '.
 


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!