Including InfoSet Query in Roles 

Purpose

By including the InfoSet Query in a role, you ensure that the InfoSet Query is started with an InfoSet (and a query), and can therefore be easily used for appropriate reporting within the role.

Process Flow

  1. Select a user group that is to be connected to the role, or create a new user group. Assign all InfoSets that are to be made available to the role user for reporting, to this user group.
  2. If you want the role to support the development of queries (no ad-hoc reporting), then you have to use a user group assigned to a non-temporary development class from the global area. The InfoSets assigned to the user group must also have non-temporary development classes. This way you ensure that it is possible to develop queries that can be transported.

    You can change the assignment of InfoSets to user groups at any time. It is not necessary to assign users.

  3. Depending on the reporting type you want to use, create a variant for the report SAP_QUERY_DEVELOPMENT_ROLE or SAP_QUERY_AD_HOC_ROLE, by entering the name of the relevant role in the field Role. You can use the other parameters as and when you need them.
  4. Assign the relevant user group to the role. To do this, call role maintenance (transaction PFCG) and select Change. Select the key SAP_QUERY USER GROUP by double clicking on the tabstrip Personalization. You get to a dialog box where you enter the user group.
  5. Include the report SAP_QUERY_DEVELOPMENT_ROLE or SAP_QUERY_AD_HOC_ROLE along with the variant you created previously in the role menu. To do this, call role maintenance (transaction PFCG), select the relevant role, and choose Change. Select Report from the Menu tabstrip. Insert the relevant report into the role menu (as an ABAP report) with the variant you created earlier. You should always set the indicator Skip selection screen.

Result

The InfoSet Query is available as a menu entry for the role. The available InfoSets are determined using the user group assigned to the role. Using the other report parameters, you determined the specifications used to start the query.