Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member182306
Active Contributor

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:


  • Basic List        - Simple reports

  · Statistics  - reports with statistical functions such as Averages, percentages etc

  • Ranked List     - for analytical reports

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)

  1. Save......
  2. Back....

Click on Infoset Query

Query is saved.

Click on continue....

  1. Back...

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

43 Comments
Labels in this area