SlideShare a Scribd company logo
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:
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

Subcontracting process jobwork in gst
Subcontracting process  jobwork in gstSubcontracting process  jobwork in gst
Subcontracting process jobwork in gst
Sukumar Manickam
 
Customizig sap - img do material ledger
Customizig sap - img do material ledgerCustomizig sap - img do material ledger
Customizig sap - img do material ledger
renata villela
 
Transporte de Request - Tutorial ABAP
Transporte de Request - Tutorial ABAPTransporte de Request - Tutorial ABAP
Transporte de Request - Tutorial ABAP
Ricardo Ishida
 
Sd configuration steps for automatic batch determination in delivery
Sd   configuration steps for automatic batch determination in deliverySd   configuration steps for automatic batch determination in delivery
Sd configuration steps for automatic batch determination in delivery
Shivaprakash Shastri Hiremath
 
Basic Debugging
Basic DebuggingBasic Debugging
Basic Debugging
Sathish Kumar G
 
Automatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mailAutomatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mail
SURESH BABU MUCHINTHALA
 
How to add new Object Link in SAP DMS
How to add new Object Link in SAP DMSHow to add new Object Link in SAP DMS
How to add new Object Link in SAP DMS
Assaf Sheinrok
 
SAP BADI Implementation Learning for Functional Consultant
SAP BADI Implementation Learning for Functional ConsultantSAP BADI Implementation Learning for Functional Consultant
SAP BADI Implementation Learning for Functional Consultant
Ankit Sharma
 
Using idoc method in lsmw
Using idoc method in lsmwUsing idoc method in lsmw
Using idoc method in lsmw
Konstantinidis Antonis
 
SAP SD Variant configuration-training-document 2
SAP SD Variant configuration-training-document 2SAP SD Variant configuration-training-document 2
SAP SD Variant configuration-training-document 2
ramesh Charantimath
 
Functional specification doc stock aging report based on consumption
Functional specification doc  stock aging report based on consumptionFunctional specification doc  stock aging report based on consumption
Functional specification doc stock aging report based on consumption
Lokesh Modem
 
Sap table relation
Sap table relationSap table relation
Sap table relation
Rameeza09
 
Sap mrp-configuration-pp
Sap mrp-configuration-ppSap mrp-configuration-pp
Sap mrp-configuration-pp
Lokesh Modem
 
Sap transaction codes
Sap transaction codesSap transaction codes
Sap transaction codes
Nigel D'souza
 
Sap auc internal orders as investment measures
Sap auc internal orders as investment measuresSap auc internal orders as investment measures
Sap auc internal orders as investment measures
SURESH BABU MUCHINTHALA
 
ck40 n-edit-costing-run-instruction
ck40 n-edit-costing-run-instructionck40 n-edit-costing-run-instruction
ck40 n-edit-costing-run-instruction
Pepa Pencheva
 
Adding custom fields to the fi report fbl5 n using bt es
Adding custom fields to the fi report fbl5 n using bt esAdding custom fields to the fi report fbl5 n using bt es
Adding custom fields to the fi report fbl5 n using bt es
Kranthi Kumar
 
Batch Determination Based Delivery ATP and Auto Delivery Quantity Adjustment
Batch Determination Based Delivery ATP and Auto Delivery Quantity AdjustmentBatch Determination Based Delivery ATP and Auto Delivery Quantity Adjustment
Batch Determination Based Delivery ATP and Auto Delivery Quantity Adjustment
Vijay Pisipaty
 
Queries in SAP: Introduction
Queries in SAP: IntroductionQueries in SAP: Introduction
Queries in SAP: Introduction
Jonathan Eemans
 
SAP Logistics - CS - Standard Process & Configuration document
SAP Logistics - CS - Standard Process & Configuration documentSAP Logistics - CS - Standard Process & Configuration document
SAP Logistics - CS - Standard Process & Configuration document
Subhrajyoti (Subhra) Bhattacharjee
 

What's hot (20)

Subcontracting process jobwork in gst
Subcontracting process  jobwork in gstSubcontracting process  jobwork in gst
Subcontracting process jobwork in gst
 
Customizig sap - img do material ledger
Customizig sap - img do material ledgerCustomizig sap - img do material ledger
Customizig sap - img do material ledger
 
Transporte de Request - Tutorial ABAP
Transporte de Request - Tutorial ABAPTransporte de Request - Tutorial ABAP
Transporte de Request - Tutorial ABAP
 
Sd configuration steps for automatic batch determination in delivery
Sd   configuration steps for automatic batch determination in deliverySd   configuration steps for automatic batch determination in delivery
Sd configuration steps for automatic batch determination in delivery
 
Basic Debugging
Basic DebuggingBasic Debugging
Basic Debugging
 
Automatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mailAutomatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mail
 
How to add new Object Link in SAP DMS
How to add new Object Link in SAP DMSHow to add new Object Link in SAP DMS
How to add new Object Link in SAP DMS
 
SAP BADI Implementation Learning for Functional Consultant
SAP BADI Implementation Learning for Functional ConsultantSAP BADI Implementation Learning for Functional Consultant
SAP BADI Implementation Learning for Functional Consultant
 
Using idoc method in lsmw
Using idoc method in lsmwUsing idoc method in lsmw
Using idoc method in lsmw
 
SAP SD Variant configuration-training-document 2
SAP SD Variant configuration-training-document 2SAP SD Variant configuration-training-document 2
SAP SD Variant configuration-training-document 2
 
Functional specification doc stock aging report based on consumption
Functional specification doc  stock aging report based on consumptionFunctional specification doc  stock aging report based on consumption
Functional specification doc stock aging report based on consumption
 
Sap table relation
Sap table relationSap table relation
Sap table relation
 
Sap mrp-configuration-pp
Sap mrp-configuration-ppSap mrp-configuration-pp
Sap mrp-configuration-pp
 
Sap transaction codes
Sap transaction codesSap transaction codes
Sap transaction codes
 
Sap auc internal orders as investment measures
Sap auc internal orders as investment measuresSap auc internal orders as investment measures
Sap auc internal orders as investment measures
 
ck40 n-edit-costing-run-instruction
ck40 n-edit-costing-run-instructionck40 n-edit-costing-run-instruction
ck40 n-edit-costing-run-instruction
 
Adding custom fields to the fi report fbl5 n using bt es
Adding custom fields to the fi report fbl5 n using bt esAdding custom fields to the fi report fbl5 n using bt es
Adding custom fields to the fi report fbl5 n using bt es
 
Batch Determination Based Delivery ATP and Auto Delivery Quantity Adjustment
Batch Determination Based Delivery ATP and Auto Delivery Quantity AdjustmentBatch Determination Based Delivery ATP and Auto Delivery Quantity Adjustment
Batch Determination Based Delivery ATP and Auto Delivery Quantity Adjustment
 
Queries in SAP: Introduction
Queries in SAP: IntroductionQueries in SAP: Introduction
Queries in SAP: Introduction
 
SAP Logistics - CS - Standard Process & Configuration document
SAP Logistics - CS - Standard Process & Configuration documentSAP Logistics - CS - Standard Process & Configuration document
SAP Logistics - CS - Standard Process & Configuration document
 

Similar to Sap query creation & transcation code creation for sap query

Wiki sap query
Wiki sap queryWiki sap query
Wiki sap query
masoomjajoo
 
SAP SD QUERY REPORT_GANESH
SAP SD QUERY REPORT_GANESHSAP SD QUERY REPORT_GANESH
SAP SD QUERY REPORT_GANESH
Ganesh Tarlana
 
Query
QueryQuery
Using infoset query %2c sap query and quick viewer
Using infoset query %2c sap query and quick viewerUsing infoset query %2c sap query and quick viewer
Using infoset query %2c sap query and quick viewer
Shailendra Surana
 
Using infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewerUsing infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewer
bsm fico
 
SAP SD Training in Chennai
SAP SD Training in Chennai SAP SD Training in Chennai
SAP SD Training in Chennai
Thecreating Experts
 
How to develop a gateway service using code based implementation
How to develop a gateway service using code based implementationHow to develop a gateway service using code based implementation
How to develop a gateway service using code based implementation
nitin2517
 
SAP BASIS Training in Chennai
SAP BASIS Training in ChennaiSAP BASIS Training in Chennai
SAP BASIS Training in Chennai
Thecreating Experts
 
Sale Record System
Sale Record SystemSale Record System
Sale Record System
kalpita surve
 
Check printing in_r12
Check printing in_r12Check printing in_r12
Check printing in_r12
Rajesh Khatri
 
Sap
SapSap
Sap4 basic
Sap4 basicSap4 basic
Sap4 basic
Ramesh Thumburu
 
SAP 4.6 Basic Skills
SAP 4.6 Basic SkillsSAP 4.6 Basic Skills
SAP 4.6 Basic Skills
Trainning Educação
 
Create a basic performance point dashboard epc
Create a basic performance point dashboard   epcCreate a basic performance point dashboard   epc
Create a basic performance point dashboard epc
EPC Group
 
Jaspersoft and Clarity PPM - Advanced Reporting with Data Warehouse
Jaspersoft and Clarity PPM - Advanced Reporting with Data WarehouseJaspersoft and Clarity PPM - Advanced Reporting with Data Warehouse
Jaspersoft and Clarity PPM - Advanced Reporting with Data Warehouse
Thiago Bottoni
 
Affiliate Management Platform
Affiliate Management  Platform Affiliate Management  Platform
Affiliate Management Platform
Sudhi Ranjan Das
 
Create Cost Centre Group
Create Cost Centre GroupCreate Cost Centre Group
Create Cost Centre Group
Muhammad Junaid
 
L6-information-systems
L6-information-systemsL6-information-systems
L6-information-systems
smkengkilili2011
 
La6 ict-topic-6-information-systems
La6 ict-topic-6-information-systemsLa6 ict-topic-6-information-systems
La6 ict-topic-6-information-systems
Kak Yong
 
L6-information-systems
L6-information-systemsL6-information-systems
L6-information-systems
smkengkilili2011
 

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

Wiki sap query
Wiki sap queryWiki sap query
Wiki sap query
 
SAP SD QUERY REPORT_GANESH
SAP SD QUERY REPORT_GANESHSAP SD QUERY REPORT_GANESH
SAP SD QUERY REPORT_GANESH
 
Query
QueryQuery
Query
 
Using infoset query %2c sap query and quick viewer
Using infoset query %2c sap query and quick viewerUsing infoset query %2c sap query and quick viewer
Using infoset query %2c sap query and quick viewer
 
Using infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewerUsing infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewer
 
SAP SD Training in Chennai
SAP SD Training in Chennai SAP SD Training in Chennai
SAP SD Training in Chennai
 
How to develop a gateway service using code based implementation
How to develop a gateway service using code based implementationHow to develop a gateway service using code based implementation
How to develop a gateway service using code based implementation
 
SAP BASIS Training in Chennai
SAP BASIS Training in ChennaiSAP BASIS Training in Chennai
SAP BASIS Training in Chennai
 
Sale Record System
Sale Record SystemSale Record System
Sale Record System
 
Check printing in_r12
Check printing in_r12Check printing in_r12
Check printing in_r12
 
Sap
SapSap
Sap
 
Sap4 basic
Sap4 basicSap4 basic
Sap4 basic
 
SAP 4.6 Basic Skills
SAP 4.6 Basic SkillsSAP 4.6 Basic Skills
SAP 4.6 Basic Skills
 
Create a basic performance point dashboard epc
Create a basic performance point dashboard   epcCreate a basic performance point dashboard   epc
Create a basic performance point dashboard epc
 
Jaspersoft and Clarity PPM - Advanced Reporting with Data Warehouse
Jaspersoft and Clarity PPM - Advanced Reporting with Data WarehouseJaspersoft and Clarity PPM - Advanced Reporting with Data Warehouse
Jaspersoft and Clarity PPM - Advanced Reporting with Data Warehouse
 
Affiliate Management Platform
Affiliate Management  Platform Affiliate Management  Platform
Affiliate Management Platform
 
Create Cost Centre Group
Create Cost Centre GroupCreate Cost Centre Group
Create Cost Centre Group
 
L6-information-systems
L6-information-systemsL6-information-systems
L6-information-systems
 
La6 ict-topic-6-information-systems
La6 ict-topic-6-information-systemsLa6 ict-topic-6-information-systems
La6 ict-topic-6-information-systems
 
L6-information-systems
L6-information-systemsL6-information-systems
L6-information-systems
 

Recently uploaded

Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
Sven Peters
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
pavan998932
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
Gerardo Pardo-Castellote
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Undress Baby
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 

Recently uploaded (20)

Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 

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:
  • 9.
  • 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.