SlideShare a Scribd company logo
4
Most read
11
Most read
12
Most read
SAP Query Creation _ Execution & Transaction code creation for 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.
The main advantage is that a query can be shared with a group of users.
Query – Features:
Following are the major components which are associated with SAP Query:
 Info Sets – Are base for the Query and it contains one or more database table details
 User Group – To restrict set of Users for a specific Query plus for Authorizations
 Queries – For the User to create and generate the Query
Steps for Query & Transaction code creation.
Step 1: Creation of User Group - SQ03
Step 2: Creation of Info set - SQ02
Step 3: Assigning Info set to User Group -SQ03
Step 4: Creation of Query - SQ01
Step 5: Creation of T-code for Sap Query - SE93
Step: 1 User Group Creation
Transaction Code: SQ03
The Terminologies:
Query – Area:
SAP Query Area is a set of objects having queries, Info Sets 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
Click on create.
Create a logical set of User Group to which the InfoSet Queries would be assigned.
Save
Enter the correct package & Save.
Step: 2 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 Red Box marked Icon allows adding more tables under the join.
Field Group contains the Fields which are required either to get in the report output or in the
selection screen.
Drag the Fields for the “Data Fields” to the relevant 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.
Any changes made to the InfoSet, it needs to be re-generated every time.
Step: 3 Assign info set to User Group
Transaction Code: SQ02
All the InfoSet queries which are created to be assigned to one or more user group
Click on Save button for the assignment.
Step: 4 Query Creation
Transaction Code: SQ01
Once the Info Sets 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.
Click on to select the required Output/Selection Field.
Click on Save Option to make a final design.
To Run the Query Click on Execute Button:
Sap query creation & transcation code creation for sap query
Step 5: Create transaction code for Query
Enter transaction SE93
Click on create.
Put object name, sort text for your transaction
Choose radio button 5. Transaction with parameter.
Click on continue.
Default value for transaction ‘START_REPORT’
In bellow default value section insert default value
D_SREPOVARI-REPORTTYPE = AQ "Parameter indicating Abap Query
D_SREPOVARI-REPORT = Z_FICO "Query User group
D_SREPOVARI-EXTDREPORT = ZVENDOR "Query name
Note: *if User Group is Global Area, we need set "G" at 13th characters
D_SREPOVARI-REPORT "USER GROUP" + "Space" + "G
Save the transaction.
System giving message transaction code ZVENDOR saved
Execute the transaction.

More Related Content

What's hot (20)

PPTX
Functional specification of sap
Saptechies
 
PDF
Sap scripts
Kranthi Kumar
 
PDF
Sap Abap Reports
vbpc
 
DOCX
Travel management configuration steps
Abhijeet Walke
 
PDF
SAP Validation and substitution
Hari Krishna
 
PDF
Bapi step-by-step
mateenjambagi
 
DOCX
Vendor downpayment process mapping with EHP4 enhanced functionality
Subhrajyoti (Subhra) Bhattacharjee
 
DOC
Badi document
hamisha_malik
 
DOC
1000 solved questions
Kranthi Kumar
 
PPT
BATCH DATA COMMUNICATION
Kranthi Kumar
 
PPTX
Sap s4 ccm concept for sales and purchasing
Venkat Mannam
 
PPT
Module pool programming
Subhojit- Opekkhay
 
DOC
What is ticketing tool in sap
nanda nanda
 
PDF
Quick sap co configuration Internal Order
Capgemini
 
DOCX
FS for FICO
sadasivab
 
PPTX
SAP ALE Idoc
Jugul Crasta
 
PPT
Step by step lsmw tutorial
raonivaz
 
PPTX
Account based COPA in SAP
Stridely Solutions
 
DOCX
Sap sd important interview concepts
Mohit Amitabh
 
PDF
Transfer of requirements in SAP SD
Srinivasulu Algaskhanpet
 
Functional specification of sap
Saptechies
 
Sap scripts
Kranthi Kumar
 
Sap Abap Reports
vbpc
 
Travel management configuration steps
Abhijeet Walke
 
SAP Validation and substitution
Hari Krishna
 
Bapi step-by-step
mateenjambagi
 
Vendor downpayment process mapping with EHP4 enhanced functionality
Subhrajyoti (Subhra) Bhattacharjee
 
Badi document
hamisha_malik
 
1000 solved questions
Kranthi Kumar
 
BATCH DATA COMMUNICATION
Kranthi Kumar
 
Sap s4 ccm concept for sales and purchasing
Venkat Mannam
 
Module pool programming
Subhojit- Opekkhay
 
What is ticketing tool in sap
nanda nanda
 
Quick sap co configuration Internal Order
Capgemini
 
FS for FICO
sadasivab
 
SAP ALE Idoc
Jugul Crasta
 
Step by step lsmw tutorial
raonivaz
 
Account based COPA in SAP
Stridely Solutions
 
Sap sd important interview concepts
Mohit Amitabh
 
Transfer of requirements in SAP SD
Srinivasulu Algaskhanpet
 

Similar to Sap query creation & transcation code creation for sap query (20)

DOCX
Wiki sap query
masoomjajoo
 
PPTX
Queries in SAP: Introduction
Jonathan Eemans
 
DOCX
Sap mm query
Lokesh Modem
 
PDF
Abap query
vvnalla
 
PDF
Query
Maria Felipe
 
PDF
SAP SD QUERY REPORT_GANESH
Ganesh Tarlana
 
PDF
Using infoset query %2c sap query and quick viewer
Shailendra Surana
 
PDF
Using infoset query ,sap query and quick viewer
bsm fico
 
PPT
The ABAP Query
PeterHBrown
 
PDF
Abap query
Rasika Jayawardana
 
PPT
Lecture16 abap on line
Milind Patil
 
PPT
Querying a Database in Microsoft Access 2007
suwayne84
 
PDF
Day 9 __10_introduction_to_bi_enterprise_reporting_1___2
tovetrivel
 
DOCX
Management of database information system
KAZEMBETVOnline
 
PPT
Unit 2 b_ex_query_designer
Onur Sezen
 
PPT
How Sap Quickviewer Helps Air Products And Chemicals With Sarbanes Oxley Comp...
wendlidl
 
PPTX
Sap abap
nrj10
 
PDF
Abap query
brtkow
 
DOCX
Database as information system
KAZEMBETVOnline
 
PPTX
SAP ABAP Latest Interview Questions
piyushchawala
 
Wiki sap query
masoomjajoo
 
Queries in SAP: Introduction
Jonathan Eemans
 
Sap mm query
Lokesh Modem
 
Abap query
vvnalla
 
SAP SD QUERY REPORT_GANESH
Ganesh Tarlana
 
Using infoset query %2c sap query and quick viewer
Shailendra Surana
 
Using infoset query ,sap query and quick viewer
bsm fico
 
The ABAP Query
PeterHBrown
 
Abap query
Rasika Jayawardana
 
Lecture16 abap on line
Milind Patil
 
Querying a Database in Microsoft Access 2007
suwayne84
 
Day 9 __10_introduction_to_bi_enterprise_reporting_1___2
tovetrivel
 
Management of database information system
KAZEMBETVOnline
 
Unit 2 b_ex_query_designer
Onur Sezen
 
How Sap Quickviewer Helps Air Products And Chemicals With Sarbanes Oxley Comp...
wendlidl
 
Sap abap
nrj10
 
Abap query
brtkow
 
Database as information system
KAZEMBETVOnline
 
SAP ABAP Latest Interview Questions
piyushchawala
 
Ad

More from SURESH BABU MUCHINTHALA (6)

PDF
Ach payment configuration
SURESH BABU MUCHINTHALA
 
PDF
Sap manual bank statement process flow
SURESH BABU MUCHINTHALA
 
PDF
Mass update for asset master shut down activation process steps
SURESH BABU MUCHINTHALA
 
PDF
Intercompany assets transfer
SURESH BABU MUCHINTHALA
 
PDF
Sap 1099 misc generic withholding tax reporting
SURESH BABU MUCHINTHALA
 
PDF
Sap auc internal orders as investment measures
SURESH BABU MUCHINTHALA
 
Ach payment configuration
SURESH BABU MUCHINTHALA
 
Sap manual bank statement process flow
SURESH BABU MUCHINTHALA
 
Mass update for asset master shut down activation process steps
SURESH BABU MUCHINTHALA
 
Intercompany assets transfer
SURESH BABU MUCHINTHALA
 
Sap 1099 misc generic withholding tax reporting
SURESH BABU MUCHINTHALA
 
Sap auc internal orders as investment measures
SURESH BABU MUCHINTHALA
 
Ad

Recently uploaded (20)

PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PPTX
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PDF
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 

Sap query creation & transcation code creation for sap query

  • 1. SAP Query Creation _ Execution & Transaction code creation for 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. The main advantage is that a query can be shared with a group of users. Query – Features: Following are the major components which are associated with SAP Query:  Info Sets – Are base for the Query and it contains one or more database table details  User Group – To restrict set of Users for a specific Query plus for Authorizations  Queries – For the User to create and generate the Query Steps for Query & Transaction code creation. Step 1: Creation of User Group - SQ03 Step 2: Creation of Info set - SQ02 Step 3: Assigning Info set to User Group -SQ03 Step 4: Creation of Query - SQ01 Step 5: Creation of T-code for Sap Query - SE93
  • 2. Step: 1 User Group Creation Transaction Code: SQ03 The Terminologies: Query – Area: SAP Query Area is a set of objects having queries, Info Sets 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
  • 3. Click on create. Create a logical set of User Group to which the InfoSet Queries would be assigned. Save Enter the correct package & Save.
  • 4. Step: 2 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 Red Box marked Icon allows adding more tables under the join.
  • 5. Field Group contains the Fields which are required either to get in the report output or in the selection screen. Drag the Fields for the “Data Fields” to the relevant 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. Any changes made to the InfoSet, it needs to be re-generated every time.
  • 6. Step: 3 Assign info set to User Group Transaction Code: SQ02 All the InfoSet queries which are created to be assigned to one or more user group Click on Save button for the assignment.
  • 7. Step: 4 Query Creation Transaction Code: SQ01 Once the Info Sets 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:
  • 8. We can select the Output Format, Variant assignment over the Basic List. Click on to select the required Output/Selection Field. Click on Save Option to make a final design. To Run the Query Click on Execute Button:
  • 10. Step 5: Create transaction code for Query Enter transaction SE93 Click on create. Put object name, sort text for your transaction Choose radio button 5. Transaction with parameter. Click on continue.
  • 11. Default value for transaction ‘START_REPORT’ In bellow default value section insert default value D_SREPOVARI-REPORTTYPE = AQ "Parameter indicating Abap Query D_SREPOVARI-REPORT = Z_FICO "Query User group D_SREPOVARI-EXTDREPORT = ZVENDOR "Query name Note: *if User Group is Global Area, we need set "G" at 13th characters D_SREPOVARI-REPORT "USER GROUP" + "Space" + "G
  • 12. Save the transaction. System giving message transaction code ZVENDOR saved Execute the transaction.