SAP FTRADE_HEADER_DATA_MNT_TS_PAI Function Module for NOTRANSL: Außenhandel: Pflege Kopfdaten Export / Import auf TabStrips









FTRADE_HEADER_DATA_MNT_TS_PAI is a standard ftrade header data mnt ts pai 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: Pflege Kopfdaten Export / Import auf TabStrips 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 ftrade header data mnt ts pai FM, simply by entering the name FTRADE_HEADER_DATA_MNT_TS_PAI into the relevant SAP transaction such as SE37 or SE38.

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



Function FTRADE_HEADER_DATA_MNT_TS_PAI 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 'FTRADE_HEADER_DATA_MNT_TS_PAI'"NOTRANSL: Außenhandel: Pflege Kopfdaten Export / Import auf TabStrips
EXPORTING
I_FTRADE_NUMBER = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_FUNCTION_CODE = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION

IMPORTING
E_FTRADE_DATA_COMPLETE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_FTRADE_NUMBER_NEW = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_DATALOSS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_FUNCTION_CODE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_SYSTEM_UCOMM = "DE-EN-LANG-SWITCH-NO-TRANSLATION
.




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_SAPLV50E_001 SD documents - Header: User exit for default of Foreign Trade header data
EXIT_SAPLV50E_002 MM documents - header: User exit for default of import header data
EXIT_SAPLV50E_003 SD documents - Item: User exit for export item data default
EXIT_SAPLV50E_004 MM document - Item: User exit for import item data default
EXIT_SAPLV50E_005 Foreign Trade data - Header: User exit: Check completeness of data
EXIT_SAPLV50E_006 Foreign Trade data - Item: User exit - Check completeness of data

IMPORTING Parameters details for FTRADE_HEADER_DATA_MNT_TS_PAI

I_FTRADE_NUMBER - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_FUNCTION_CODE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXPORTING Parameters details for FTRADE_HEADER_DATA_MNT_TS_PAI

E_FTRADE_DATA_COMPLETE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

E_FTRADE_NUMBER_NEW - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

E_DATALOSS - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

E_FUNCTION_CODE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

E_SYSTEM_UCOMM - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for FTRADE_HEADER_DATA_MNT_TS_PAI 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_ftrade_number  TYPE EIKP-EXNUM, "   
lv_e_ftrade_data_complete  TYPE VBUP-UVALL, "   
lv_i_function_code  TYPE SY-UCOMM, "   ' '
lv_e_ftrade_number_new  TYPE EIKP-EXNUM, "   
lv_e_dataloss  TYPE R185D-DATALOSS, "   
lv_e_function_code  TYPE SY-UCOMM, "   
lv_e_system_ucomm  TYPE SY-UCOMM. "   

  CALL FUNCTION 'FTRADE_HEADER_DATA_MNT_TS_PAI'  "NOTRANSL: Außenhandel: Pflege Kopfdaten Export / Import auf TabStrips
    EXPORTING
         I_FTRADE_NUMBER = lv_i_ftrade_number
         I_FUNCTION_CODE = lv_i_function_code
    IMPORTING
         E_FTRADE_DATA_COMPLETE = lv_e_ftrade_data_complete
         E_FTRADE_NUMBER_NEW = lv_e_ftrade_number_new
         E_DATALOSS = lv_e_dataloss
         E_FUNCTION_CODE = lv_e_function_code
         E_SYSTEM_UCOMM = lv_e_system_ucomm
. " FTRADE_HEADER_DATA_MNT_TS_PAI




ABAP code using 7.40 inline data declarations to call FM FTRADE_HEADER_DATA_MNT_TS_PAI

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 EXNUM FROM EIKP INTO @DATA(ld_i_ftrade_number).
 
"SELECT single UVALL FROM VBUP INTO @DATA(ld_e_ftrade_data_complete).
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_i_function_code).
DATA(ld_i_function_code) = ' '.
 
"SELECT single EXNUM FROM EIKP INTO @DATA(ld_e_ftrade_number_new).
 
"SELECT single DATALOSS FROM R185D INTO @DATA(ld_e_dataloss).
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_e_function_code).
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_e_system_ucomm).
 


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!