SAP EXPIMP_ITEM_DATA_OVERVIEW Function Module for NOTRANSL: Außenhandelsdaten pflegen (Beleg)









EXPIMP_ITEM_DATA_OVERVIEW is a standard expimp item data overview 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ßenhandelsdaten pflegen (Beleg) 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 expimp item data overview FM, simply by entering the name EXPIMP_ITEM_DATA_OVERVIEW into the relevant SAP transaction such as SE37 or SE38.

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



Function EXPIMP_ITEM_DATA_OVERVIEW 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 'EXPIMP_ITEM_DATA_OVERVIEW'"NOTRANSL: Außenhandelsdaten pflegen (Beleg)
EXPORTING
I_AHBAS = "
I_TCODE = "Transaction Code
I_TCODE_TYP = "Transaction Type
I_VEREI = "Goods direction
I_COPY = "Copy Control
I_INTERNET = "
* I_STAT_COMPLETE_MANDATORY = ' ' "

IMPORTING
E_DATALOSS_K = "
E_DATALOSS_P = "
E_UPDATE = "Update Indicator
E_NEXNUM = "
E_TCODE = "Transaction Code
E_FI = "

TABLES
I_TAB_KOPF = "Document: Header Data
I_TAB_POS = "
* I_TAB_VBRPVB = "
* I_TAB_LIPSVB = "
.




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 EXPIMP_ITEM_DATA_OVERVIEW

I_AHBAS -

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

I_TCODE - Transaction Code

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

I_TCODE_TYP - Transaction Type

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

I_VEREI - Goods direction

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

I_COPY - Copy Control

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

I_INTERNET -

Data type: C
Optional: No
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)

EXPORTING Parameters details for EXPIMP_ITEM_DATA_OVERVIEW

E_DATALOSS_K -

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

E_DATALOSS_P -

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

E_UPDATE - Update Indicator

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

E_NEXNUM -

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

E_TCODE - Transaction Code

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

E_FI -

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

TABLES Parameters details for EXPIMP_ITEM_DATA_OVERVIEW

I_TAB_KOPF - Document: Header Data

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

I_TAB_POS -

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

I_TAB_VBRPVB -

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

I_TAB_LIPSVB -

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

Copy and paste ABAP code example for EXPIMP_ITEM_DATA_OVERVIEW 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_ahbas  TYPE EIKP-AHBAS, "   
lt_i_tab_kopf  TYPE STANDARD TABLE OF RFT50K, "   
lv_e_dataloss_k  TYPE R185D-DATALOSS, "   
lv_i_tcode  TYPE T180-TCODE, "   
lt_i_tab_pos  TYPE STANDARD TABLE OF RFT50P, "   
lv_e_dataloss_p  TYPE R185D-DATALOSS, "   
lv_e_update  TYPE C, "   
lv_i_tcode_typ  TYPE T180-TRTYP, "   
lt_i_tab_vbrpvb  TYPE STANDARD TABLE OF VBRPVB, "   
lv_i_verei  TYPE T609S-VEREI, "   
lv_e_nexnum  TYPE EKKO-EXNUM, "   
lt_i_tab_lipsvb  TYPE STANDARD TABLE OF LIPSVB, "   
lv_i_copy  TYPE C, "   
lv_e_tcode  TYPE T180-TCODE, "   
lv_e_fi  TYPE C, "   
lv_i_internet  TYPE C, "   
lv_i_stat_complete_mandatory  TYPE C. "   ' '

  CALL FUNCTION 'EXPIMP_ITEM_DATA_OVERVIEW'  "NOTRANSL: Außenhandelsdaten pflegen (Beleg)
    EXPORTING
         I_AHBAS = lv_i_ahbas
         I_TCODE = lv_i_tcode
         I_TCODE_TYP = lv_i_tcode_typ
         I_VEREI = lv_i_verei
         I_COPY = lv_i_copy
         I_INTERNET = lv_i_internet
         I_STAT_COMPLETE_MANDATORY = lv_i_stat_complete_mandatory
    IMPORTING
         E_DATALOSS_K = lv_e_dataloss_k
         E_DATALOSS_P = lv_e_dataloss_p
         E_UPDATE = lv_e_update
         E_NEXNUM = lv_e_nexnum
         E_TCODE = lv_e_tcode
         E_FI = lv_e_fi
    TABLES
         I_TAB_KOPF = lt_i_tab_kopf
         I_TAB_POS = lt_i_tab_pos
         I_TAB_VBRPVB = lt_i_tab_vbrpvb
         I_TAB_LIPSVB = lt_i_tab_lipsvb
. " EXPIMP_ITEM_DATA_OVERVIEW




ABAP code using 7.40 inline data declarations to call FM EXPIMP_ITEM_DATA_OVERVIEW

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 AHBAS FROM EIKP INTO @DATA(ld_i_ahbas).
 
 
"SELECT single DATALOSS FROM R185D INTO @DATA(ld_e_dataloss_k).
 
"SELECT single TCODE FROM T180 INTO @DATA(ld_i_tcode).
 
 
"SELECT single DATALOSS FROM R185D INTO @DATA(ld_e_dataloss_p).
 
 
"SELECT single TRTYP FROM T180 INTO @DATA(ld_i_tcode_typ).
 
 
"SELECT single VEREI FROM T609S INTO @DATA(ld_i_verei).
 
"SELECT single EXNUM FROM EKKO INTO @DATA(ld_e_nexnum).
 
 
 
"SELECT single TCODE FROM T180 INTO @DATA(ld_e_tcode).
 
 
 
DATA(ld_i_stat_complete_mandatory) = ' '.
 


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!