SAP IMPORT_GENERAL_DATA_PROPOSE Function Module for NOTRANSL: Vorschlag von Importdaten für den gesamten Vorgang









IMPORT_GENERAL_DATA_PROPOSE is a standard import general data propose 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: Vorschlag von Importdaten für den gesamten Vorgang 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 import general data propose FM, simply by entering the name IMPORT_GENERAL_DATA_PROPOSE into the relevant SAP transaction such as SE37 or SE38.

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



Function IMPORT_GENERAL_DATA_PROPOSE 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 'IMPORT_GENERAL_DATA_PROPOSE'"NOTRANSL: Vorschlag von Importdaten für den gesamten Vorgang
EXPORTING
EXNUM = "Internal identification of import segments
* I_FT_BASIS = ' ' "
HLAND = "Local country of the importing com
I_EXPVZ = "Mode of transport from vendor master
I_ZOLLA = "Office of exit from vendor master
* I_AUSFU = ' ' "
* I_AUSFU_WERKS = ' ' "
* I_LFA1 = ' ' "Vendor Master
* I_EKKO = ' ' "Purchasing Document Header
* I_IMPLAND = ' ' "

IMPORTING
COMPLETE = "Indicator whether import data is complete
NEXNUM = "Internal identification of import segments
E_DATALOSS = "Flag: Dialog - Data Loss
.




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 IMPORT_GENERAL_DATA_PROPOSE

EXNUM - Internal identification of import segments

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

I_FT_BASIS -

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

HLAND - Local country of the importing com

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

I_EXPVZ - Mode of transport from vendor master

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

I_ZOLLA - Office of exit from vendor master

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

I_AUSFU -

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

I_AUSFU_WERKS -

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

I_LFA1 - Vendor Master

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

I_EKKO - Purchasing Document Header

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

I_IMPLAND -

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

EXPORTING Parameters details for IMPORT_GENERAL_DATA_PROPOSE

COMPLETE - Indicator whether import data is complete

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

NEXNUM - Internal identification of import segments

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

E_DATALOSS - Flag: Dialog - Data Loss

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

Copy and paste ABAP code example for IMPORT_GENERAL_DATA_PROPOSE 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 EIKP-EXNUM, "   
lv_complete  TYPE VBUP-UVALL, "   
lv_i_ft_basis  TYPE EIKP-AHBAS, "   ' '
lv_hland  TYPE T001W-LAND1, "   
lv_nexnum  TYPE EIKP-EXNUM, "   
lv_i_expvz  TYPE LFM1-EXPVZ, "   
lv_e_dataloss  TYPE R185D-DATALOSS, "   
lv_i_zolla  TYPE LFM1-ZOLLA, "   
lv_i_ausfu  TYPE EKKO-LIFNR, "   ' '
lv_i_ausfu_werks  TYPE T001W-WERKS, "   ' '
lv_i_lfa1  TYPE LFA1, "   ' '
lv_i_ekko  TYPE EKKO, "   ' '
lv_i_impland  TYPE LFA1-LAND1. "   ' '

  CALL FUNCTION 'IMPORT_GENERAL_DATA_PROPOSE'  "NOTRANSL: Vorschlag von Importdaten für den gesamten Vorgang
    EXPORTING
         EXNUM = lv_exnum
         I_FT_BASIS = lv_i_ft_basis
         HLAND = lv_hland
         I_EXPVZ = lv_i_expvz
         I_ZOLLA = lv_i_zolla
         I_AUSFU = lv_i_ausfu
         I_AUSFU_WERKS = lv_i_ausfu_werks
         I_LFA1 = lv_i_lfa1
         I_EKKO = lv_i_ekko
         I_IMPLAND = lv_i_impland
    IMPORTING
         COMPLETE = lv_complete
         NEXNUM = lv_nexnum
         E_DATALOSS = lv_e_dataloss
. " IMPORT_GENERAL_DATA_PROPOSE




ABAP code using 7.40 inline data declarations to call FM IMPORT_GENERAL_DATA_PROPOSE

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 EIKP INTO @DATA(ld_exnum).
 
"SELECT single UVALL FROM VBUP INTO @DATA(ld_complete).
 
"SELECT single AHBAS FROM EIKP INTO @DATA(ld_i_ft_basis).
DATA(ld_i_ft_basis) = ' '.
 
"SELECT single LAND1 FROM T001W INTO @DATA(ld_hland).
 
"SELECT single EXNUM FROM EIKP INTO @DATA(ld_nexnum).
 
"SELECT single EXPVZ FROM LFM1 INTO @DATA(ld_i_expvz).
 
"SELECT single DATALOSS FROM R185D INTO @DATA(ld_e_dataloss).
 
"SELECT single ZOLLA FROM LFM1 INTO @DATA(ld_i_zolla).
 
"SELECT single LIFNR FROM EKKO INTO @DATA(ld_i_ausfu).
DATA(ld_i_ausfu) = ' '.
 
"SELECT single WERKS FROM T001W INTO @DATA(ld_i_ausfu_werks).
DATA(ld_i_ausfu_werks) = ' '.
 
DATA(ld_i_lfa1) = ' '.
 
DATA(ld_i_ekko) = ' '.
 
"SELECT single LAND1 FROM LFA1 INTO @DATA(ld_i_impland).
DATA(ld_i_impland) = ' '.
 


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!