SAP EXIT_SAPLV50E_004 Function Module for MM document - Item: User exit for import item data default









EXIT_SAPLV50E_004 is a standard exit saplv50e 004 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for MM document - Item: User exit for import item data default 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 exit saplv50e 004 FM, simply by entering the name EXIT_SAPLV50E_004 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLV50E_004 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 'EXIT_SAPLV50E_004'"MM document - Item: User exit for import item data default
EXPORTING
* I_PURCHASE_ORDER_HEADER = "Field string: Document header - Purchase order
* I_PURCHASE_ORDER_LINE_ITEM = "Field string: Document item - Purchase order
* I_PURCH_INFO_RECORD_GENERAL = "Field string: Purchasing info record - General data
* I_PURCH_INFO_RECORD_PURCH_ORG = "Field string: Purchasing info - Purchasing organization data

CHANGING
* C_IMPORT_LINE_ITEM_DATA = "Field string: Import item data (complete)
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
/SPE/EXPIMP_SET_XEIKP
EXPIMP_ADDITIONAL_DATA_FETCH NOTRANSL: Außenhandel: Ermitteln von zusätzlichen, abhängigen Daten
EXPIMP_BUS_TRANS_CUST_PROC_DET NOTRANSL: Außenhandel: Ermittlung der Geschäftsart T605Z und des Verfahren
EXPIMP_COMPLETENESS_DETERMINE NOTRANSL: Außenhandel: Prüfen der Außenhandelsdaten auf Vollständigkeit
EXPIMP_COM_DATA_MAINTAIN NOTRANSL: Pflege der Export/Import Kommunikationsdaten
EXPIMP_COM_EIEI_UPDATE_PREPARE NOTRANSL: Außenhandel: Erzeugen/Pflegen der EIEI-Einträge aus Druckverarbe
EXPIMP_DATA_COMPLETENESS_CHECK NOTRANSL: Außenhandel: Vollständigkeitsprüf. der Außenhandelsdaten im Expo
EXPIMP_DATA_MAINTAIN NOTRANSL: Dezentrale Pflege der Außenhandelsdaten
EXPIMP_DOCUMENT_UPDATE NOTRANSL: Außenhandel: Updaten von Belegen bezüglich der EXNUM
EXPIMP_GENERAL_DATA_CHANGE NOTRANSL: Ändern Daten Aussenhandelssegment Kopf
EXPIMP_GENERAL_DATA_COPY NOTRANSL: Kopieren Kopfdaten Export/Import
EXPIMP_GENERAL_DATA_MAINTAIN NOTRANSL: Pflege Kopfdaten Export/Import
EXPIMP_GENERAL_DATA_MODIFY NOTRANSL: Ändern Daten Aussenhandelssegment Kopf
EXPIMP_GENERAL_DATA_READ NOTRANSL: Liest die Export/Import-Daten des Kopfes
EXPIMP_HEADER_TEXTS_FETCH NOTRANSL: Außenhandelsabwicklung in SD-/MM-Belegen: Ermitteln der Kopftext
EXPIMP_INCOMPL_DATA_DISPLAY NOTRANSL: Außenhandel: Anzeige des Unvollstaendigkeitsprotokolls
EXPIMP_ITEM_DATA_COPY NOTRANSL: Kopieren Positionsdaten Export/Import
EXPIMP_ITEM_DATA_MAINTAIN NOTRANSL: Pflege Positionsdaten Export/Import
EXPIMP_ITEM_DATA_OVERVIEW NOTRANSL: Außenhandelsdaten pflegen (Beleg)
EXPIMP_ITEM_DATA_READ NOTRANSL: Liest die Export/Import-Daten zur Position
EXPIMP_ITEM_VALUE_MAINTAIN NOTRANSL: Pflege Grenzuebergangswert Export/Import
EXPIMP_LINE_ITEM_TEXTS_FETCH NOTRANSL: Außenhandelsabwicklung in SD-/MM-Belegen: Ermitteln der Position
EXPIMP_MASS_DATA_READ NOTRANSL: Außenhandel: Prüfen der Außenhandelskopfdaten auf Vollständigkei
EXPIMP_MASS_DATA_RETRIEVE NOTRANSL: Außenhandel: Prüfen der Außenhandelskopfdaten auf Vollständigkei
EXPIMP_POSTING NOTRANSL: Außenhandel: Verbuchung Exportdaten / Importdaten in Belegen
EXPIMP_POSTING_TRIGGER NOTRANSL: Außenhandel: Anstoß Verbuchung Exportdaten/Importdaten in Belege
EXPIMP_RENUMBER NOTRANSL: EXNUM in XEIKP und XEIPO wird ersetzt
EXPIMP_TABLES_EXPORT NOTRANSL: Exportieren der verwalteten Tabellen der Exportdaten ins Memory
EXPIMP_TABLES_IMPORT NOTRANSL: Importieren der Tabellen mit Exportdaten aus dem Memory
EXPIMP_TABLES_REFRESH NOTRANSL: Refresh der Tabellen für Export/Importdaten
EXPORT_GENERAL_DATA_PROPOSE NOTRANSL: Vorschlag von Exportdaten für den gesamten Vorgang
EXPORT_ITEM_DATA_PROPOSE NOTRANSL: Vorschlag von Exportdaten für die Position
FTRADE_DATA_MNT_TS_FUNCT_CODE NOTRANSL: Außenhandel: Pflege Daten Export / Import auf TabStrips: Übergab
FTRADE_HEADER_DATA_MNT_TS_PAI NOTRANSL: Außenhandel: Pflege Kopfdaten Export / Import auf TabStrips
FTRADE_HEADER_DATA_MNT_TS_PBO NOTRANSL: Außenhandel: Pflege Kopfdaten Export / Import auf TabStrips
FTRADE_ITEM_DATA_MNT_TS_PAI NOTRANSL: Außenhandel: Pflege Positionsdaten Export / Import auf TabStrips
FTRADE_ITEM_DATA_MNT_TS_PBO NOTRANSL: Außenhandel: Pflege Positionsdaten Export / Import auf TabStrips
IMPORT_GENERAL_DATA_PROPOSE NOTRANSL: Vorschlag von Importdaten für den gesamten Vorgang
IMPORT_GOODS_RECEIPT_GENERAL NOTRANSL: Außenhandel: Importdaten am Wareneingang: Kopfdaten
IMPORT_GOODS_RECEIPT_LINE_ITEM NOTRANSL: Außenhandel: Importdaten am Wareneingang: Kopfdaten
IMPORT_ITEM_DATA_PROPOSE NOTRANSL: Vorschlag von Importdaten für die Position
TEST_STRIP NOTRANSL: Test Strip

IMPORTING Parameters details for EXIT_SAPLV50E_004

I_PURCHASE_ORDER_HEADER - Field string: Document header - Purchase order

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

I_PURCHASE_ORDER_LINE_ITEM - Field string: Document item - Purchase order

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

I_PURCH_INFO_RECORD_GENERAL - Field string: Purchasing info record - General data

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

I_PURCH_INFO_RECORD_PURCH_ORG - Field string: Purchasing info - Purchasing organization data

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

CHANGING Parameters details for EXIT_SAPLV50E_004

C_IMPORT_LINE_ITEM_DATA - Field string: Import item data (complete)

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

Copy and paste ABAP code example for EXIT_SAPLV50E_004 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_c_import_line_item_data  TYPE EIPO, "   
lv_i_purchase_order_header  TYPE EKKO, "   
lv_i_purchase_order_line_item  TYPE EKPO, "   
lv_i_purch_info_record_general  TYPE EINA, "   
lv_i_purch_info_record_purch_org  TYPE EINE. "   

  CALL FUNCTION 'EXIT_SAPLV50E_004'  "MM document - Item: User exit for import item data default
    EXPORTING
         I_PURCHASE_ORDER_HEADER = lv_i_purchase_order_header
         I_PURCHASE_ORDER_LINE_ITEM = lv_i_purchase_order_line_item
         I_PURCH_INFO_RECORD_GENERAL = lv_i_purch_info_record_general
         I_PURCH_INFO_RECORD_PURCH_ORG = lv_i_purch_info_record_purch_org
    CHANGING
         C_IMPORT_LINE_ITEM_DATA = lv_c_import_line_item_data
. " EXIT_SAPLV50E_004




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLV50E_004

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.

 
 
 
 
 


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!