SAP FT_FIN_DOCUM_READ_BLOCKED_DOCU Function Module for NOTRANSL: Außenhandel: Dokumentengeschäft: Selektion gesperrte Belege
FT_FIN_DOCUM_READ_BLOCKED_DOCU is a standard ft fin docum read blocked docu 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: Dokumentengeschäft: Selektion gesperrte Belege 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 fin docum read blocked docu FM, simply by entering the name FT_FIN_DOCUM_READ_BLOCKED_DOCU into the relevant SAP transaction such as SE37 or SE38.
Function Group: VFDS
Program Name: SAPLVFDS
Main Program: SAPLVFDS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FT_FIN_DOCUM_READ_BLOCKED_DOCU 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_FIN_DOCUM_READ_BLOCKED_DOCU'"NOTRANSL: Außenhandel: Dokumentengeschäft: Selektion gesperrte Belege.
EXPORTING
* IP_ORDER = 'X' "
* IP_DELIV = ' ' "
* IP_VARI = "Layout
* IP_MSG = "Indicator if system shall display processing step
TABLES
* IT_VKORG = "
* IT_BAANR = "
* IT_AKKTP = "
* IT_AKART = "
* IT_VBELN = "
* ET_VBELN = "
* IT_VTWEG = "
* IT_SPART = "
* IT_VKBUR = "
* IT_VKGRP = "
* IT_ERNAM = "
* IT_KKBER = "
* IT_SBGRP = "
* IT_LCNUM = "
EXCEPTIONS
NO_ENTRIES_FOUND = 1
IMPORTING Parameters details for FT_FIN_DOCUM_READ_BLOCKED_DOCU
IP_ORDER -
Data type:Default: 'X'
Optional: Yes
Call by Reference: Yes
IP_DELIV -
Data type:Default: ' '
Optional: Yes
Call by Reference: Yes
IP_VARI - Layout
Data type: DISVARIANT-VARIANTOptional: Yes
Call by Reference: Yes
IP_MSG - Indicator if system shall display processing step
Data type: FTSEL-SHOW_MSGOptional: Yes
Call by Reference: Yes
TABLES Parameters details for FT_FIN_DOCUM_READ_BLOCKED_DOCU
IT_VKORG -
Data type: VFDS_RANGE_VKORGOptional: Yes
Call by Reference: Yes
IT_BAANR -
Data type: VFDS_RANGE_BAANROptional: Yes
Call by Reference: Yes
IT_AKKTP -
Data type: VFDS_RANGE_AKKTPOptional: Yes
Call by Reference: Yes
IT_AKART -
Data type: VFDS_RANGE_AKARTOptional: Yes
Call by Reference: Yes
IT_VBELN -
Data type: VFDS_RANGE_VBELNOptional: Yes
Call by Reference: Yes
ET_VBELN -
Data type: VFDS_ITAB_VBELNOptional: Yes
Call by Reference: Yes
IT_VTWEG -
Data type: VFDS_RANGE_VTWEGOptional: Yes
Call by Reference: Yes
IT_SPART -
Data type: VFDS_RANGE_SPARTOptional: Yes
Call by Reference: Yes
IT_VKBUR -
Data type: VFDS_RANGE_VKBUROptional: Yes
Call by Reference: Yes
IT_VKGRP -
Data type: VFDS_RANGE_VKGRPOptional: Yes
Call by Reference: Yes
IT_ERNAM -
Data type: VFDS_RANGE_ERNAMOptional: Yes
Call by Reference: Yes
IT_KKBER -
Data type: VFDS_RANGE_KKBEROptional: Yes
Call by Reference: Yes
IT_SBGRP -
Data type: VFDS_RANGE_SBGRPOptional: Yes
Call by Reference: Yes
IT_LCNUM -
Data type: VFDS_RANGE_LCNUMOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NO_ENTRIES_FOUND - No documents selected
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FT_FIN_DOCUM_READ_BLOCKED_DOCU 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_ip_order | TYPE STRING, " 'X' | |||
| lt_it_vkorg | TYPE STANDARD TABLE OF VFDS_RANGE_VKORG, " | |||
| lv_no_entries_found | TYPE VFDS_RANGE_VKORG, " | |||
| lt_it_baanr | TYPE STANDARD TABLE OF VFDS_RANGE_BAANR, " | |||
| lt_it_akktp | TYPE STANDARD TABLE OF VFDS_RANGE_AKKTP, " | |||
| lt_it_akart | TYPE STANDARD TABLE OF VFDS_RANGE_AKART, " | |||
| lt_it_vbeln | TYPE STANDARD TABLE OF VFDS_RANGE_VBELN, " | |||
| lt_et_vbeln | TYPE STANDARD TABLE OF VFDS_ITAB_VBELN, " | |||
| lv_ip_deliv | TYPE VFDS_ITAB_VBELN, " ' ' | |||
| lt_it_vtweg | TYPE STANDARD TABLE OF VFDS_RANGE_VTWEG, " | |||
| lv_ip_vari | TYPE DISVARIANT-VARIANT, " | |||
| lt_it_spart | TYPE STANDARD TABLE OF VFDS_RANGE_SPART, " | |||
| lv_ip_msg | TYPE FTSEL-SHOW_MSG, " | |||
| lt_it_vkbur | TYPE STANDARD TABLE OF VFDS_RANGE_VKBUR, " | |||
| lt_it_vkgrp | TYPE STANDARD TABLE OF VFDS_RANGE_VKGRP, " | |||
| lt_it_ernam | TYPE STANDARD TABLE OF VFDS_RANGE_ERNAM, " | |||
| lt_it_kkber | TYPE STANDARD TABLE OF VFDS_RANGE_KKBER, " | |||
| lt_it_sbgrp | TYPE STANDARD TABLE OF VFDS_RANGE_SBGRP, " | |||
| lt_it_lcnum | TYPE STANDARD TABLE OF VFDS_RANGE_LCNUM. " |
|   CALL FUNCTION 'FT_FIN_DOCUM_READ_BLOCKED_DOCU' "NOTRANSL: Außenhandel: Dokumentengeschäft: Selektion gesperrte Belege |
| EXPORTING | ||
| IP_ORDER | = lv_ip_order | |
| IP_DELIV | = lv_ip_deliv | |
| IP_VARI | = lv_ip_vari | |
| IP_MSG | = lv_ip_msg | |
| TABLES | ||
| IT_VKORG | = lt_it_vkorg | |
| IT_BAANR | = lt_it_baanr | |
| IT_AKKTP | = lt_it_akktp | |
| IT_AKART | = lt_it_akart | |
| IT_VBELN | = lt_it_vbeln | |
| ET_VBELN | = lt_et_vbeln | |
| IT_VTWEG | = lt_it_vtweg | |
| IT_SPART | = lt_it_spart | |
| IT_VKBUR | = lt_it_vkbur | |
| IT_VKGRP | = lt_it_vkgrp | |
| IT_ERNAM | = lt_it_ernam | |
| IT_KKBER | = lt_it_kkber | |
| IT_SBGRP | = lt_it_sbgrp | |
| IT_LCNUM | = lt_it_lcnum | |
| EXCEPTIONS | ||
| NO_ENTRIES_FOUND = 1 | ||
| . " FT_FIN_DOCUM_READ_BLOCKED_DOCU | ||
ABAP code using 7.40 inline data declarations to call FM FT_FIN_DOCUM_READ_BLOCKED_DOCU
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_ip_order) | = 'X'. | |||
| DATA(ld_ip_deliv) | = ' '. | |||
| "SELECT single VARIANT FROM DISVARIANT INTO @DATA(ld_ip_vari). | ||||
| "SELECT single SHOW_MSG FROM FTSEL INTO @DATA(ld_ip_msg). | ||||
Search for further information about these or an SAP related objects