SAP RSOD_BIRM_GET_QUERY Function Module for Reads Queries (for Documents for InfoProviders)
RSOD_BIRM_GET_QUERY is a standard rsod birm get query SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Reads Queries (for Documents for InfoProviders) 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 rsod birm get query FM, simply by entering the name RSOD_BIRM_GET_QUERY into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSOD_BIRM
Program Name: SAPLRSOD_BIRM
Main Program: SAPLRSOD_BIRM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function RSOD_BIRM_GET_QUERY 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 'RSOD_BIRM_GET_QUERY'"Reads Queries (for Documents for InfoProviders).
EXPORTING
* I_WITH_EMPTY_FOLDERS = RS_C_TRUE "= 'X': all characteristcs, = ' ' only characteristics for which documents exist
I_INFOPROV = "InfoProvider
IMPORTING
E_T_QUERY = "Queries with Texts
IMPORTING Parameters details for RSOD_BIRM_GET_QUERY
I_WITH_EMPTY_FOLDERS - = 'X': all characteristcs, = ' ' only characteristics for which documents exist
Data type: RS_BOOLDefault: RS_C_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_INFOPROV - InfoProvider
Data type: RSINFOPROVOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RSOD_BIRM_GET_QUERY
E_T_QUERY - Queries with Texts
Data type: RSO_T_TLOGO_TXTLGOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RSOD_BIRM_GET_QUERY 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_e_t_query | TYPE RSO_T_TLOGO_TXTLG, " | |||
| lv_i_with_empty_folders | TYPE RS_BOOL, " RS_C_TRUE | |||
| lv_i_infoprov | TYPE RSINFOPROV. " |
|   CALL FUNCTION 'RSOD_BIRM_GET_QUERY' "Reads Queries (for Documents for InfoProviders) |
| EXPORTING | ||
| I_WITH_EMPTY_FOLDERS | = lv_i_with_empty_folders | |
| I_INFOPROV | = lv_i_infoprov | |
| IMPORTING | ||
| E_T_QUERY | = lv_e_t_query | |
| . " RSOD_BIRM_GET_QUERY | ||
ABAP code using 7.40 inline data declarations to call FM RSOD_BIRM_GET_QUERY
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_with_empty_folders) | = RS_C_TRUE. | |||
Search for further information about these or an SAP related objects