Modules for Calling InfoSet Query
Use
To call up the InfoSet Query, the SAP System provides you with four reports and four function modules of the same name, which implement the InfoSet Query call and determine access rights and the Reporting type for the InfoSet Query.
The following reports/function modules are available:
-
SAP_QUERY_DEVELOPMENT_ROLE: Access using role, development
Parameter:
-
Role (input necessary)
-
InfoSet (optional)
-
Query (optional)
A user group from the global area has to be assigned to the role. If you specify an InfoSet, then it has to be assigned to the user group. If you specify a query, then it has to be assigned to the user group.
-
-
SAP_QUERY_AD_HOC_ROLE: Access using role, ad-hoc reporting
Parameter:
-
Role (input necessary)
-
InfoSet (optional)
-
Query (optional)
A user group from either the global or standard area has to be assigned to the role. If you specify an InfoSet, then it has to be assigned to the user group. If you specify a query, then it has to be assigned to the user group.
-
-
SAP_QUERY_Development: Access using user group, development
Parameters (all optional)
-
User Group
-
InfoSet
-
Query
The user group has to come from the global area. If you specify more than one parameter, then they must match, meaning that the InfoSet has to be assigned to the user group and the query must be based on the specified InfoSet. Input help can support you with the entries.
-
-
SAP_QUERY_AD_HOC: Access using user group, ad-hoc reporting
Parameters (all optional)
-
Parameters (all optional)
-
User Group
-
InfoSet
-
Query
First, decide which query area you want to work in with the InfoSet Query (standard setting: Standard area). Standard area. To enable you to work in the global area, select the Global Area indicator. Enter the remaining parameters.
If you specify more than one parameter, then they must match, meaning that the InfoSet has to be assigned to the user group and the query must be based on the specified InfoSet. Input help can support you with the entries.
-
The optional parameters are used to prepare an InfoSet or a query when calling the InfoSet Query. These "templates" can be processed directly. If no parameters are used for the call, then the system tries to come up with a suitable proposal for starting the InfoSet Query from those objects (role, user group, InfoSet) last used by the user.
The reports call up the function modules with the same name directly. When calling up the InfoSet Query, it does not matter if the reports or the function modules are used. To implement the call using menu entries, however, you have to use the reports.