SAP FT_PROCESS_CONTROL_DATA_FETCH Function Module for NOTRANSL: Außenhandel: Ermitteln der Steuerungsdaten für Import / Export
FT_PROCESS_CONTROL_DATA_FETCH is a standard ft process control data fetch 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: Ermitteln der Steuerungsdaten für Import / Export 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 process control data fetch FM, simply by entering the name FT_PROCESS_CONTROL_DATA_FETCH into the relevant SAP transaction such as SE37 or SE38.
Function Group: VFTC
Program Name: SAPLVFTC
Main Program:
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FT_PROCESS_CONTROL_DATA_FETCH 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_PROCESS_CONTROL_DATA_FETCH'"NOTRANSL: Außenhandel: Ermitteln der Steuerungsdaten für Import / Export.
EXPORTING
I_COUNTRY = "Country Key
* I_DIRECTION = '2' "Indicator: Goods direction for declarations to authorities
IMPORTING
E_CONTROL_DATA = "Foreign Trade: Control Export/Import Data in SD/MM Document
EXCEPTIONS
ENTRY_NOT_FOUND = 1 WRONG_DIRECTION = 2
IMPORTING Parameters details for FT_PROCESS_CONTROL_DATA_FETCH
I_COUNTRY - Country Key
Data type: T609S-LAND1Optional: No
Call by Reference: No ( called with pass by value option)
I_DIRECTION - Indicator: Goods direction for declarations to authorities
Data type: T609S-VEREIDefault: '2'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FT_PROCESS_CONTROL_DATA_FETCH
E_CONTROL_DATA - Foreign Trade: Control Export/Import Data in SD/MM Document
Data type: T609SOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ENTRY_NOT_FOUND - No Entry Available
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_DIRECTION - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FT_PROCESS_CONTROL_DATA_FETCH 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 T609S-LAND1, " | |||
| lv_e_control_data | TYPE T609S, " | |||
| lv_entry_not_found | TYPE T609S, " | |||
| lv_i_direction | TYPE T609S-VEREI, " '2' | |||
| lv_wrong_direction | TYPE T609S. " |
|   CALL FUNCTION 'FT_PROCESS_CONTROL_DATA_FETCH' "NOTRANSL: Außenhandel: Ermitteln der Steuerungsdaten für Import / Export |
| EXPORTING | ||
| I_COUNTRY | = lv_i_country | |
| I_DIRECTION | = lv_i_direction | |
| IMPORTING | ||
| E_CONTROL_DATA | = lv_e_control_data | |
| EXCEPTIONS | ||
| ENTRY_NOT_FOUND = 1 | ||
| WRONG_DIRECTION = 2 | ||
| . " FT_PROCESS_CONTROL_DATA_FETCH | ||
ABAP code using 7.40 inline data declarations to call FM FT_PROCESS_CONTROL_DATA_FETCH
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 T609S INTO @DATA(ld_i_country). | ||||
| "SELECT single VEREI FROM T609S INTO @DATA(ld_i_direction). | ||||
| DATA(ld_i_direction) | = '2'. | |||
Search for further information about these or an SAP related objects