SAP EXPIMP_ITEM_DATA_MAINTAIN Function Module for NOTRANSL: Pflege Positionsdaten Export/Import
EXPIMP_ITEM_DATA_MAINTAIN is a standard expimp item data maintain 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: Pflege Positionsdaten Export/Import 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 maintain FM, simply by entering the name EXPIMP_ITEM_DATA_MAINTAIN 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_ITEM_DATA_MAINTAIN 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_MAINTAIN'"NOTRANSL: Pflege Positionsdaten Export/Import.
EXPORTING
* ARKTX = ' ' "Material Short Text for Display
* I_INTERNET = "
* I_STAT_COMPLETE_MANDATORY = ' ' "
* I_REDUCED_UI = ' ' "
* CHARGE = ' ' "Identification of the batch if available
EXNUM = "Internal ID of Export Segments
EXPOS = "Item Number
HLAND = "Country of the exporting/importing company
* MATNR = ' ' "Material Number for Display
TRTYP = "Transaction type
* I_MFRNR = ' ' "
* I_FT_BASIS = ' ' "
IMPORTING
COMPLETE = "Indicator whether export/import data are complete
NEXNUM = "Reassigned ID of Export Data
P_FLAG = "Flag: Item Level
E_DATALOSS = "Flag: Dialog - Data Loss
E_FCODE = "Function Code
EXCEPTIONS
NO_EXPORT_DATA = 1
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_MAINTAIN
ARKTX - Material Short Text for Display
Data type: MAKT-MAKTXDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_INTERNET -
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
I_STAT_COMPLETE_MANDATORY -
Data type: CDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_REDUCED_UI -
Data type: XFELDDefault: ' '
Optional: Yes
Call by Reference: Yes
CHARGE - Identification of the batch if available
Data type: LIPS-CHARGDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXNUM - Internal ID of Export Segments
Data type: EIKP-EXNUMOptional: No
Call by Reference: No ( called with pass by value option)
EXPOS - Item Number
Data type: EIPO-EXPOSOptional: No
Call by Reference: No ( called with pass by value option)
HLAND - Country of the exporting/importing company
Data type: T001W-LAND1Optional: No
Call by Reference: No ( called with pass by value option)
MATNR - Material Number for Display
Data type: MARA-MATNRDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
TRTYP - Transaction type
Data type: T180-TRTYPOptional: No
Call by Reference: No ( called with pass by value option)
I_MFRNR -
Data type: EKPO-MFRNRDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_BASIS -
Data type: EIKP-AHBASDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EXPIMP_ITEM_DATA_MAINTAIN
COMPLETE - Indicator whether export/import data are complete
Data type: VBUP-UVALLOptional: No
Call by Reference: No ( called with pass by value option)
NEXNUM - Reassigned ID of Export Data
Data type: EIKP-EXNUMOptional: No
Call by Reference: No ( called with pass by value option)
P_FLAG - Flag: Item Level
Data type: RL50E-P_FLAGOptional: No
Call by Reference: No ( called with pass by value option)
E_DATALOSS - Flag: Dialog - Data Loss
Data type: R185D-DATALOSSOptional: No
Call by Reference: No ( called with pass by value option)
E_FCODE - Function Code
Data type: SY-UCOMMOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_EXPORT_DATA - There is no export data
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXPIMP_ITEM_DATA_MAINTAIN 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_arktx | TYPE MAKT-MAKTX, " ' ' | |||
| lv_complete | TYPE VBUP-UVALL, " | |||
| lv_no_export_data | TYPE VBUP, " | |||
| lv_i_internet | TYPE C, " | |||
| lv_i_stat_complete_mandatory | TYPE C, " ' ' | |||
| lv_i_reduced_ui | TYPE XFELD, " ' ' | |||
| lv_charge | TYPE LIPS-CHARG, " ' ' | |||
| lv_nexnum | TYPE EIKP-EXNUM, " | |||
| lv_exnum | TYPE EIKP-EXNUM, " | |||
| lv_p_flag | TYPE RL50E-P_FLAG, " | |||
| lv_expos | TYPE EIPO-EXPOS, " | |||
| lv_e_dataloss | TYPE R185D-DATALOSS, " | |||
| lv_hland | TYPE T001W-LAND1, " | |||
| lv_e_fcode | TYPE SY-UCOMM, " | |||
| lv_matnr | TYPE MARA-MATNR, " ' ' | |||
| lv_trtyp | TYPE T180-TRTYP, " | |||
| lv_i_mfrnr | TYPE EKPO-MFRNR, " ' ' | |||
| lv_i_ft_basis | TYPE EIKP-AHBAS. " ' ' |
|   CALL FUNCTION 'EXPIMP_ITEM_DATA_MAINTAIN' "NOTRANSL: Pflege Positionsdaten Export/Import |
| EXPORTING | ||
| ARKTX | = lv_arktx | |
| I_INTERNET | = lv_i_internet | |
| I_STAT_COMPLETE_MANDATORY | = lv_i_stat_complete_mandatory | |
| I_REDUCED_UI | = lv_i_reduced_ui | |
| CHARGE | = lv_charge | |
| EXNUM | = lv_exnum | |
| EXPOS | = lv_expos | |
| HLAND | = lv_hland | |
| MATNR | = lv_matnr | |
| TRTYP | = lv_trtyp | |
| I_MFRNR | = lv_i_mfrnr | |
| I_FT_BASIS | = lv_i_ft_basis | |
| IMPORTING | ||
| COMPLETE | = lv_complete | |
| NEXNUM | = lv_nexnum | |
| P_FLAG | = lv_p_flag | |
| E_DATALOSS | = lv_e_dataloss | |
| E_FCODE | = lv_e_fcode | |
| EXCEPTIONS | ||
| NO_EXPORT_DATA = 1 | ||
| . " EXPIMP_ITEM_DATA_MAINTAIN | ||
ABAP code using 7.40 inline data declarations to call FM EXPIMP_ITEM_DATA_MAINTAIN
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 MAKTX FROM MAKT INTO @DATA(ld_arktx). | ||||
| DATA(ld_arktx) | = ' '. | |||
| "SELECT single UVALL FROM VBUP INTO @DATA(ld_complete). | ||||
| DATA(ld_i_stat_complete_mandatory) | = ' '. | |||
| DATA(ld_i_reduced_ui) | = ' '. | |||
| "SELECT single CHARG FROM LIPS INTO @DATA(ld_charge). | ||||
| DATA(ld_charge) | = ' '. | |||
| "SELECT single EXNUM FROM EIKP INTO @DATA(ld_nexnum). | ||||
| "SELECT single EXNUM FROM EIKP INTO @DATA(ld_exnum). | ||||
| "SELECT single P_FLAG FROM RL50E INTO @DATA(ld_p_flag). | ||||
| "SELECT single EXPOS FROM EIPO INTO @DATA(ld_expos). | ||||
| "SELECT single DATALOSS FROM R185D INTO @DATA(ld_e_dataloss). | ||||
| "SELECT single LAND1 FROM T001W INTO @DATA(ld_hland). | ||||
| "SELECT single UCOMM FROM SY INTO @DATA(ld_e_fcode). | ||||
| "SELECT single MATNR FROM MARA INTO @DATA(ld_matnr). | ||||
| DATA(ld_matnr) | = ' '. | |||
| "SELECT single TRTYP FROM T180 INTO @DATA(ld_trtyp). | ||||
| "SELECT single MFRNR FROM EKPO INTO @DATA(ld_i_mfrnr). | ||||
| DATA(ld_i_mfrnr) | = ' '. | |||
| "SELECT single AHBAS FROM EIKP INTO @DATA(ld_i_ft_basis). | ||||
| DATA(ld_i_ft_basis) | = ' '. | |||
Search for further information about these or an SAP related objects