SAP FT_IMPORT_DOCUMENTS Function Module for NOTRANSL: Außenhandel: Importabwicklung - Dokumente ermitteln









FT_IMPORT_DOCUMENTS is a standard ft import documents 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 - Dokumente ermitteln 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 documents FM, simply by entering the name FT_IMPORT_DOCUMENTS 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_IMPORT_DOCUMENTS 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_DOCUMENTS'"NOTRANSL: Außenhandel: Importabwicklung - Dokumente ermitteln
EXPORTING
* I_PROTOKOLL_JA_NEIN = 'X' "
I_INT_STRUC_IMP_DATA = "Transfer structure

TABLES
T_INT_TAB_T610FE = "

EXCEPTIONS
NO_ENTRY_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_IMPORT_DOCUMENTS

I_PROTOKOLL_JA_NEIN -

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

I_INT_STRUC_IMP_DATA - Transfer structure

Data type: VIMP_IMP_DATA
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FT_IMPORT_DOCUMENTS

T_INT_TAB_T610FE -

Data type: T610FE
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NO_ENTRY_FOUND - No Entry Found

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

Copy and paste ABAP code example for FT_IMPORT_DOCUMENTS 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_no_entry_found  TYPE STRING, "   
lt_t_int_tab_t610fe  TYPE STANDARD TABLE OF T610FE, "   
lv_i_protokoll_ja_nein  TYPE C, "   'X'
lv_i_int_struc_imp_data  TYPE VIMP_IMP_DATA. "   

  CALL FUNCTION 'FT_IMPORT_DOCUMENTS'  "NOTRANSL: Außenhandel: Importabwicklung - Dokumente ermitteln
    EXPORTING
         I_PROTOKOLL_JA_NEIN = lv_i_protokoll_ja_nein
         I_INT_STRUC_IMP_DATA = lv_i_int_struc_imp_data
    TABLES
         T_INT_TAB_T610FE = lt_t_int_tab_t610fe
    EXCEPTIONS
        NO_ENTRY_FOUND = 1
. " FT_IMPORT_DOCUMENTS




ABAP code using 7.40 inline data declarations to call FM FT_IMPORT_DOCUMENTS

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.

 
 
DATA(ld_i_protokoll_ja_nein) = 'X'.
 
 


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!