SAP FT_LIST_LEGAL_CONTROL_ASS_DOCS Function Module for NOTRANSL: Außenhandel: Listanzeige: Gesetzliche Kontrolle: Zugeordnete Bel
FT_LIST_LEGAL_CONTROL_ASS_DOCS is a standard ft list legal control ass docs 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: Listanzeige: Gesetzliche Kontrolle: Zugeordnete Bel 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 list legal control ass docs FM, simply by entering the name FT_LIST_LEGAL_CONTROL_ASS_DOCS into the relevant SAP transaction such as SE37 or SE38.
Function Group: VFLD
Program Name: SAPLVFLD
Main Program: SAPLVFLD
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FT_LIST_LEGAL_CONTROL_ASS_DOCS 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_LIST_LEGAL_CONTROL_ASS_DOCS'"NOTRANSL: Außenhandel: Listanzeige: Gesetzliche Kontrolle: Zugeordnete Bel.
EXPORTING
* I_VARIANT = "Layout for ALV
I_REPORT = "Name of current report
* I_MSG = "
TABLES
* T_VBAK = "
* T_VBAP = "Table With Order Items
* T_VBPA = "
* T_VBKD = "
* T_VBEX = "
* T_EMBK = "
* T_DD07V = "
* T_ALV_KO = "
* T_ALV_PO = "
EXCEPTIONS
ALV_ERROR = 1
IMPORTING Parameters details for FT_LIST_LEGAL_CONTROL_ASS_DOCS
I_VARIANT - Layout for ALV
Data type: DISVARIANT-VARIANTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_REPORT - Name of current report
Data type: SY-REPIDOptional: No
Call by Reference: No ( called with pass by value option)
I_MSG -
Data type: FTSEL-SHOW_MSGOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FT_LIST_LEGAL_CONTROL_ASS_DOCS
T_VBAK -
Data type: VBAKOptional: Yes
Call by Reference: No ( called with pass by value option)
T_VBAP - Table With Order Items
Data type: VBAPOptional: Yes
Call by Reference: No ( called with pass by value option)
T_VBPA -
Data type: VBPAOptional: Yes
Call by Reference: No ( called with pass by value option)
T_VBKD -
Data type: VBKDOptional: Yes
Call by Reference: No ( called with pass by value option)
T_VBEX -
Data type: VBEXOptional: Yes
Call by Reference: No ( called with pass by value option)
T_EMBK -
Data type: EMBKOptional: Yes
Call by Reference: No ( called with pass by value option)
T_DD07V -
Data type: DD07VOptional: Yes
Call by Reference: No ( called with pass by value option)
T_ALV_KO -
Data type: RVEXAU01_KOptional: Yes
Call by Reference: No ( called with pass by value option)
T_ALV_PO -
Data type: RVEXAU01_POptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ALV_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FT_LIST_LEGAL_CONTROL_ASS_DOCS 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: | ||||
| lt_t_vbak | TYPE STANDARD TABLE OF VBAK, " | |||
| lv_alv_error | TYPE VBAK, " | |||
| lv_i_variant | TYPE DISVARIANT-VARIANT, " | |||
| lt_t_vbap | TYPE STANDARD TABLE OF VBAP, " | |||
| lv_i_report | TYPE SY-REPID, " | |||
| lv_i_msg | TYPE FTSEL-SHOW_MSG, " | |||
| lt_t_vbpa | TYPE STANDARD TABLE OF VBPA, " | |||
| lt_t_vbkd | TYPE STANDARD TABLE OF VBKD, " | |||
| lt_t_vbex | TYPE STANDARD TABLE OF VBEX, " | |||
| lt_t_embk | TYPE STANDARD TABLE OF EMBK, " | |||
| lt_t_dd07v | TYPE STANDARD TABLE OF DD07V, " | |||
| lt_t_alv_ko | TYPE STANDARD TABLE OF RVEXAU01_K, " | |||
| lt_t_alv_po | TYPE STANDARD TABLE OF RVEXAU01_P. " |
|   CALL FUNCTION 'FT_LIST_LEGAL_CONTROL_ASS_DOCS' "NOTRANSL: Außenhandel: Listanzeige: Gesetzliche Kontrolle: Zugeordnete Bel |
| EXPORTING | ||
| I_VARIANT | = lv_i_variant | |
| I_REPORT | = lv_i_report | |
| I_MSG | = lv_i_msg | |
| TABLES | ||
| T_VBAK | = lt_t_vbak | |
| T_VBAP | = lt_t_vbap | |
| T_VBPA | = lt_t_vbpa | |
| T_VBKD | = lt_t_vbkd | |
| T_VBEX | = lt_t_vbex | |
| T_EMBK | = lt_t_embk | |
| T_DD07V | = lt_t_dd07v | |
| T_ALV_KO | = lt_t_alt_ko | |
| T_ALV_PO | = lt_t_alt_po | |
| EXCEPTIONS | ||
| ALV_ERROR = 1 | ||
| . " FT_LIST_LEGAL_CONTROL_ASS_DOCS | ||
ABAP code using 7.40 inline data declarations to call FM FT_LIST_LEGAL_CONTROL_ASS_DOCS
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 VARIANT FROM DISVARIANT INTO @DATA(ld_i_variant). | ||||
| "SELECT single REPID FROM SY INTO @DATA(ld_i_report). | ||||
| "SELECT single SHOW_MSG FROM FTSEL INTO @DATA(ld_i_msg). | ||||
Search for further information about these or an SAP related objects