SAP FT_CONTROL_BLOCKED_DOCS_SELECT Function Module for NOTRANSL: Außenhandel: Gesetzliche Kontrolle: Datenselektion: Gesperrte Be









FT_CONTROL_BLOCKED_DOCS_SELECT is a standard ft control blocked docs select 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: Gesetzliche Kontrolle: Datenselektion: Gesperrte Be 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 control blocked docs select FM, simply by entering the name FT_CONTROL_BLOCKED_DOCS_SELECT into the relevant SAP transaction such as SE37 or SE38.

Function Group: VFCS
Program Name: SAPLVFCS
Main Program: SAPLVFCS
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FT_CONTROL_BLOCKED_DOCS_SELECT 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_CONTROL_BLOCKED_DOCS_SELECT'"NOTRANSL: Außenhandel: Gesetzliche Kontrolle: Datenselektion: Gesperrte Be
EXPORTING
* I_BOYCO = 'X' "
* I_EMBAR = 'X' "
* I_LICEN = 'X' "
* I_ABGRU = "
* I_ORDER = 'X' "
* I_DELIV = "
* I_MSG = "
* I_PACKAGE_SIZE = "

TABLES
* T_RANGE_VKORG = "
* T_VBAK = "
* T_VBAP = "
* T_VBPA = "
* T_TJ02T = "System Status Texts
* T_DD07V = "
* T_TVAKT = "
* T_LIKP = "Delivery Header Data
* T_LIPS = "Delivery Item Data
* T_TVLKT = "
* T_RANGE_VTWEG = "
* T_RANGE_SPART = "
* T_RANGE_VKBUR = "
* T_RANGE_VKGRP = "
* T_RANGE_VBELN = "
* T_RANGE_ERDAT = "
* T_RANGE_ERNAM = "
* T_JEST = "Individual Status per Object

EXCEPTIONS
SALES_DOCS_AND_DELIVERIES = 1 NO_DATA_SELECTED = 2 NO_BLOCKING_REASON = 3 NO_PROT_FOR_DELIVERIES = 4 NO_DATA_AUTHORITY_CHECK = 5
.



IMPORTING Parameters details for FT_CONTROL_BLOCKED_DOCS_SELECT

I_BOYCO -

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

I_EMBAR -

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

I_LICEN -

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

I_ABGRU -

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

I_ORDER -

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

I_DELIV -

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

I_MSG -

Data type: FTSEL-SHOW_MSG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PACKAGE_SIZE -

Data type: SY-TABIX
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FT_CONTROL_BLOCKED_DOCS_SELECT

T_RANGE_VKORG -

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

T_VBAK -

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

T_VBAP -

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

T_VBPA -

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

T_TJ02T - System Status Texts

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

T_DD07V -

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

T_TVAKT -

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

T_LIKP - Delivery Header Data

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

T_LIPS - Delivery Item Data

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

T_TVLKT -

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

T_RANGE_VTWEG -

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

T_RANGE_SPART -

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

T_RANGE_VKBUR -

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

T_RANGE_VKGRP -

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

T_RANGE_VBELN -

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

T_RANGE_ERDAT -

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

T_RANGE_ERNAM -

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

T_JEST - Individual Status per Object

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

EXCEPTIONS details

SALES_DOCS_AND_DELIVERIES -

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

NO_DATA_SELECTED -

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

NO_BLOCKING_REASON -

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

NO_PROT_FOR_DELIVERIES -

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

NO_DATA_AUTHORITY_CHECK -

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

Copy and paste ABAP code example for FT_CONTROL_BLOCKED_DOCS_SELECT 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_boyco  TYPE STRING, "   'X'
lt_t_range_vkorg  TYPE STANDARD TABLE OF VFCS_RANGE_VKORG, "   
lv_sales_docs_and_deliveries  TYPE VFCS_RANGE_VKORG, "   
lt_t_vbak  TYPE STANDARD TABLE OF VBAK, "   
lt_t_vbap  TYPE STANDARD TABLE OF VBAP, "   
lt_t_vbpa  TYPE STANDARD TABLE OF VBPA, "   
lt_t_tj02t  TYPE STANDARD TABLE OF TJ02T, "   
lt_t_dd07v  TYPE STANDARD TABLE OF DD07V, "   
lt_t_tvakt  TYPE STANDARD TABLE OF TVAKT, "   
lt_t_likp  TYPE STANDARD TABLE OF LIKP, "   
lt_t_lips  TYPE STANDARD TABLE OF LIPS, "   
lt_t_tvlkt  TYPE STANDARD TABLE OF TVLKT, "   
lv_i_embar  TYPE TVLKT, "   'X'
lt_t_range_vtweg  TYPE STANDARD TABLE OF VFCS_RANGE_VTWEG, "   
lv_no_data_selected  TYPE VFCS_RANGE_VTWEG, "   
lv_i_licen  TYPE VFCS_RANGE_VTWEG, "   'X'
lt_t_range_spart  TYPE STANDARD TABLE OF VFCS_RANGE_SPART, "   
lv_no_blocking_reason  TYPE VFCS_RANGE_SPART, "   
lv_i_abgru  TYPE VFCS_RANGE_SPART, "   
lt_t_range_vkbur  TYPE STANDARD TABLE OF VFCS_RANGE_VKBUR, "   
lv_no_prot_for_deliveries  TYPE VFCS_RANGE_VKBUR, "   
lv_i_order  TYPE VFCS_RANGE_VKBUR, "   'X'
lt_t_range_vkgrp  TYPE STANDARD TABLE OF VFCS_RANGE_VKGRP, "   
lv_no_data_authority_check  TYPE VFCS_RANGE_VKGRP, "   
lv_i_deliv  TYPE VFCS_RANGE_VKGRP, "   
lt_t_range_vbeln  TYPE STANDARD TABLE OF VFCS_RANGE_VBELN, "   
lv_i_msg  TYPE FTSEL-SHOW_MSG, "   
lt_t_range_erdat  TYPE STANDARD TABLE OF VFCS_RANGE_ERDAT, "   
lt_t_range_ernam  TYPE STANDARD TABLE OF VFCS_RANGE_ERNAM, "   
lv_i_package_size  TYPE SY-TABIX, "   
lt_t_jest  TYPE STANDARD TABLE OF JEST. "   

  CALL FUNCTION 'FT_CONTROL_BLOCKED_DOCS_SELECT'  "NOTRANSL: Außenhandel: Gesetzliche Kontrolle: Datenselektion: Gesperrte Be
    EXPORTING
         I_BOYCO = lv_i_boyco
         I_EMBAR = lv_i_embar
         I_LICEN = lv_i_licen
         I_ABGRU = lv_i_abgru
         I_ORDER = lv_i_order
         I_DELIV = lv_i_deliv
         I_MSG = lv_i_msg
         I_PACKAGE_SIZE = lv_i_package_size
    TABLES
         T_RANGE_VKORG = lt_t_range_vkorg
         T_VBAK = lt_t_vbak
         T_VBAP = lt_t_vbap
         T_VBPA = lt_t_vbpa
         T_TJ02T = lt_t_tj02t
         T_DD07V = lt_t_dd07v
         T_TVAKT = lt_t_tvakt
         T_LIKP = lt_t_likp
         T_LIPS = lt_t_lips
         T_TVLKT = lt_t_tvlkt
         T_RANGE_VTWEG = lt_t_range_vtweg
         T_RANGE_SPART = lt_t_range_spart
         T_RANGE_VKBUR = lt_t_range_vkbur
         T_RANGE_VKGRP = lt_t_range_vkgrp
         T_RANGE_VBELN = lt_t_range_vbeln
         T_RANGE_ERDAT = lt_t_range_erdat
         T_RANGE_ERNAM = lt_t_range_ernam
         T_JEST = lt_t_jest
    EXCEPTIONS
        SALES_DOCS_AND_DELIVERIES = 1
        NO_DATA_SELECTED = 2
        NO_BLOCKING_REASON = 3
        NO_PROT_FOR_DELIVERIES = 4
        NO_DATA_AUTHORITY_CHECK = 5
. " FT_CONTROL_BLOCKED_DOCS_SELECT




ABAP code using 7.40 inline data declarations to call FM FT_CONTROL_BLOCKED_DOCS_SELECT

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_boyco) = 'X'.
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_embar) = 'X'.
 
 
 
DATA(ld_i_licen) = 'X'.
 
 
 
 
 
 
DATA(ld_i_order) = 'X'.
 
 
 
 
 
"SELECT single SHOW_MSG FROM FTSEL INTO @DATA(ld_i_msg).
 
 
 
"SELECT single TABIX FROM SY INTO @DATA(ld_i_package_size).
 
 


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!