SAP RSQBW_CHANGE_INFOSET_QUERY Function Module for Change the InfoSet Query from a role
RSQBW_CHANGE_INFOSET_QUERY is a standard rsqbw change infoset 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 Change the InfoSet Query from a role 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 rsqbw change infoset query FM, simply by entering the name RSQBW_CHANGE_INFOSET_QUERY into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSQBW_ROLE_CALL
Program Name: SAPLRSQBW_ROLE_CALL
Main Program: SAPLRSQBW_ROLE_CALL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSQBW_CHANGE_INFOSET_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 'RSQBW_CHANGE_INFOSET_QUERY'"Change the InfoSet Query from a role.
CHANGING
NODE_DATA = "URL for the SAP Portal
SHORT_TEXT = "Menu entry text
EXCEPTIONS
ACTION_CANCELLED = 1 USER_NOT_ASSIGNED = 2 ILLEGAL_QUERY_ENVIRONMENT = 3
CHANGING Parameters details for RSQBW_CHANGE_INFOSET_QUERY
NODE_DATA - URL for the SAP Portal
Data type: BXMNODES-URLOptional: No
Call by Reference: Yes
SHORT_TEXT - Menu entry text
Data type: BXMNODES-TEXTOptional: No
Call by Reference: Yes
EXCEPTIONS details
ACTION_CANCELLED - Processing Cancelled
Data type:Optional: No
Call by Reference: Yes
USER_NOT_ASSIGNED - User is not assigned to the user group
Data type:Optional: No
Call by Reference: Yes
ILLEGAL_QUERY_ENVIRONMENT - Unpermitted Default Setting of Query Objects
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RSQBW_CHANGE_INFOSET_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_node_data | TYPE BXMNODES-URL, " | |||
| lv_action_cancelled | TYPE BXMNODES, " | |||
| lv_short_text | TYPE BXMNODES-TEXT, " | |||
| lv_user_not_assigned | TYPE BXMNODES, " | |||
| lv_illegal_query_environment | TYPE BXMNODES. " |
|   CALL FUNCTION 'RSQBW_CHANGE_INFOSET_QUERY' "Change the InfoSet Query from a role |
| CHANGING | ||
| NODE_DATA | = lv_node_data | |
| SHORT_TEXT | = lv_short_text | |
| EXCEPTIONS | ||
| ACTION_CANCELLED = 1 | ||
| USER_NOT_ASSIGNED = 2 | ||
| ILLEGAL_QUERY_ENVIRONMENT = 3 | ||
| . " RSQBW_CHANGE_INFOSET_QUERY | ||
ABAP code using 7.40 inline data declarations to call FM RSQBW_CHANGE_INFOSET_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.| "SELECT single URL FROM BXMNODES INTO @DATA(ld_node_data). | ||||
| "SELECT single TEXT FROM BXMNODES INTO @DATA(ld_short_text). | ||||
Search for further information about these or an SAP related objects