SAP FT_USER_CONTROL_DATA_READ Function Module for NOTRANSL: Außenhandel: Anwenderabhängige Einstellungen: Lesen der Tabelle









FT_USER_CONTROL_DATA_READ is a standard ft user control data read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Außenhandel: Anwenderabhängige Einstellungen: Lesen der Tabelle 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 ft user control data read FM, simply by entering the name FT_USER_CONTROL_DATA_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function FT_USER_CONTROL_DATA_READ 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 'FT_USER_CONTROL_DATA_READ'"NOTRANSL: Außenhandel: Anwenderabhängige Einstellungen: Lesen der Tabelle
EXPORTING
* I_USER_NAME = SY-UNAME "User Name in User Master Record
I_FT_AREA = "ABAP System Field: Current Transaction Code

IMPORTING
E_R_USER_ENTRY_SETUP = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_R_USER_AREA_SETUP = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_R_USER_DATA_COMPLETE = "Foreign Trade: Control Table: User-dependent Settings

TABLES
* E_T_USER_PA_SETUP = "DE-EN-LANG-SWITCH-NO-TRANSLATION

EXCEPTIONS
WRONG_FT_AREA = 1
.



IMPORTING Parameters details for FT_USER_CONTROL_DATA_READ

I_USER_NAME - User Name in User Master Record

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

I_FT_AREA - ABAP System Field: Current Transaction Code

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

EXPORTING Parameters details for FT_USER_CONTROL_DATA_READ

E_R_USER_ENTRY_SETUP - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

E_R_USER_AREA_SETUP - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

E_R_USER_DATA_COMPLETE - Foreign Trade: Control Table: User-dependent Settings

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

TABLES Parameters details for FT_USER_CONTROL_DATA_READ

E_T_USER_PA_SETUP - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXCEPTIONS details

WRONG_FT_AREA - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for FT_USER_CONTROL_DATA_READ 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_user_name  TYPE FTUSE-UNAME, "   SY-UNAME
lv_wrong_ft_area  TYPE FTUSE, "   
lt_e_t_user_pa_setup  TYPE STANDARD TABLE OF VFTU_TAB_PA_DATA, "   
lv_e_r_user_entry_setup  TYPE VFTU_REC_ENTRY, "   
lv_i_ft_area  TYPE SY-TCODE, "   
lv_e_r_user_area_setup  TYPE VFTU_REC_AREA_SETUP, "   
lv_e_r_user_data_complete  TYPE FTUSE. "   

  CALL FUNCTION 'FT_USER_CONTROL_DATA_READ'  "NOTRANSL: Außenhandel: Anwenderabhängige Einstellungen: Lesen der Tabelle
    EXPORTING
         I_USER_NAME = lv_i_user_name
         I_FT_AREA = lv_i_ft_area
    IMPORTING
         E_R_USER_ENTRY_SETUP = lv_e_r_user_entry_setup
         E_R_USER_AREA_SETUP = lv_e_r_user_area_setup
         E_R_USER_DATA_COMPLETE = lv_e_r_user_data_complete
    TABLES
         E_T_USER_PA_SETUP = lt_e_t_user_pa_setup
    EXCEPTIONS
        WRONG_FT_AREA = 1
. " FT_USER_CONTROL_DATA_READ




ABAP code using 7.40 inline data declarations to call FM FT_USER_CONTROL_DATA_READ

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 UNAME FROM FTUSE INTO @DATA(ld_i_user_name).
DATA(ld_i_user_name) = SY-UNAME.
 
 
 
 
"SELECT single TCODE FROM SY INTO @DATA(ld_i_ft_area).
 
 
 


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!