SAP FTRADE_ITEM_DATA_MNT_TS_PBO Function Module for NOTRANSL: Außenhandel: Pflege Positionsdaten Export / Import auf TabStrips









FTRADE_ITEM_DATA_MNT_TS_PBO is a standard ftrade item data mnt ts pbo 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 Positionsdaten 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 item data mnt ts pbo FM, simply by entering the name FTRADE_ITEM_DATA_MNT_TS_PBO 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_ITEM_DATA_MNT_TS_PBO 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_ITEM_DATA_MNT_TS_PBO'"NOTRANSL: Außenhandel: Pflege Positionsdaten Export / Import auf TabStrips
EXPORTING
* I_PARTNER_COUNTRY = ' ' "
* I_STAT_COMPLETE_MANDATORY = ' ' "
I_TRANSACTION_TYPE = "Transaction/Event Type
* I_FUNCTION_CODE = ' ' "Function Code
* I_FUNCTION_CODE_DEFAULT = ' ' "
* I_FT_TRANSACTION_CALL = ' ' "
* I_MATERIAL_TEXT = ' ' "
* I_BATCH_NUMBER = ' ' "
I_FTRADE_NUMBER = "
I_FTRADE_NUMBER_LINE_ITEM = "Item Number
I_HOME_COUNTRY = "
* I_MATERIAL_NUMBER = ' ' "
* I_MANUFACTURER_NUMBER = ' ' "
I_FT_BASIS = "
.




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_ITEM_DATA_MNT_TS_PBO

I_PARTNER_COUNTRY -

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

I_STAT_COMPLETE_MANDATORY -

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

I_TRANSACTION_TYPE - Transaction/Event Type

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

I_FUNCTION_CODE - Function Code

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

I_FUNCTION_CODE_DEFAULT -

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

I_FT_TRANSACTION_CALL -

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

I_MATERIAL_TEXT -

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

I_BATCH_NUMBER -

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

I_FTRADE_NUMBER -

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

I_FTRADE_NUMBER_LINE_ITEM - Item Number

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

I_HOME_COUNTRY -

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

I_MATERIAL_NUMBER -

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

I_MANUFACTURER_NUMBER -

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

I_FT_BASIS -

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

Copy and paste ABAP code example for FTRADE_ITEM_DATA_MNT_TS_PBO 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_partner_country  TYPE KNA1-LAND1, "   ' '
lv_i_stat_complete_mandatory  TYPE C, "   ' '
lv_i_transaction_type  TYPE T180-TRTYP, "   
lv_i_function_code  TYPE SY-UCOMM, "   ' '
lv_i_function_code_default  TYPE SY-UCOMM, "   ' '
lv_i_ft_transaction_call  TYPE C, "   SPACE
lv_i_material_text  TYPE MAKT-MAKTX, "   ' '
lv_i_batch_number  TYPE LIPS-CHARG, "   ' '
lv_i_ftrade_number  TYPE EIKP-EXNUM, "   
lv_i_ftrade_number_line_item  TYPE EIPO-EXPOS, "   
lv_i_home_country  TYPE T001W-LAND1, "   
lv_i_material_number  TYPE MARA-MATNR, "   ' '
lv_i_manufacturer_number  TYPE EKPO-MFRNR, "   ' '
lv_i_ft_basis  TYPE EIKP-AHBAS. "   

  CALL FUNCTION 'FTRADE_ITEM_DATA_MNT_TS_PBO'  "NOTRANSL: Außenhandel: Pflege Positionsdaten Export / Import auf TabStrips
    EXPORTING
         I_PARTNER_COUNTRY = lv_i_partner_country
         I_STAT_COMPLETE_MANDATORY = lv_i_stat_complete_mandatory
         I_TRANSACTION_TYPE = lv_i_transaction_type
         I_FUNCTION_CODE = lv_i_function_code
         I_FUNCTION_CODE_DEFAULT = lv_i_function_code_default
         I_FT_TRANSACTION_CALL = lv_i_ft_transaction_call
         I_MATERIAL_TEXT = lv_i_material_text
         I_BATCH_NUMBER = lv_i_batch_number
         I_FTRADE_NUMBER = lv_i_ftrade_number
         I_FTRADE_NUMBER_LINE_ITEM = lv_i_ftrade_number_line_item
         I_HOME_COUNTRY = lv_i_home_country
         I_MATERIAL_NUMBER = lv_i_material_number
         I_MANUFACTURER_NUMBER = lv_i_manufacturer_number
         I_FT_BASIS = lv_i_ft_basis
. " FTRADE_ITEM_DATA_MNT_TS_PBO




ABAP code using 7.40 inline data declarations to call FM FTRADE_ITEM_DATA_MNT_TS_PBO

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 LAND1 FROM KNA1 INTO @DATA(ld_i_partner_country).
DATA(ld_i_partner_country) = ' '.
 
DATA(ld_i_stat_complete_mandatory) = ' '.
 
"SELECT single TRTYP FROM T180 INTO @DATA(ld_i_transaction_type).
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_i_function_code).
DATA(ld_i_function_code) = ' '.
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_i_function_code_default).
DATA(ld_i_function_code_default) = ' '.
 
DATA(ld_i_ft_transaction_call) = ' '.
 
"SELECT single MAKTX FROM MAKT INTO @DATA(ld_i_material_text).
DATA(ld_i_material_text) = ' '.
 
"SELECT single CHARG FROM LIPS INTO @DATA(ld_i_batch_number).
DATA(ld_i_batch_number) = ' '.
 
"SELECT single EXNUM FROM EIKP INTO @DATA(ld_i_ftrade_number).
 
"SELECT single EXPOS FROM EIPO INTO @DATA(ld_i_ftrade_number_line_item).
 
"SELECT single LAND1 FROM T001W INTO @DATA(ld_i_home_country).
 
"SELECT single MATNR FROM MARA INTO @DATA(ld_i_material_number).
DATA(ld_i_material_number) = ' '.
 
"SELECT single MFRNR FROM EKPO INTO @DATA(ld_i_manufacturer_number).
DATA(ld_i_manufacturer_number) = ' '.
 
"SELECT single AHBAS FROM EIKP INTO @DATA(ld_i_ft_basis).
 


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!