Show TOC

Modules for Calling InfoSet QueryLocate this document in the navigation structure

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.

Note

In principle, you must start the InfoSet Query out of the Start of the navigation path SAP Query Next navigation step Queries End of the navigation path component. The reports and function modules described in this section provide the additional technical option of calling up the InfoSet Query directly from a menu or from another application.

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.

    Note

    Calling up the InfoSet Query has been set up in Human Resources (HR) so that the InfoSet Query starts with fixed values for the parameters Query Area and User Group, and only Ad-hoc Reporting can take place. This means that a user who starts the InfoSet Query over HR's information systems either goes directly to the assigned InfoSet in the initial screen of the InfoSet Query or can choose between several assigned InfoSets. In this type of call up in HR, the InfoSet Query is called an Ad-hoc Query.

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.