SAP FT_IMPORT_PROCESSING Function Module for Foreign Trade: Import Processing
FT_IMPORT_PROCESSING is a standard ft import processing SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Foreign Trade: Import Processing 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 ft import processing FM, simply by entering the name FT_IMPORT_PROCESSING into the relevant SAP transaction such as SE37 or SE38.
Function Group: VIMP
Program Name: SAPLVIMP
Main Program: SAPLVIMP
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function FT_IMPORT_PROCESSING 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 'FT_IMPORT_PROCESSING'"Foreign Trade: Import Processing.
EXPORTING
* I_FT_WERKS = "Plant
* I_FT_COIMP = "Import code number
* I_FT_PREKZ = "Preference Indicator
* I_FT_FKLMG = "Quantity
* I_FT_MEINS = "Unit of Measure
* I_FT_EXPRF = "Procedures
* I_FT_MAZTP = "Relevant time
* I_FT_KALSM = 'RMIMP0' "Pricing Procedure
* I_FT_HWAER = "Local Currency
* I_FT_WAERK = "Transaction Currency
* I_FT_EKORG = "Purchasing Organization
* I_FT_ELAND = "Importing ctry
* I_FT_BNR = "Document Number
* I_FT_POS = "
* I_SIMUL = ' ' "
* I_FT_REFLD = "Reference cntry
* I_FT_VERLD = "Country of dispatch
* I_FT_HERKL = "Country of Departure
* I_FT_AUSFU = "Exporter
* I_FT_HERSE = "Manufact.
* I_FT_LIFNR = "Vendor
* I_FT_MATNR = "Material Number
EXCEPTIONS
NO_T610R_ENTRY = 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_SAPLVIMP_001 User exit for import simulation default
IMPORTING Parameters details for FT_IMPORT_PROCESSING
I_FT_WERKS - Plant
Data type: RM52C-FT_WERKSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_COIMP - Import code number
Data type: RM52C-FT_COIMPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_PREKZ - Preference Indicator
Data type: RM52C-FT_PREKZOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_FKLMG - Quantity
Data type: RM52C-FT_FKLMGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_MEINS - Unit of Measure
Data type: RM52C-FT_MEINSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_EXPRF - Procedures
Data type: RM52C-FT_EXPRFOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_MAZTP - Relevant time
Data type: RM52C-FT_MAZTPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_KALSM - Pricing Procedure
Data type: RM52C-FT_KALSMDefault: 'RMIMP0'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_HWAER - Local Currency
Data type: RM52C-FT_HWAEROptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_WAERK - Transaction Currency
Data type: RM52C-FT_WAERKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_EKORG - Purchasing Organization
Data type: RM52C-FT_EKORGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_ELAND - Importing ctry
Data type: RM52C-FT_ELANDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_BNR - Document Number
Data type: RM52C-FT_BNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_POS -
Data type: RM52C-FT_POSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SIMUL -
Data type: CDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_REFLD - Reference cntry
Data type: RM52C-FT_REFLDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_VERLD - Country of dispatch
Data type: RM52C-FT_VERLDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_HERKL - Country of Departure
Data type: RM52C-FT_HERKLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_AUSFU - Exporter
Data type: RM52C-FT_AUSFUOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_HERSE - Manufact.
Data type: RM52C-FT_HERSEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_LIFNR - Vendor
Data type: RM52C-FT_LIFNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_FT_MATNR - Material Number
Data type: RM52C-FT_MATNROptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_T610R_ENTRY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FT_IMPORT_PROCESSING 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_ft_werks | TYPE RM52C-FT_WERKS, " | |||
lv_no_t610r_entry | TYPE RM52C, " | |||
lv_i_ft_coimp | TYPE RM52C-FT_COIMP, " | |||
lv_i_ft_prekz | TYPE RM52C-FT_PREKZ, " | |||
lv_i_ft_fklmg | TYPE RM52C-FT_FKLMG, " | |||
lv_i_ft_meins | TYPE RM52C-FT_MEINS, " | |||
lv_i_ft_exprf | TYPE RM52C-FT_EXPRF, " | |||
lv_i_ft_maztp | TYPE RM52C-FT_MAZTP, " | |||
lv_i_ft_kalsm | TYPE RM52C-FT_KALSM, " 'RMIMP0' | |||
lv_i_ft_hwaer | TYPE RM52C-FT_HWAER, " | |||
lv_i_ft_waerk | TYPE RM52C-FT_WAERK, " | |||
lv_i_ft_ekorg | TYPE RM52C-FT_EKORG, " | |||
lv_i_ft_eland | TYPE RM52C-FT_ELAND, " | |||
lv_i_ft_bnr | TYPE RM52C-FT_BNR, " | |||
lv_i_ft_pos | TYPE RM52C-FT_POS, " | |||
lv_i_simul | TYPE C, " ' ' | |||
lv_i_ft_refld | TYPE RM52C-FT_REFLD, " | |||
lv_i_ft_verld | TYPE RM52C-FT_VERLD, " | |||
lv_i_ft_herkl | TYPE RM52C-FT_HERKL, " | |||
lv_i_ft_ausfu | TYPE RM52C-FT_AUSFU, " | |||
lv_i_ft_herse | TYPE RM52C-FT_HERSE, " | |||
lv_i_ft_lifnr | TYPE RM52C-FT_LIFNR, " | |||
lv_i_ft_matnr | TYPE RM52C-FT_MATNR. " |
  CALL FUNCTION 'FT_IMPORT_PROCESSING' "Foreign Trade: Import Processing |
EXPORTING | ||
I_FT_WERKS | = lv_i_ft_werks | |
I_FT_COIMP | = lv_i_ft_coimp | |
I_FT_PREKZ | = lv_i_ft_prekz | |
I_FT_FKLMG | = lv_i_ft_fklmg | |
I_FT_MEINS | = lv_i_ft_meins | |
I_FT_EXPRF | = lv_i_ft_exprf | |
I_FT_MAZTP | = lv_i_ft_maztp | |
I_FT_KALSM | = lv_i_ft_kalsm | |
I_FT_HWAER | = lv_i_ft_hwaer | |
I_FT_WAERK | = lv_i_ft_waerk | |
I_FT_EKORG | = lv_i_ft_ekorg | |
I_FT_ELAND | = lv_i_ft_eland | |
I_FT_BNR | = lv_i_ft_bnr | |
I_FT_POS | = lv_i_ft_pos | |
I_SIMUL | = lv_i_simul | |
I_FT_REFLD | = lv_i_ft_refld | |
I_FT_VERLD | = lv_i_ft_verld | |
I_FT_HERKL | = lv_i_ft_herkl | |
I_FT_AUSFU | = lv_i_ft_ausfu | |
I_FT_HERSE | = lv_i_ft_herse | |
I_FT_LIFNR | = lv_i_ft_lifnr | |
I_FT_MATNR | = lv_i_ft_matnr | |
EXCEPTIONS | ||
NO_T610R_ENTRY = 1 | ||
. " FT_IMPORT_PROCESSING |
ABAP code using 7.40 inline data declarations to call FM FT_IMPORT_PROCESSING
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 FT_WERKS FROM RM52C INTO @DATA(ld_i_ft_werks). | ||||
"SELECT single FT_COIMP FROM RM52C INTO @DATA(ld_i_ft_coimp). | ||||
"SELECT single FT_PREKZ FROM RM52C INTO @DATA(ld_i_ft_prekz). | ||||
"SELECT single FT_FKLMG FROM RM52C INTO @DATA(ld_i_ft_fklmg). | ||||
"SELECT single FT_MEINS FROM RM52C INTO @DATA(ld_i_ft_meins). | ||||
"SELECT single FT_EXPRF FROM RM52C INTO @DATA(ld_i_ft_exprf). | ||||
"SELECT single FT_MAZTP FROM RM52C INTO @DATA(ld_i_ft_maztp). | ||||
"SELECT single FT_KALSM FROM RM52C INTO @DATA(ld_i_ft_kalsm). | ||||
DATA(ld_i_ft_kalsm) | = 'RMIMP0'. | |||
"SELECT single FT_HWAER FROM RM52C INTO @DATA(ld_i_ft_hwaer). | ||||
"SELECT single FT_WAERK FROM RM52C INTO @DATA(ld_i_ft_waerk). | ||||
"SELECT single FT_EKORG FROM RM52C INTO @DATA(ld_i_ft_ekorg). | ||||
"SELECT single FT_ELAND FROM RM52C INTO @DATA(ld_i_ft_eland). | ||||
"SELECT single FT_BNR FROM RM52C INTO @DATA(ld_i_ft_bnr). | ||||
"SELECT single FT_POS FROM RM52C INTO @DATA(ld_i_ft_pos). | ||||
DATA(ld_i_simul) | = ' '. | |||
"SELECT single FT_REFLD FROM RM52C INTO @DATA(ld_i_ft_refld). | ||||
"SELECT single FT_VERLD FROM RM52C INTO @DATA(ld_i_ft_verld). | ||||
"SELECT single FT_HERKL FROM RM52C INTO @DATA(ld_i_ft_herkl). | ||||
"SELECT single FT_AUSFU FROM RM52C INTO @DATA(ld_i_ft_ausfu). | ||||
"SELECT single FT_HERSE FROM RM52C INTO @DATA(ld_i_ft_herse). | ||||
"SELECT single FT_LIFNR FROM RM52C INTO @DATA(ld_i_ft_lifnr). | ||||
"SELECT single FT_MATNR FROM RM52C INTO @DATA(ld_i_ft_matnr). | ||||
Search for further information about these or an SAP related objects