SAP FM_FI_MASS_DOCS_SELECT Function Module for
FM_FI_MASS_DOCS_SELECT is a standard fm fi mass 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 to perform a specific ABAP function and below is the pattern details, 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 fm fi mass docs select FM, simply by entering the name FM_FI_MASS_DOCS_SELECT into the relevant SAP transaction such as SE37 or SE38.
Function Group: F0KK
Program Name: SAPLF0KK
Main Program: SAPLF0KK
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FM_FI_MASS_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 'FM_FI_MASS_DOCS_SELECT'".
EXPORTING
I_FAEDT = "Net due date
I_REVERSE = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* I_BELNR = "Accounting Document Number
I_PSOTY = "Document category payment requests
TABLES
I_R_BUKRS = "Structure of a range table for a character (4) field
* I_R_XREF1 = "Structure of a Range Table for a 12 Character Field
E_T_PSOWF = "Structure for List Representation of Request Headers
I_R_BELNR = "Structure of a Range Table for a Character (20) Field
I_R_GJAHR = "Structure of a range table for a character (4) field
I_R_BLART = "Structure of a Range Table for a Two Character Field
I_R_BUDAT = "Structure of a range table for a character (8) field
I_R_MONAT = "Structure of a Range Table for a Two Character Field
* I_R_ZFBDT = "Structure of a range table for a character (8) field
* I_R_KUNNR = "Structure of a Range Table for a (10) Character Field
* I_R_LIFNR = "Structure of a Range Table for a (10) Character Field
IMPORTING Parameters details for FM_FI_MASS_DOCS_SELECT
I_FAEDT - Net due date
Data type: PSOWF-FAEDTOptional: No
Call by Reference: No ( called with pass by value option)
I_REVERSE - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEOptional: No
Call by Reference: No ( called with pass by value option)
I_BELNR - Accounting Document Number
Data type: PSO02-BELNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_PSOTY - Document category payment requests
Data type: BKPF-PSOTYOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FM_FI_MASS_DOCS_SELECT
I_R_BUKRS - Structure of a range table for a character (4) field
Data type: RANGE_C4Optional: No
Call by Reference: Yes
I_R_XREF1 - Structure of a Range Table for a 12 Character Field
Data type: RANGE_C12Optional: Yes
Call by Reference: Yes
E_T_PSOWF - Structure for List Representation of Request Headers
Data type: PSOWFOptional: No
Call by Reference: Yes
I_R_BELNR - Structure of a Range Table for a Character (20) Field
Data type: RANGE_C10Optional: No
Call by Reference: Yes
I_R_GJAHR - Structure of a range table for a character (4) field
Data type: RANGE_C4Optional: No
Call by Reference: Yes
I_R_BLART - Structure of a Range Table for a Two Character Field
Data type: RANGE_C2Optional: No
Call by Reference: Yes
I_R_BUDAT - Structure of a range table for a character (8) field
Data type: RANGE_C8Optional: No
Call by Reference: Yes
I_R_MONAT - Structure of a Range Table for a Two Character Field
Data type: RANGE_C2Optional: No
Call by Reference: Yes
I_R_ZFBDT - Structure of a range table for a character (8) field
Data type: RANGE_C8Optional: Yes
Call by Reference: Yes
I_R_KUNNR - Structure of a Range Table for a (10) Character Field
Data type: RANGE_C10Optional: Yes
Call by Reference: Yes
I_R_LIFNR - Structure of a Range Table for a (10) Character Field
Data type: RANGE_C10Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for FM_FI_MASS_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_faedt | TYPE PSOWF-FAEDT, " | |||
| lt_i_r_bukrs | TYPE STANDARD TABLE OF RANGE_C4, " | |||
| lt_i_r_xref1 | TYPE STANDARD TABLE OF RANGE_C12, " | |||
| lt_e_t_psowf | TYPE STANDARD TABLE OF PSOWF, " | |||
| lv_i_reverse | TYPE BOOLE-BOOLE, " | |||
| lt_i_r_belnr | TYPE STANDARD TABLE OF RANGE_C10, " | |||
| lv_i_belnr | TYPE PSO02-BELNR, " | |||
| lt_i_r_gjahr | TYPE STANDARD TABLE OF RANGE_C4, " | |||
| lv_i_psoty | TYPE BKPF-PSOTY, " | |||
| lt_i_r_blart | TYPE STANDARD TABLE OF RANGE_C2, " | |||
| lt_i_r_budat | TYPE STANDARD TABLE OF RANGE_C8, " | |||
| lt_i_r_monat | TYPE STANDARD TABLE OF RANGE_C2, " | |||
| lt_i_r_zfbdt | TYPE STANDARD TABLE OF RANGE_C8, " | |||
| lt_i_r_kunnr | TYPE STANDARD TABLE OF RANGE_C10, " | |||
| lt_i_r_lifnr | TYPE STANDARD TABLE OF RANGE_C10. " |
|   CALL FUNCTION 'FM_FI_MASS_DOCS_SELECT' " |
| EXPORTING | ||
| I_FAEDT | = lv_i_faedt | |
| I_REVERSE | = lv_i_reverse | |
| I_BELNR | = lv_i_belnr | |
| I_PSOTY | = lv_i_psoty | |
| TABLES | ||
| I_R_BUKRS | = lt_i_r_bukrs | |
| I_R_XREF1 | = lt_i_r_xref1 | |
| E_T_PSOWF | = lt_e_t_psowf | |
| I_R_BELNR | = lt_i_r_belnr | |
| I_R_GJAHR | = lt_i_r_gjahr | |
| I_R_BLART | = lt_i_r_blart | |
| I_R_BUDAT | = lt_i_r_budat | |
| I_R_MONAT | = lt_i_r_monat | |
| I_R_ZFBDT | = lt_i_r_zfbdt | |
| I_R_KUNNR | = lt_i_r_kunnr | |
| I_R_LIFNR | = lt_i_r_lifnr | |
| . " FM_FI_MASS_DOCS_SELECT | ||
ABAP code using 7.40 inline data declarations to call FM FM_FI_MASS_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 FAEDT FROM PSOWF INTO @DATA(ld_i_faedt). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_reverse). | ||||
| "SELECT single BELNR FROM PSO02 INTO @DATA(ld_i_belnr). | ||||
| "SELECT single PSOTY FROM BKPF INTO @DATA(ld_i_psoty). | ||||
Search for further information about these or an SAP related objects