SAP FT_USER_LAST_SETUP_GET Function Module for NOTRANSL: Außenhandel: Anwenderabhängige Einstellungen: Lesen der letzten









FT_USER_LAST_SETUP_GET is a standard ft user last setup get 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 letzten 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 last setup get FM, simply by entering the name FT_USER_LAST_SETUP_GET 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_LAST_SETUP_GET 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_LAST_SETUP_GET'"NOTRANSL: Außenhandel: Anwenderabhängige Einstellungen: Lesen der letzten
EXPORTING
I_USER_NAME = "User Name in User Master Record

TABLES
* I_T_ACTION = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_T_LAST_SETUP_DATA = "Foreign Trade: Control table: User settings

EXCEPTIONS
NO_USER_NAME = 1 NO_FT_ACTION = 2 NO_LAST_SETUP_DATA = 3
.



IMPORTING Parameters details for FT_USER_LAST_SETUP_GET

I_USER_NAME - User Name in User Master Record

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

TABLES Parameters details for FT_USER_LAST_SETUP_GET

I_T_ACTION - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

E_T_LAST_SETUP_DATA - Foreign Trade: Control table: User settings

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

EXCEPTIONS details

NO_USER_NAME - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

NO_FT_ACTION - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

NO_LAST_SETUP_DATA - 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_LAST_SETUP_GET 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_i_t_action  TYPE STANDARD TABLE OF VFTU_TAB_ACTION, "   
lv_i_user_name  TYPE FTUSE-UNAME, "   
lv_no_user_name  TYPE FTUSE, "   
lv_no_ft_action  TYPE FTUSE, "   
lt_e_t_last_setup_data  TYPE STANDARD TABLE OF FTUSES, "   
lv_no_last_setup_data  TYPE FTUSES. "   

  CALL FUNCTION 'FT_USER_LAST_SETUP_GET'  "NOTRANSL: Außenhandel: Anwenderabhängige Einstellungen: Lesen der letzten
    EXPORTING
         I_USER_NAME = lv_i_user_name
    TABLES
         I_T_ACTION = lt_i_t_action
         E_T_LAST_SETUP_DATA = lt_e_t_last_setup_data
    EXCEPTIONS
        NO_USER_NAME = 1
        NO_FT_ACTION = 2
        NO_LAST_SETUP_DATA = 3
. " FT_USER_LAST_SETUP_GET




ABAP code using 7.40 inline data declarations to call FM FT_USER_LAST_SETUP_GET

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).
 
 
 
 
 


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!