SAP EXPIMP_COM_EIEI_UPDATE_PREPARE Function Module for NOTRANSL: Außenhandel: Erzeugen/Pflegen der EIEI-Einträge aus Druckverarbe









EXPIMP_COM_EIEI_UPDATE_PREPARE is a standard expimp com eiei update prepare 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: Erzeugen/Pflegen der EIEI-Einträge aus Druckverarbe 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 com eiei update prepare FM, simply by entering the name EXPIMP_COM_EIEI_UPDATE_PREPARE 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 EXPIMP_COM_EIEI_UPDATE_PREPARE 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_COM_EIEI_UPDATE_PREPARE'"NOTRANSL: Außenhandel: Erzeugen/Pflegen der EIEI-Einträge aus Druckverarbe
EXPORTING
* EXNUM = "
* NACAR = "
* PREFA = "
* VORPA = "
* AHDMA = "
* FTPTY = "
* BEHOE = "
* ERDAT = "
* ERZET = "
* ERNAM = "
* MABJJ = "
* EXPOS = "
* MABMM = "
* MABWR = "
* MABNR = "
* STADU = "
* UPDKZ = "
* WERKS_LAND1 = "
* EIEI_COMPRESS_DATA = "
GET_XEIEI_YEIEI = "
* I_YEIEI = "
* AHBAS = "Basis document category for foreign trade processing
* AHAPP = "
* KAPPL = "Application
* KSCHL = "Message Type
* REFNR = "
* REFPS = "
* DOKNU = "Foreign Trade: Printing - Document Number
.




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_COM_EIEI_UPDATE_PREPARE

EXNUM -

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

NACAR -

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

PREFA -

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

VORPA -

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

AHDMA -

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

FTPTY -

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

BEHOE -

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

ERDAT -

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

ERZET -

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

ERNAM -

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

MABJJ -

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

EXPOS -

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

MABMM -

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

MABWR -

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

MABNR -

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

STADU -

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

UPDKZ -

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

WERKS_LAND1 -

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

EIEI_COMPRESS_DATA -

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

GET_XEIEI_YEIEI -

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

I_YEIEI -

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

AHBAS - Basis document category for foreign trade processing

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

AHAPP -

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

KAPPL - Application

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

KSCHL - Message Type

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

REFNR -

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

REFPS -

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

DOKNU - Foreign Trade: Printing - Document Number

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

Copy and paste ABAP code example for EXPIMP_COM_EIEI_UPDATE_PREPARE 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_exnum  TYPE EIEI-EXNUM, "   
lv_nacar  TYPE EIEI-NACAR, "   
lv_prefa  TYPE EIEI-PREFA, "   
lv_vorpa  TYPE EIEI-VORPA, "   
lv_ahdma  TYPE EIEI-AHDMA, "   
lv_ftpty  TYPE EIEI-FTPTY, "   
lv_behoe  TYPE EIEI-BEHOE, "   
lv_erdat  TYPE EIEI-ERDAT, "   
lv_erzet  TYPE EIEI-ERZET, "   
lv_ernam  TYPE EIEI-ERNAM, "   
lv_mabjj  TYPE EIEI-MABJJ, "   
lv_expos  TYPE EIEI-EXPOS, "   
lv_mabmm  TYPE EIEI-MABMM, "   
lv_mabwr  TYPE EIEI-MABWR, "   
lv_mabnr  TYPE EIEI-MABNR, "   
lv_stadu  TYPE EIEI-STADU, "   
lv_updkz  TYPE EIEI, "   
lv_werks_land1  TYPE T001W-LAND1, "   
lv_eiei_compress_data  TYPE T001W, "   
lv_get_xeiei_yeiei  TYPE T001W, "   
lv_i_yeiei  TYPE EIEIVB, "   
lv_ahbas  TYPE EIEI-AHBAS, "   
lv_ahapp  TYPE EIEI-AHAPP, "   
lv_kappl  TYPE EIEI-KAPPL, "   
lv_kschl  TYPE EIEI-KSCHL, "   
lv_refnr  TYPE EIEI-REFNR, "   
lv_refps  TYPE EIEI-REFPS, "   
lv_doknu  TYPE EIEI-DOKNU. "   

  CALL FUNCTION 'EXPIMP_COM_EIEI_UPDATE_PREPARE'  "NOTRANSL: Außenhandel: Erzeugen/Pflegen der EIEI-Einträge aus Druckverarbe
    EXPORTING
         EXNUM = lv_exnum
         NACAR = lv_nacar
         PREFA = lv_prefa
         VORPA = lv_vorpa
         AHDMA = lv_ahdma
         FTPTY = lv_ftpty
         BEHOE = lv_behoe
         ERDAT = lv_erdat
         ERZET = lv_erzet
         ERNAM = lv_ernam
         MABJJ = lv_mabjj
         EXPOS = lv_expos
         MABMM = lv_mabmm
         MABWR = lv_mabwr
         MABNR = lv_mabnr
         STADU = lv_stadu
         UPDKZ = lv_updkz
         WERKS_LAND1 = lv_werks_land1
         EIEI_COMPRESS_DATA = lv_eiei_compress_data
         GET_XEIEI_YEIEI = lv_get_xeiei_yeiei
         I_YEIEI = lv_i_yeiei
         AHBAS = lv_ahbas
         AHAPP = lv_ahapp
         KAPPL = lv_kappl
         KSCHL = lv_kschl
         REFNR = lv_refnr
         REFPS = lv_refps
         DOKNU = lv_doknu
. " EXPIMP_COM_EIEI_UPDATE_PREPARE




ABAP code using 7.40 inline data declarations to call FM EXPIMP_COM_EIEI_UPDATE_PREPARE

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 EIEI INTO @DATA(ld_exnum).
 
"SELECT single NACAR FROM EIEI INTO @DATA(ld_nacar).
 
"SELECT single PREFA FROM EIEI INTO @DATA(ld_prefa).
 
"SELECT single VORPA FROM EIEI INTO @DATA(ld_vorpa).
 
"SELECT single AHDMA FROM EIEI INTO @DATA(ld_ahdma).
 
"SELECT single FTPTY FROM EIEI INTO @DATA(ld_ftpty).
 
"SELECT single BEHOE FROM EIEI INTO @DATA(ld_behoe).
 
"SELECT single ERDAT FROM EIEI INTO @DATA(ld_erdat).
 
"SELECT single ERZET FROM EIEI INTO @DATA(ld_erzet).
 
"SELECT single ERNAM FROM EIEI INTO @DATA(ld_ernam).
 
"SELECT single MABJJ FROM EIEI INTO @DATA(ld_mabjj).
 
"SELECT single EXPOS FROM EIEI INTO @DATA(ld_expos).
 
"SELECT single MABMM FROM EIEI INTO @DATA(ld_mabmm).
 
"SELECT single MABWR FROM EIEI INTO @DATA(ld_mabwr).
 
"SELECT single MABNR FROM EIEI INTO @DATA(ld_mabnr).
 
"SELECT single STADU FROM EIEI INTO @DATA(ld_stadu).
 
 
"SELECT single LAND1 FROM T001W INTO @DATA(ld_werks_land1).
 
 
 
 
"SELECT single AHBAS FROM EIEI INTO @DATA(ld_ahbas).
 
"SELECT single AHAPP FROM EIEI INTO @DATA(ld_ahapp).
 
"SELECT single KAPPL FROM EIEI INTO @DATA(ld_kappl).
 
"SELECT single KSCHL FROM EIEI INTO @DATA(ld_kschl).
 
"SELECT single REFNR FROM EIEI INTO @DATA(ld_refnr).
 
"SELECT single REFPS FROM EIEI INTO @DATA(ld_refps).
 
"SELECT single DOKNU FROM EIEI INTO @DATA(ld_doknu).
 


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!