Entering content frame

Procedure documentation Create Dynamic Selections Locate the document in its SAP Library structure

Procedure

Create Selection View

  1. Choose Tools ® ABAP Workbench ® Overview ® Object Navigator.
  2. In the Development class field, enter the development class to which the selection view must be assigned (= customer development class).
  3. Choose This graphic is explained in the accompanying text Edit object.
  4. Select Selection view.
  5. Choose This graphic is explained in the accompanying text.
  6. Select For any tables, and enter a name that starts with PNP in the Name of view field (for example, PNP_CUS_01).
  7. Choose This graphic is explained in the accompanying text.
  8. In the Tables dialog box, enter the database tables of the infotypes from which the fields for your dynamic selections are taken (for example, PA0002 for infotype 2).
  9. Choose This graphic is explained in the accompanying text.
  10. In the Functional groups group box, enter a number and name for the functional group (for example, 01 and Dynamic Selections).
  11. You can group your dynamic selections together in a functional group, or you can group them together by infotype. If you choose the latter option, dynamic selections are sorted by infotype when queries are executed.

  12. In the Tables/Nodes group box, select an infotype for processing by double clicking on it.
  13. In the Table fields/Node fields group box, enter the number of the functional group or groups in the input fields displayed in front of the fields you want to use as dynamic selections (for example, 01).
  14. If you want a field to be immediately available as a dynamic selection when a query is executed, select its Preselection checkbox.

    If fields are not included in the preselection, you can use them as dynamic selections as required.

  15. Choose This graphic is explained in the accompanying text.

 

Define Report Category With Selection View

  1. Access Customizing for the Human Resources Information System (by choosing Tools ® AcceleratedSAP ® Customizing ® Edit Project ® SAP Reference IMG: Personnel Management ® Human Resources Information System).
  2. Choose Reporting ® Adjusting the Standard Selection Screen ® Create Report Categories.
  3. Create a report category. When you do so, enter the name of the selection view that you created in the Name of selection view field.
  4. Note

    If you require general information on how to create report categories, see the documentation on the Customizing activity. If you create report categories for dynamic selections, SAP advises you to make a copy of a standard report category (whose other properties meet your requirements), and to then use your selection view in the new report category.

  5. Save your report category.
Leaving content frame