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

Function FT_FIN_DOCUM_ASS_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_FIN_DOCUM_ASS_DOCS_SELECT'"NOTRANSL: Außenhandel: Dokumentengeschäft: Datenselektion: Zugeordnete Bel.
EXPORTING
I_VBELA = "Select Orders
I_VBELL = "Select Deliveries
I_VBELF = "
* I_MSG = "
TABLES
* IT_RANGE_BUKRS = "
* IT_RANGE_VBELL = "
* IT_RANGE_VBELF = "
* IT_RANGE_AYDAT = "
* IT_RANGE_AHDAT = "
* ET_AKKP = "
* ET_AKKB = "
* ET_VBAK = "
* ET_VBAP = "
* ET_VBKD = "
* ET_LIKP = "
* IT_RANGE_LCNUM = "
* ET_VBRK = "
* ET_VBPA = "
* ET_DD07V = "
* IT_RANGE_BAANR = "
* IT_RANGE_AKKTP = "
* IT_RANGE_AKART = "
* IT_RANGE_AKKST = "Select Options for Status
* IT_RANGE_KUNNR = "
* IT_RANGE_WAEMP = "
* IT_RANGE_VBELA = "
EXCEPTIONS
NO_DATA_SELECTED = 1 NO_DATA_AUTHORITY_CHECK = 2
IMPORTING Parameters details for FT_FIN_DOCUM_ASS_DOCS_SELECT
I_VBELA - Select Orders
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
I_VBELL - Select Deliveries
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
I_VBELF -
Data type:Optional: 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_FIN_DOCUM_ASS_DOCS_SELECT
IT_RANGE_BUKRS -
Data type: VFDS_RANGE_BUKRSOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_VBELL -
Data type: VFDS_RANGE_BELNROptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_VBELF -
Data type: VFDS_RANGE_BELNROptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_AYDAT -
Data type: VFDS_RANGE_DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_AHDAT -
Data type: VFDS_RANGE_DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_AKKP -
Data type: VFDSAKKPOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_AKKB -
Data type: AKKBOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_VBAK -
Data type: VBAKOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_VBAP -
Data type: VBAPOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_VBKD -
Data type: VFDSVBKDOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_LIKP -
Data type: LIKPOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_LCNUM -
Data type: VFDS_RANGE_LCNUMOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_VBRK -
Data type: VBRKOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_VBPA -
Data type: VBPAOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_DD07V -
Data type: DD07VOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_BAANR -
Data type: VFDS_RANGE_BAANROptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_AKKTP -
Data type: VFDS_RANGE_AKKTPOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_AKART -
Data type: VFDS_RANGE_AKARTOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_AKKST - Select Options for Status
Data type: VFDS_RANGE_AKKSTOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_KUNNR -
Data type: VFDS_RANGE_KUNNROptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_WAEMP -
Data type: VFDS_RANGE_KUNNROptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_VBELA -
Data type: VFDS_RANGE_BELNROptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_DATA_SELECTED -
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_FIN_DOCUM_ASS_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_vbela | TYPE STRING, " | |||
| lt_it_range_bukrs | TYPE STANDARD TABLE OF VFDS_RANGE_BUKRS, " | |||
| lv_no_data_selected | TYPE VFDS_RANGE_BUKRS, " | |||
| lt_it_range_vbell | TYPE STANDARD TABLE OF VFDS_RANGE_BELNR, " | |||
| lt_it_range_vbelf | TYPE STANDARD TABLE OF VFDS_RANGE_BELNR, " | |||
| lt_it_range_aydat | TYPE STANDARD TABLE OF VFDS_RANGE_DATUM, " | |||
| lt_it_range_ahdat | TYPE STANDARD TABLE OF VFDS_RANGE_DATUM, " | |||
| lt_et_akkp | TYPE STANDARD TABLE OF VFDSAKKP, " | |||
| lt_et_akkb | TYPE STANDARD TABLE OF AKKB, " | |||
| lt_et_vbak | TYPE STANDARD TABLE OF VBAK, " | |||
| lt_et_vbap | TYPE STANDARD TABLE OF VBAP, " | |||
| lt_et_vbkd | TYPE STANDARD TABLE OF VFDSVBKD, " | |||
| lt_et_likp | TYPE STANDARD TABLE OF LIKP, " | |||
| lv_i_vbell | TYPE LIKP, " | |||
| lt_it_range_lcnum | TYPE STANDARD TABLE OF VFDS_RANGE_LCNUM, " | |||
| lv_no_data_authority_check | TYPE VFDS_RANGE_LCNUM, " | |||
| lt_et_vbrk | TYPE STANDARD TABLE OF VBRK, " | |||
| lt_et_vbpa | TYPE STANDARD TABLE OF VBPA, " | |||
| lt_et_dd07v | TYPE STANDARD TABLE OF DD07V, " | |||
| lv_i_vbelf | TYPE DD07V, " | |||
| lt_it_range_baanr | TYPE STANDARD TABLE OF VFDS_RANGE_BAANR, " | |||
| lv_i_msg | TYPE FTSEL-SHOW_MSG, " | |||
| lt_it_range_akktp | TYPE STANDARD TABLE OF VFDS_RANGE_AKKTP, " | |||
| lt_it_range_akart | TYPE STANDARD TABLE OF VFDS_RANGE_AKART, " | |||
| lt_it_range_akkst | TYPE STANDARD TABLE OF VFDS_RANGE_AKKST, " | |||
| lt_it_range_kunnr | TYPE STANDARD TABLE OF VFDS_RANGE_KUNNR, " | |||
| lt_it_range_waemp | TYPE STANDARD TABLE OF VFDS_RANGE_KUNNR, " | |||
| lt_it_range_vbela | TYPE STANDARD TABLE OF VFDS_RANGE_BELNR. " |
|   CALL FUNCTION 'FT_FIN_DOCUM_ASS_DOCS_SELECT' "NOTRANSL: Außenhandel: Dokumentengeschäft: Datenselektion: Zugeordnete Bel |
| EXPORTING | ||
| I_VBELA | = lv_i_vbela | |
| I_VBELL | = lv_i_vbell | |
| I_VBELF | = lv_i_vbelf | |
| I_MSG | = lv_i_msg | |
| TABLES | ||
| IT_RANGE_BUKRS | = lt_it_range_bukrs | |
| IT_RANGE_VBELL | = lt_it_range_vbell | |
| IT_RANGE_VBELF | = lt_it_range_vbelf | |
| IT_RANGE_AYDAT | = lt_it_range_aydat | |
| IT_RANGE_AHDAT | = lt_it_range_ahdat | |
| ET_AKKP | = lt_et_akkp | |
| ET_AKKB | = lt_et_akkb | |
| ET_VBAK | = lt_et_vbak | |
| ET_VBAP | = lt_et_vbap | |
| ET_VBKD | = lt_et_vbkd | |
| ET_LIKP | = lt_et_likp | |
| IT_RANGE_LCNUM | = lt_it_range_lcnum | |
| ET_VBRK | = lt_et_vbrk | |
| ET_VBPA | = lt_et_vbpa | |
| ET_DD07V | = lt_et_dd07v | |
| IT_RANGE_BAANR | = lt_it_range_baanr | |
| IT_RANGE_AKKTP | = lt_it_range_akktp | |
| IT_RANGE_AKART | = lt_it_range_akart | |
| IT_RANGE_AKKST | = lt_it_range_akkst | |
| IT_RANGE_KUNNR | = lt_it_range_kunnr | |
| IT_RANGE_WAEMP | = lt_it_range_waemp | |
| IT_RANGE_VBELA | = lt_it_range_vbela | |
| EXCEPTIONS | ||
| NO_DATA_SELECTED = 1 | ||
| NO_DATA_AUTHORITY_CHECK = 2 | ||
| . " FT_FIN_DOCUM_ASS_DOCS_SELECT | ||
ABAP code using 7.40 inline data declarations to call FM FT_FIN_DOCUM_ASS_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.| "SELECT single SHOW_MSG FROM FTSEL INTO @DATA(ld_i_msg). | ||||
Search for further information about these or an SAP related objects