SAP Query - Table Join & Logical Database
SAP Query - Table Join & Logical Database
SAP Query - Table Join & Logical Database
CONSULTANTS
The SAP Query application is used to create reports not already contained in the
default. It has been designed for users with little or no knowledge of the SAP
programming language ABAP.
SAP Query offers users a broad range of ways to define reports and create different
types of reports such as basic lists, statistics, and ranked lists.
Creation of queries
The technical definition of “User Groups” is a collection of SAP users who are
grouped together.
Basically, Query Groups permit users to create, modify, and execute reports in a
certain area within R/3.
The relationship b/w user group and Info set is one to many.
One user group can be assigned to no. of Info sets, in which users are placed.
1|Page
CREATED BY
GANES.TARLANA
SAPSD
SAP QUERY REPORT FOR ALL FUNCTIONAL
CONSULTANTS
Save it again.
An Info Sec describes which fields of a data source can be reported on in queries.
2|Page
CREATED BY
GANES.TARLANA
SAPSD
SAP QUERY REPORT FOR ALL FUNCTIONAL
CONSULTANTS
Data source
Select Table join and Press Enter then system show Navigation Screen
3|Page
CREATED BY
GANES.TARLANA
SAPSD
SAP QUERY REPORT FOR ALL FUNCTIONAL
CONSULTANTS
If you want to add other tables click Insert Table then Click the JOIN
Conditions and then click Info set Maintain
If you select first one system takes all the fields from selected tables.
4|Page
CREATED BY
GANES.TARLANA
SAPSD
SAP QUERY REPORT FOR ALL FUNCTIONAL
CONSULTANTS
S.NO FIELDS
1 Sales document
2 Sales document item
3 Material Number
1. Two empty field groups got created. In the left pane, we find the list of
fields in both the tables VBAK and VBAP.
5|Page
CREATED BY
GANES.TARLANA
SAPSD
SAP QUERY REPORT FOR ALL FUNCTIONAL
CONSULTANTS
2.Drag and drop the fields from the left pane on to the field groups
6|Page
CREATED BY
GANES.TARLANA
SAPSD
SAP QUERY REPORT FOR ALL FUNCTIONAL
CONSULTANTS
Note: when we save the info set it’s automatically assign to our user
group.
7|Page
CREATED BY
GANES.TARLANA
SAPSD
SAP QUERY REPORT FOR ALL FUNCTIONAL
CONSULTANTS
Enter query name (our own name) and Click create button then system open
another screen. Please observe below screen.
8|Page
CREATED BY
GANES.TARLANA
SAPSD
SAP QUERY REPORT FOR ALL FUNCTIONAL
CONSULTANTS
9|Page
CREATED BY
GANES.TARLANA
SAPSD
SAP QUERY REPORT FOR ALL FUNCTIONAL
CONSULTANTS
10 | P a g e
CREATED BY
GANES.TARLANA
SAPSD
SAP QUERY REPORT FOR ALL FUNCTIONAL
CONSULTANTS
11 | P a g e
CREATED BY
GANES.TARLANA
SAPSD
SAP QUERY REPORT FOR ALL FUNCTIONAL
CONSULTANTS
2. Selection Fields means Input Fields.
Select output list fields and Input Fields from our selected tables then click Test
button.
After above step click the test and System open report input screen
Enter our input data and Execute (Press F8) then system is shows our designed
simple report.
12 | P a g e
CREATED BY
GANES.TARLANA
SAPSD
SAP QUERY REPORT FOR ALL FUNCTIONAL
CONSULTANTS
The below step Explains query and user specific transaction report and in this step
integration will be there B/W Functional consultants (FI, SD, MM, PP etc.…) and
Technical consultants (ABAP).
Go to SE93
13 | P a g e
CREATED BY
GANES.TARLANA
SAPSD
SAP QUERY REPORT FOR ALL FUNCTIONAL
CONSULTANTS
Maintain default values in SE93
Note: The below parameters are mandatory for any query report
14 | P a g e
CREATED BY
GANES.TARLANA
SAPSD
SAP QUERY REPORT FOR ALL FUNCTIONAL
CONSULTANTS
Output Format
15 | P a g e
CREATED BY
GANES.TARLANA
SAPSD
SAP QUERY REPORT FOR ALL FUNCTIONAL
CONSULTANTS
SALES SALES SALES DISTRI.CHANNEL DIVISION SALES CUSTOMER Net Plant
DOC DOCTYPE ORG OFFICE value
THE END
16 | P a g e
CREATED BY
GANES.TARLANA
SAPSD