SAP FT_IMP_EXP_COMMODITY_CODE_HELP Function Module for NOTRANSL: Außenhandel: Importabwicklung: F4-Hilfe für Stat. Warennr. / Imp
FT_IMP_EXP_COMMODITY_CODE_HELP is a standard ft imp exp commodity code help 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: Außenhandel: Importabwicklung: F4-Hilfe für Stat. Warennr. / Imp 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 imp exp commodity code help FM, simply by entering the name FT_IMP_EXP_COMMODITY_CODE_HELP into the relevant SAP transaction such as SE37 or SE38.
Function Group: VIMP
Program Name: SAPLVIMP
Main Program: SAPLVIMP
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FT_IMP_EXP_COMMODITY_CODE_HELP 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_IMP_EXP_COMMODITY_CODE_HELP'"NOTRANSL: Außenhandel: Importabwicklung: F4-Hilfe für Stat. Warennr. / Imp.
EXPORTING
I_COUNTRY = "Country Key
I_DIRECTION = "
I_LANGUAGE = "Language of Text
IMPORTING
E_COMMODITY_CODE = "
E_COMMODITY_TEXT = "
EXCEPTIONS
NO_ENTRIES_FOUND = 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_IMP_EXP_COMMODITY_CODE_HELP
I_COUNTRY - Country Key
Data type: T604-LAND1Optional: No
Call by Reference: No ( called with pass by value option)
I_DIRECTION -
Data type: T604-NIHONOptional: No
Call by Reference: No ( called with pass by value option)
I_LANGUAGE - Language of Text
Data type: T604T-SPRASOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FT_IMP_EXP_COMMODITY_CODE_HELP
E_COMMODITY_CODE -
Data type: T604-STAWNOptional: No
Call by Reference: No ( called with pass by value option)
E_COMMODITY_TEXT -
Data type: T604T-TEXT1Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_ENTRIES_FOUND - No entries found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FT_IMP_EXP_COMMODITY_CODE_HELP 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_country | TYPE T604-LAND1, " | |||
| lv_e_commodity_code | TYPE T604-STAWN, " | |||
| lv_no_entries_found | TYPE T604, " | |||
| lv_i_direction | TYPE T604-NIHON, " | |||
| lv_e_commodity_text | TYPE T604T-TEXT1, " | |||
| lv_i_language | TYPE T604T-SPRAS. " |
|   CALL FUNCTION 'FT_IMP_EXP_COMMODITY_CODE_HELP' "NOTRANSL: Außenhandel: Importabwicklung: F4-Hilfe für Stat. Warennr. / Imp |
| EXPORTING | ||
| I_COUNTRY | = lv_i_country | |
| I_DIRECTION | = lv_i_direction | |
| I_LANGUAGE | = lv_i_language | |
| IMPORTING | ||
| E_COMMODITY_CODE | = lv_e_commodity_code | |
| E_COMMODITY_TEXT | = lv_e_commodity_text | |
| EXCEPTIONS | ||
| NO_ENTRIES_FOUND = 1 | ||
| . " FT_IMP_EXP_COMMODITY_CODE_HELP | ||
ABAP code using 7.40 inline data declarations to call FM FT_IMP_EXP_COMMODITY_CODE_HELP
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 LAND1 FROM T604 INTO @DATA(ld_i_country). | ||||
| "SELECT single STAWN FROM T604 INTO @DATA(ld_e_commodity_code). | ||||
| "SELECT single NIHON FROM T604 INTO @DATA(ld_i_direction). | ||||
| "SELECT single TEXT1 FROM T604T INTO @DATA(ld_e_commodity_text). | ||||
| "SELECT single SPRAS FROM T604T INTO @DATA(ld_i_language). | ||||
Search for further information about these or an SAP related objects