FT_IMPORT_PROCESSING is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name FT_IMPORT_PROCESSING into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
VIMP
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FT_IMPORT_PROCESSING' "Foreign Trade: Import Processing
* EXPORTING
* i_ft_werks = " rm52c-ft_werks Plant
* i_ft_eland = " rm52c-ft_eland Importing ctry
* i_ft_refld = " rm52c-ft_refld Reference cntry
* i_ft_verld = " rm52c-ft_verld Country of dispatch
* i_ft_herkl = " rm52c-ft_herkl Country of Departure
* i_ft_ausfu = " rm52c-ft_ausfu Exporter
* i_ft_herse = " rm52c-ft_herse Manufact.
* i_ft_lifnr = " rm52c-ft_lifnr Vendor
* i_ft_matnr = " rm52c-ft_matnr Material Number
* i_ft_coimp = " rm52c-ft_coimp Import code number
* i_ft_prekz = " rm52c-ft_prekz Preference Indicator
* i_ft_fklmg = " rm52c-ft_fklmg Quantity
* i_ft_meins = " rm52c-ft_meins Unit of Measure
* i_ft_exprf = " rm52c-ft_exprf Procedures
* i_ft_maztp = " rm52c-ft_maztp Relevant time
* i_ft_kalsm = 'RMIMP0' " rm52c-ft_kalsm Pricing Procedure
* i_ft_hwaer = " rm52c-ft_hwaer Local Currency
* i_ft_waerk = " rm52c-ft_waerk Transaction Currency
* i_ft_ekorg = " rm52c-ft_ekorg Purchasing Organization
* i_ft_bnr = " rm52c-ft_bnr Document Number
* i_ft_pos = " rm52c-ft_pos
* i_simul = ' ' " c
EXCEPTIONS
NO_T610R_ENTRY = 1 "
. " FT_IMPORT_PROCESSING
The ABAP code below is a full code listing to execute function module FT_IMPORT_PROCESSING including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
DATA(ld_i_ft_werks) = some text here
DATA(ld_i_ft_eland) = some text here
DATA(ld_i_ft_refld) = some text here
DATA(ld_i_ft_verld) = some text here
DATA(ld_i_ft_herkl) = some text here
DATA(ld_i_ft_ausfu) = some text here
DATA(ld_i_ft_herse) = some text here
DATA(ld_i_ft_lifnr) = some text here
DATA(ld_i_ft_matnr) = some text here
DATA(ld_i_ft_coimp) = some text here
DATA(ld_i_ft_prekz) = some text here
DATA(ld_i_ft_fklmg) = Check type of data required
DATA(ld_i_ft_meins) = Check type of data required
DATA(ld_i_ft_exprf) = some text here
DATA(ld_i_ft_maztp) = 20210129
DATA(ld_i_ft_kalsm) = some text here
DATA(ld_i_ft_hwaer) = Check type of data required
DATA(ld_i_ft_waerk) = Check type of data required
DATA(ld_i_ft_ekorg) = some text here
DATA(ld_i_ft_bnr) = some text here
DATA(ld_i_ft_pos) = Check type of data required
DATA(ld_i_simul) = 'Check type of data required'. . CALL FUNCTION 'FT_IMPORT_PROCESSING' * EXPORTING * i_ft_werks = ld_i_ft_werks * i_ft_eland = ld_i_ft_eland * i_ft_refld = ld_i_ft_refld * i_ft_verld = ld_i_ft_verld * i_ft_herkl = ld_i_ft_herkl * i_ft_ausfu = ld_i_ft_ausfu * i_ft_herse = ld_i_ft_herse * i_ft_lifnr = ld_i_ft_lifnr * i_ft_matnr = ld_i_ft_matnr * i_ft_coimp = ld_i_ft_coimp * i_ft_prekz = ld_i_ft_prekz * i_ft_fklmg = ld_i_ft_fklmg * i_ft_meins = ld_i_ft_meins * i_ft_exprf = ld_i_ft_exprf * i_ft_maztp = ld_i_ft_maztp * i_ft_kalsm = ld_i_ft_kalsm * i_ft_hwaer = ld_i_ft_hwaer * i_ft_waerk = ld_i_ft_waerk * i_ft_ekorg = ld_i_ft_ekorg * i_ft_bnr = ld_i_ft_bnr * i_ft_pos = ld_i_ft_pos * i_simul = ld_i_simul EXCEPTIONS NO_T610R_ENTRY = 1 . " FT_IMPORT_PROCESSING
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_i_ft_werks | TYPE RM52C-FT_WERKS , |
| ld_i_ft_eland | TYPE RM52C-FT_ELAND , |
| ld_i_ft_refld | TYPE RM52C-FT_REFLD , |
| ld_i_ft_verld | TYPE RM52C-FT_VERLD , |
| ld_i_ft_herkl | TYPE RM52C-FT_HERKL , |
| ld_i_ft_ausfu | TYPE RM52C-FT_AUSFU , |
| ld_i_ft_herse | TYPE RM52C-FT_HERSE , |
| ld_i_ft_lifnr | TYPE RM52C-FT_LIFNR , |
| ld_i_ft_matnr | TYPE RM52C-FT_MATNR , |
| ld_i_ft_coimp | TYPE RM52C-FT_COIMP , |
| ld_i_ft_prekz | TYPE RM52C-FT_PREKZ , |
| ld_i_ft_fklmg | TYPE RM52C-FT_FKLMG , |
| ld_i_ft_meins | TYPE RM52C-FT_MEINS , |
| ld_i_ft_exprf | TYPE RM52C-FT_EXPRF , |
| ld_i_ft_maztp | TYPE RM52C-FT_MAZTP , |
| ld_i_ft_kalsm | TYPE RM52C-FT_KALSM , |
| ld_i_ft_hwaer | TYPE RM52C-FT_HWAER , |
| ld_i_ft_waerk | TYPE RM52C-FT_WAERK , |
| ld_i_ft_ekorg | TYPE RM52C-FT_EKORG , |
| ld_i_ft_bnr | TYPE RM52C-FT_BNR , |
| ld_i_ft_pos | TYPE RM52C-FT_POS , |
| ld_i_simul | TYPE C . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FT_IMPORT_PROCESSING or its description.