Está en la página 1de 26

SAP BASIC QUERY CREATION

USER GROUP CREATION


Navigate to the User Group Initial screen using
transaction code SQ03.
Type the user group name that you will be
creating and select the create button.

USER GROUP CREATION


Type the name of the user group Q_TEST and
click save button.

USER GROUP CREATION


Select the Assign Users and InfoSets button.
Type the SAP user IDs of any users
whom you want to include in your test group.

INFOSET CREATION
Navigate to the Infoset Initial screen using
transaction code SQ02. Type the InfoSet name
that you will be creating and select the Create
button.

INFOSET CREATION
Input the name of the infoset, choose the data
source and press ok button

INFOSET CREATION
The screen below will be shown after the
creation of infoset. Select insert table icon in the
application toolbar; a pop-up will appear where
you can enter the table you want to be joined in
the table you have specified during the initial
selection.

INFOSET CREATION
After selecting OK, the screen below will be
shown. Return to infoset field selection via
Infoset Maintenance button:

INFOSET CREATION
A pop-up will appear; normally, when creating a
query, we always choose Create empty field
groups:

INFOSET CREATION
Two empty field groups got created. In the left
pane, we find the list of fields in both the tables
VBAK and VBAP. You can assign fields to the
field group by dragging/dropping fields from the
left pane.

INFOSET CREATION
Next, you need to generate
the InfoSet by selecting the
Generate button from the
application toolbar. A message
appears in the status bar saying
that the infoSet has been
generated.

INFOSET CREATION
Go back to the main screen of SQ02 by
clicking Back Button on standard tool
bar. Click on Role/User Group
Assignment button to assign the infoset to
a specific user group.

QUERY CREATION
Navigate to the Queries Initial screen using
transaction code SQ01, input the desired query
name, then click on Create and select the
infoset to be linked to the query:

QUERY CREATION
Type the title (mandatory), notes (optional) and
specify the number of lines to be displayed in a
page.

QUERY CREATION
To navigate to the next screen in the SAP querycreation process, select the next screen (white
navigational arrow) button from the application
toolbar.

QUERY CREATION
Select the field groups that are to be used in our
query.

QUERY CREATION
Click on Next screen to select the list of
fields required in the query. (Fields
include both Selection Screen and Output
fields).

QUERY CREATION
Click on Next screen to determine which of
these fields are to be used in the selection
screen and specify the sequence in which
selection to appear in selection screen.

QUERY CREATION
Select the Basic List button from the application
toolbar. The Basic List screen shows you a list of
the selected fields that you want to include for
your report. For each field, you can specify the
Line and Sequence number as you want them to
appear on your report.

QUERY CREATION
Click on Next Screen to check the sequence
specifications.

QUERY CREATION
Click on Next screen to specify field output
options.
Length, position & color formats of the
fields on output screen can be changed.

QUERY CREATION
Click on Next screen to specify report
header and footer

QUERY CREATION
Click on Next Screen to determine the
graphics for Output.
SAVE!

QUERY CREATION
To test the query, press CTRL+F8 A pop-up
will appear asking for a variant, just press ok

SAMPLE SELECTION SCREEN

SAMPLE OUTPUT

También podría gustarte