0% found this document useful (0 votes)
13 views10 pages

SAP Query Creation Execution Table Join 1735083305

Sap query
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views10 pages

SAP Query Creation Execution Table Join 1735083305

Sap query
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

SAP Query - Creation & Execution - Table Join

SAP Query - Overview:


SAP Query is used to create reports for users who have little knowledge
about SAP Table data storage structure. SAP Query allows evaluating data
in the SAP system.
SAP Query offers users a broad range of ways to define reporting programs
and create different types of reports such as basic lists, statistics, and ranked
lists.

SAP Query - Creation:


Step 1: Creation of User Group - SQ03
Step 2: Creation of Infoset - SQ02
Step 3: Creation of Query - SQ01

SAP Query - Area:


SAP Query Area is a set of objects having queries, InfoSets and User Groups
which are consistent.

Following Query Areas:


• Standard Area – They are Client Specific Queries and do not create an
Work Bench Request
• Global Area - Queries in the Global Area are Client Independent
SAP Query - User Group Creation:

000Transaction Code: SQ03

Create a logical set of User Group to which the InfoSet Queries would be assigned.

SAP Query - Info Set Creation - TABLE JOIN:


SAP database have several numbers of tables in which the transactions,
master data gets stored and it’s practically not feasible to have all such fields
for selection when creating a query. Hence before the start of creating a
query, InfoSet creation is required.
It allows selecting Fields from either the tables selected or the logical
database used to get display/select in the output.
Transaction Code: SQ02 –

The InfoSet creation can be made with the Combination of Tables (Table
Join), Direct read from a Single Table or with the help of Logical Database.
The InfoSet creation can be made with the Combination of Tables (Table
Join), Direct read from a Single Table or with the help of Logical Database.

The Red Box marked Icon allows adding more tables under the join.
Drag the Fields for the “Data Fields” to the relevan/t Field Groups to appear
in the report.

You can even change the text of the Fields that is getting displayed over the
Output.
Once the InfoSet is created, it needs to be generated by click on
"Generation" icon.

Once the InfoSet is created, it needs to be generated by click on


"Generation" icon.
Any changes made to the InfoSet, it needs to be re-generated everytime.
SAP Query - Assigning to User Group:
All the InfoSet queries which are created to be assigned to one or more user
group

All the InfoSet queries which are created to be assigned to one or more user
group
SAP Query - Query Creation:

Transaction Code: SQ01


Once the InfoSets are created and assigned to User Group, Query needs to
be designed. It is basically known as Query Painter in which we design basic
lists in WYSIWYG mode (what-you-see-is-what-you-get).

We need to select the User Group first in which query needs to be designed.
Click on icon to select the user group.
Specify the Query Name and click on the Create Option.
Select the InfoSet which had been created.
Following screen would appear:

We can select the Output Format, Variant assignment over the Basic List.
to select the required Output/Selection Field.

Click on Save Option to make a final design.


To Run the Query Click on Execute Button

You might also like