By Rajesh Kumar Burra
The InfoSet Query is a useful tool for maintaining queries within the SAP Query and is suitable for developing queries and for ad-hoc reporting.
InfoSet Query is suitable for reporting in all areas of the SAP R/3 system. When InfoSet Query is used in HR for ad-hoc reporting, the name Ad-Hoc Query is used instead of InfoSet Query.
Ad-Hoc query provides three different kinds of reports:
· Statistics - reports with statistical functions such as Averages, percentages etc
The first step in the process of creating an Ad-Hoc query is to create a Functional Area. Function area provides special views of logical databases. They determine which fields of a logical database can be evaluated in queries.
Go to tcode SQ03.
Select Query areas
Menu->Environment->Query areas
Select the radio button ‘Global area’.
Click on ‘Choose’
Create user group
Here you specify the users who should be authorized to run the query. A user group is always associated with a Functional Area.
- Go to the menu path Environment => User Group or SQ03 à Give a user group name in the screen. Specify the sap logins of the users whom you want to authorize for using the functional area and click on the Create button.
Select User group as ‘zdemo_user’ (Create Z user group).
Create
Go to Environment menu select INFOSET or go for tcode (SQ02)
Select infotype which u need (like above screen short)
Click on save and Click on generate button (red button).
Go back to main screen
Click on ‘Role/User group assignment’ tab
Select assigned table check box with User group which u already created.(zdem_user)
Save it and back...
Go to tcode for SQ01.
Query ‘zdemo_01’ (Create zname)
Click on ‘create’ button
Select assigned table check box with User group which u already created.(zdem_user)
Save it and back...
Go to tcode for SQ01.
Query ‘zdemo_01’ (Create zname)
Click on ‘create’ button
Pass title as Shortdesc..(demo for pa infotype)
Click on Infoset Query
Query is saved.
Click on continue....
Click on Execute button (F8). In above screen we have selected selection screen as personnel number
Below you can see personnel numbers are displayed as Text Value with Name. It should display Personnel Number.
Go to SQ01
Select “only value” and save.
Save. Go back and execute.
Go to se93 to create Z Transaction Code.
Execute
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
2 | |
2 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 |