Escolar Documentos
Profissional Documentos
Cultura Documentos
Several InfoSets can be available when you launch SAP Ad Hoc query
transaction: S_PH0_48000513 – Ad Hoc Query. It can be also be started from SAP
menu.
Selection criteria
Output fields
Those do not need to be the same, and one field which is used as selection criteria
does not necessarily need to be shown, and vice-versa.
Choose Selection and Output Fields of Infotypes
In our example, both Company Code and Employee Group will be used for selection but
only the Company Code will be part of the output list.
Once all the selection criteria have been ticked, they appear in the top right panel. From
there you can set details of your selection, which are values for each selection criteria.
This is also where you can set the reporting period, default being ‘Today’.
Tip: Most often you will report on Today. However, it is interesting sometimes to use
other options such as a key date, a period, etc.
Choose Reporting Period and Adjust Values for Selection Criteria
The Hit List button shows the number of records matching your selection criteria. It is
very useful as it is much quicker than actually getting the full output. It therefore gives
you a flavor as to whether your selection criteria are fine, before getting the full output.
You can also display only the list of selected employees using the glasses icon.
Tip: For output, some fields are marked with the icon . This means they can be
output as code, text, or both.
Export Button
Note that during output, the system checks your authorizations so that you are not able
to display via SAP Ad Hoc queries data that you do not have access to usually.
Reporting Set
Ad-hoc query offers an advanced functionality named Reporting Set. The idea is to be
able to select a list of employees according to some criteria, and then to apply other
criteria to get the output list. For instance, you want to list employees which as of today
belong to a personnel area 0001, but which belonged to another personnel area on the
1st of January.
First select the employees which belong to the personnel area 0001 as of today
Put them in the reporting set
Apply the other criteria (1st of January and personnel area other than 0001) to the
reporting set
Select
Employees that Belong to Personnel Area 0001 Today
Reporting
Set with Intersection of Two Sets of Employees
To extract the data from the report to a local file, you can use save to local file
functionality.
Choose Where
to Save Exported Report
—
Did you like this tutorial? Have any questions or comments? We would love to hear your
feedback in the comments section below. It’d be a big help for us, and hopefully it’s
something we can address for you in improvement of our free SAP HR tutorials.