SAP FT_FIN_DOCUM_FDOCUMENTS_SELECT Function Module for NOTRANSL: Außenhandel: Dokumentengeschäft: Datenselektion: Exist. Finanzdo
FT_FIN_DOCUM_FDOCUMENTS_SELECT is a standard ft fin docum fdocuments 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: Exist. Finanzdo 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 fdocuments select FM, simply by entering the name FT_FIN_DOCUM_FDOCUMENTS_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_FDOCUMENTS_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_FDOCUMENTS_SELECT'"NOTRANSL: Außenhandel: Dokumentengeschäft: Datenselektion: Exist. Finanzdo.
EXPORTING
* I_PRZAB = "
* I_SEL_BANKS = "
* I_SEL_DOCS = "Select Documents
* I_MSG = "
* I_PACKAGE_SIZE = "
TABLES
* IT_RANGE_BUKRS = "Select Options for Company Code
* IT_RANGE_BAFKT = "
* IT_RANGE_WAERS = "
* IT_RANGE_KUNNR = "
* IT_RANGE_WAEMP = "
* IT_RANGE_AIDAT = "
* IT_RANGE_AXDAT = "
* IT_RANGE_AYDAT = "
* IT_RANGE_AHDAT = "
* ET_AKKP = "
* ET_AKKB = "
* IT_RANGE_LCNUM = "
* ET_BNKA = "
* ET_T607BT = "
* ET_AKKD = "
* ET_T005T = "Country Names
* ET_DD07V = "
* IT_RANGE_BAANR = "
* IT_RANGE_AKKTP = "
* IT_RANGE_AKART = "
* IT_RANGE_AKKST = "Select Options for Status
* IT_RANGE_REFLC = "
* IT_RANGE_BANKL = "
* IT_RANGE_BANKS = "
EXCEPTIONS
NO_DATA_SELECTED = 1 NO_DATA_AUTHORITY_CHECK = 2
IMPORTING Parameters details for FT_FIN_DOCUM_FDOCUMENTS_SELECT
I_PRZAB -
Data type: RV86E-PR_GESAMTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SEL_BANKS -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SEL_DOCS - Select Documents
Data type:Optional: Yes
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)
I_PACKAGE_SIZE -
Data type: SY-TABIXOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FT_FIN_DOCUM_FDOCUMENTS_SELECT
IT_RANGE_BUKRS - Select Options for Company Code
Data type: VFDS_RANGE_BUKRSOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_BAFKT -
Data type: VFDS_RANGE_BAFKTOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_WAERS -
Data type: VFDS_RANGE_WAERSOptional: Yes
Call by Reference: Yes
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_AIDAT -
Data type: VFDS_RANGE_DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_AXDAT -
Data type: VFDS_RANGE_DATUMOptional: 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)
IT_RANGE_LCNUM -
Data type: VFDS_RANGE_LCNUMOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_BNKA -
Data type: BNKAOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_T607BT -
Data type: T607BTOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_AKKD -
Data type: AKKDOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_T005T - Country Names
Data type: T005TOptional: 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_REFLC -
Data type: VFDS_RANGE_REFLCNUMOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_BANKL -
Data type: VFDS_RANGE_BANKLOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RANGE_BANKS -
Data type: VFDS_RANGE_BANKSOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_DATA_SELECTED - No data was 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_FDOCUMENTS_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_przab | TYPE RV86E-PR_GESAMT, " | |||
| lt_it_range_bukrs | TYPE STANDARD TABLE OF VFDS_RANGE_BUKRS, " | |||
| lv_no_data_selected | TYPE VFDS_RANGE_BUKRS, " | |||
| lt_it_range_bafkt | TYPE STANDARD TABLE OF VFDS_RANGE_BAFKT, " | |||
| lt_it_range_waers | TYPE STANDARD TABLE OF VFDS_RANGE_WAERS, " | |||
| 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_aidat | TYPE STANDARD TABLE OF VFDS_RANGE_DATUM, " | |||
| lt_it_range_axdat | TYPE STANDARD TABLE OF VFDS_RANGE_DATUM, " | |||
| 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, " | |||
| lv_i_sel_banks | TYPE AKKB, " | |||
| lt_it_range_lcnum | TYPE STANDARD TABLE OF VFDS_RANGE_LCNUM, " | |||
| lv_no_data_authority_check | TYPE VFDS_RANGE_LCNUM, " | |||
| lt_et_bnka | TYPE STANDARD TABLE OF BNKA, " | |||
| lt_et_t607bt | TYPE STANDARD TABLE OF T607BT, " | |||
| lt_et_akkd | TYPE STANDARD TABLE OF AKKD, " | |||
| lt_et_t005t | TYPE STANDARD TABLE OF T005T, " | |||
| lt_et_dd07v | TYPE STANDARD TABLE OF DD07V, " | |||
| lv_i_sel_docs | 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, " | |||
| lv_i_package_size | TYPE SY-TABIX, " | |||
| lt_it_range_akkst | TYPE STANDARD TABLE OF VFDS_RANGE_AKKST, " | |||
| lt_it_range_reflc | TYPE STANDARD TABLE OF VFDS_RANGE_REFLCNUM, " | |||
| lt_it_range_bankl | TYPE STANDARD TABLE OF VFDS_RANGE_BANKL, " | |||
| lt_it_range_banks | TYPE STANDARD TABLE OF VFDS_RANGE_BANKS. " |
|   CALL FUNCTION 'FT_FIN_DOCUM_FDOCUMENTS_SELECT' "NOTRANSL: Außenhandel: Dokumentengeschäft: Datenselektion: Exist. Finanzdo |
| EXPORTING | ||
| I_PRZAB | = lv_i_przab | |
| I_SEL_BANKS | = lv_i_sel_banks | |
| I_SEL_DOCS | = lv_i_sel_docs | |
| I_MSG | = lv_i_msg | |
| I_PACKAGE_SIZE | = lv_i_package_size | |
| TABLES | ||
| IT_RANGE_BUKRS | = lt_it_range_bukrs | |
| IT_RANGE_BAFKT | = lt_it_range_bafkt | |
| IT_RANGE_WAERS | = lt_it_range_waers | |
| IT_RANGE_KUNNR | = lt_it_range_kunnr | |
| IT_RANGE_WAEMP | = lt_it_range_waemp | |
| IT_RANGE_AIDAT | = lt_it_range_aidat | |
| IT_RANGE_AXDAT | = lt_it_range_axdat | |
| IT_RANGE_AYDAT | = lt_it_range_aydat | |
| IT_RANGE_AHDAT | = lt_it_range_ahdat | |
| ET_AKKP | = lt_et_akkp | |
| ET_AKKB | = lt_et_akkb | |
| IT_RANGE_LCNUM | = lt_it_range_lcnum | |
| ET_BNKA | = lt_et_bnka | |
| ET_T607BT | = lt_et_t607bt | |
| ET_AKKD | = lt_et_akkd | |
| ET_T005T | = lt_et_t005t | |
| 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_REFLC | = lt_it_range_reflc | |
| IT_RANGE_BANKL | = lt_it_range_bankl | |
| IT_RANGE_BANKS | = lt_it_range_banks | |
| EXCEPTIONS | ||
| NO_DATA_SELECTED = 1 | ||
| NO_DATA_AUTHORITY_CHECK = 2 | ||
| . " FT_FIN_DOCUM_FDOCUMENTS_SELECT | ||
ABAP code using 7.40 inline data declarations to call FM FT_FIN_DOCUM_FDOCUMENTS_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 PR_GESAMT FROM RV86E INTO @DATA(ld_i_przab). | ||||
| "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