SlideShare a Scribd company logo
08/11/2019 1Jonathan Eemans JE Consulting
Queries in SAP
08/11/2019 2
Queries in SAP
Introduction
How does the InfoSet query functionality work?
How to create an InfoSet query?
Attention points
08/11/2019 3
Introduction
• In SAP R/3 and SAP ECC different reporting tools exist to create reports
directly in the ERP environment without coding.
• As from SAP S/4HANA the reporting framework changes and other reporting
tools are available.
Capabilities InfoSet Query
Drilldown
Reporting
Report Painter /
Writer
Available for all SAP modules +++ + ++
Easy to create +++ + +++
User-friendly ++ + +++
Interactive report output +++ +
Formatting possibilities ++ +++
Integration with MS products +++ +++ +++
08/11/2019 4
Introduction
• 6 reasons to use the query functionality in SAP R/3 or SAP:
It is delivered with SAP
It is available across all modules
It is easy to teach users to write their own reports
It requires minimal configuration
Security is built-in — no hard-coding
No ABAP programming skills required
08/11/2019 5
Introduction
• Useful transactions:
 SQ03: SAP Query - Maintain user groups
 SQ02: SAP Query - Maintain InfoSet
 SQ01: SAP Query - Maintain queries
 SE93: Transaction codes
 SE11: Dictionary - Tables
 SE16(N): General Table Display
08/11/2019 6
How does the infoset query functionality work?
08/11/2019 7
How to create an InfoSet query?
Proper configuration of these components consists of the following six steps:
1. Determine your administration strategy
2. Decide which application area to use for developing reports
3. Create user groups to organize reports
4. Create InfoSet
5. Create query
6. Create transaction code (if required)
08/11/2019 8
Step 1: Determine your administration strategy
• The first step in configuring the query functionality is to determine where
users can develop and create queries.
1. Configure and enable its use in the live production environment
2. Configure and enable its use only in a development client
3. A little bit of both
• Best practice: queries are always created in the development environment
and transported. All queries need to be tested in staging with special
attention to performance issues!
08/11/2019 9
Step 2: Decide which application area to use for
developing reports
• 2 application areas exist…
 Global application area: queries that are created in the global
application area appear in all clients that reside on a database server.
 Standard application area: in contrast, the standard application area
is client-specific.
 If you want to assign a transaction code to your query, create your
query in the standard application area.
08/11/2019 10
Step 3: Create user groups to organise reports
• The concept of a user group allows you to organise reports by segregating
a group of related business users from all other business users for
reporting purposes.
• In other words, everyone in a particular department creates reports in the
same area within SAP, which is called a user group.
• User Groups are maintained using the transaction code SQ03.
08/11/2019 11
Step 4: Create InfoSet
• InfoSets are data sources used in getting the data for SAP reports. Such
data sources are evaluated in queries.
• InfoSets are allocated to a user group; the members of a group can access
the InfoSet to which the group is allocated.
• InfoSets are maintained using the transaction code SQ02.
08/11/2019 12
Step 4: Create InfoSet (cont’d)
A table join includes several tables
that are read by SELECT statements.
Specify the name of the table that
you want to use to start the join
definition. You can choose more
tables later.
The data is read directly from a
single table.
A logical database is a method by
which ABAP programs read and
process data. The sequence in
which the data is supplied to the
programs is determined by a tree
structure.
08/11/2019 13
Step 4: Create InfoSet (cont’d)
• Join conditions
08/11/2019 14
Step 4: Create InfoSet (cont’d)
• Field groups
08/11/2019 15
Step 4: Create InfoSet (cont’d)
• Assign InfoSet to User Group
08/11/2019 16
Step 5: Create Query
• A query is a tool used to create lists using data available for analysis
purposes in InfoSet.
• Queries are assigned to InfoSet and user group(s).
• A query is created and maintained using the transaction code SQ01.
08/11/2019 17
Step 5: Create Query (cont’d)
• Assign InfoSet
• General parameters
08/11/2019 18
Step 5: Create Query (cont’d)
• Select user group
08/11/2019 19
Step 5: Create Query (cont’d)
• Define selection fields and fields in report
• Generate program
08/11/2019 20
Step 5: Create Query (cont’d)
• Transport
08/11/2019 21
Step 6: Create transaction code
• There are two options for executing queries…
1. Execute query from transaction SQ01
Not really user-friendly
2. Create custom transaction code to query
Authorisations need to be updated
08/11/2019 22
Step 6: Create transaction code
A new transaction code can be created using transaction SE93
08/11/2019 23
Query: Result
08/11/2019 24
Attention points
Performance of queries needs to be checked before transporting new reports
to production !
Simple lists with limited or no formatting !
Be careful with reports on transactional data !

More Related Content

What's hot

Bdc program to upload material master data mm01 code gallery - community wiki
Bdc program to upload material master data mm01   code gallery - community wikiBdc program to upload material master data mm01   code gallery - community wiki
Bdc program to upload material master data mm01 code gallery - community wiki
Lokesh Modem
 
Project Systems: Materials
Project Systems: MaterialsProject Systems: Materials
Project Systems: Materialsvnhardik
 
SAP Automatic Payment Program - F110
SAP Automatic Payment Program - F110SAP Automatic Payment Program - F110
SAP Automatic Payment Program - F110
Muzammil Khan
 
example of SAP Cut over strategy FI CO MM PS module
example of SAP Cut over strategy FI CO MM PS moduleexample of SAP Cut over strategy FI CO MM PS module
example of SAP Cut over strategy FI CO MM PS module
Citra Nudiasari
 
Integration with Group Reporting Preparation Ledger.pdf
Integration with Group Reporting Preparation Ledger.pdfIntegration with Group Reporting Preparation Ledger.pdf
Integration with Group Reporting Preparation Ledger.pdf
CarlosBerazaluceMino
 
A guide to functional areas and cost of sales P&L reporting in the SAP® Gener...
A guide to functional areas and cost of sales P&L reporting in the SAP® Gener...A guide to functional areas and cost of sales P&L reporting in the SAP® Gener...
A guide to functional areas and cost of sales P&L reporting in the SAP® Gener...John Jordan
 
SAP Bank Accounting - EBS Compilation by Techlorean.pdf
SAP Bank Accounting - EBS Compilation by Techlorean.pdfSAP Bank Accounting - EBS Compilation by Techlorean.pdf
SAP Bank Accounting - EBS Compilation by Techlorean.pdf
erikotsuji
 
Funds management configuration sap ag
Funds management configuration sap agFunds management configuration sap ag
Funds management configuration sap ag
Lluckyy
 
Kss4 Execute Plan Cost Splitting
Kss4 Execute Plan Cost SplittingKss4 Execute Plan Cost Splitting
Kss4 Execute Plan Cost Splittingwhocanbe1
 
Table maintenance generator and its modifications
Table maintenance generator and its modificationsTable maintenance generator and its modifications
Table maintenance generator and its modifications
scribid.download
 
55811936 product-costing-cost-estimation-in-sap
55811936 product-costing-cost-estimation-in-sap55811936 product-costing-cost-estimation-in-sap
55811936 product-costing-cost-estimation-in-sap
Pepa Pencheva
 
Internal Orders Detailed config
Internal Orders Detailed configInternal Orders Detailed config
Internal Orders Detailed configImran M Arab
 
Sap fico tutorial
Sap fico tutorialSap fico tutorial
Sap fico tutorial
us268612
 
Copa configuration
Copa configurationCopa configuration
Copa configurationMithun Roy
 
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
 
Abap hr programing
Abap hr programingAbap hr programing
Abap hr programingSupratim Ray
 
80467542 asset-closing-in-sap-fico
80467542 asset-closing-in-sap-fico80467542 asset-closing-in-sap-fico
80467542 asset-closing-in-sap-fico
Srinivas Y
 
Fiori app for sales distribution module
Fiori app for sales  distribution moduleFiori app for sales  distribution module
Fiori app for sales distribution module
Mandeep SINGH
 

What's hot (20)

Intercompany config
Intercompany configIntercompany config
Intercompany config
 
Bdc program to upload material master data mm01 code gallery - community wiki
Bdc program to upload material master data mm01   code gallery - community wikiBdc program to upload material master data mm01   code gallery - community wiki
Bdc program to upload material master data mm01 code gallery - community wiki
 
Project Systems: Materials
Project Systems: MaterialsProject Systems: Materials
Project Systems: Materials
 
SAP Automatic Payment Program - F110
SAP Automatic Payment Program - F110SAP Automatic Payment Program - F110
SAP Automatic Payment Program - F110
 
example of SAP Cut over strategy FI CO MM PS module
example of SAP Cut over strategy FI CO MM PS moduleexample of SAP Cut over strategy FI CO MM PS module
example of SAP Cut over strategy FI CO MM PS module
 
Integration with Group Reporting Preparation Ledger.pdf
Integration with Group Reporting Preparation Ledger.pdfIntegration with Group Reporting Preparation Ledger.pdf
Integration with Group Reporting Preparation Ledger.pdf
 
A guide to functional areas and cost of sales P&L reporting in the SAP® Gener...
A guide to functional areas and cost of sales P&L reporting in the SAP® Gener...A guide to functional areas and cost of sales P&L reporting in the SAP® Gener...
A guide to functional areas and cost of sales P&L reporting in the SAP® Gener...
 
SAP Bank Accounting - EBS Compilation by Techlorean.pdf
SAP Bank Accounting - EBS Compilation by Techlorean.pdfSAP Bank Accounting - EBS Compilation by Techlorean.pdf
SAP Bank Accounting - EBS Compilation by Techlorean.pdf
 
Funds management configuration sap ag
Funds management configuration sap agFunds management configuration sap ag
Funds management configuration sap ag
 
Kss4 Execute Plan Cost Splitting
Kss4 Execute Plan Cost SplittingKss4 Execute Plan Cost Splitting
Kss4 Execute Plan Cost Splitting
 
Table maintenance generator and its modifications
Table maintenance generator and its modificationsTable maintenance generator and its modifications
Table maintenance generator and its modifications
 
55811936 product-costing-cost-estimation-in-sap
55811936 product-costing-cost-estimation-in-sap55811936 product-costing-cost-estimation-in-sap
55811936 product-costing-cost-estimation-in-sap
 
Internal Orders Detailed config
Internal Orders Detailed configInternal Orders Detailed config
Internal Orders Detailed config
 
Sap fico tutorial
Sap fico tutorialSap fico tutorial
Sap fico tutorial
 
Copa configuration
Copa configurationCopa configuration
Copa configuration
 
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
 
Abap hr programing
Abap hr programingAbap hr programing
Abap hr programing
 
80467542 asset-closing-in-sap-fico
80467542 asset-closing-in-sap-fico80467542 asset-closing-in-sap-fico
80467542 asset-closing-in-sap-fico
 
Fiori app for sales distribution module
Fiori app for sales  distribution moduleFiori app for sales  distribution module
Fiori app for sales distribution module
 
Sap fico satyanarayana material
Sap fico satyanarayana materialSap fico satyanarayana material
Sap fico satyanarayana material
 

Similar to Queries in SAP: Introduction

IRJET- Transaction Purchase Order using Sap Tool
IRJET- Transaction Purchase Order using Sap ToolIRJET- Transaction Purchase Order using Sap Tool
IRJET- Transaction Purchase Order using Sap Tool
IRJET Journal
 
Abap interview questions and answers
Abap interview questions and answersAbap interview questions and answers
Abap interview questions and answers
Kaustav Pyne
 
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Piyush Kumar
 
SAP Basis Overview
SAP Basis OverviewSAP Basis Overview
SAP Basis Overview
maxsoftsolutions
 
Sap fico fa qs
Sap fico fa qsSap fico fa qs
Sap fico fa qs
Rakesh Joshi
 
Sap fico fa qs(1)
Sap fico fa qs(1)Sap fico fa qs(1)
Sap fico fa qs(1)
Rakesh Joshi
 
Job portal
Job portalJob portal
Job portal
Arman Ahmed
 
Exclusive SAP Basis Training Book | www.sapdocs.info
Exclusive SAP Basis Training Book | www.sapdocs.infoExclusive SAP Basis Training Book | www.sapdocs.info
Exclusive SAP Basis Training Book | www.sapdocs.info
sapdocs. info
 
IRJET- Restful Backend to Serve any Frontend System
IRJET- Restful Backend to Serve any Frontend SystemIRJET- Restful Backend to Serve any Frontend System
IRJET- Restful Backend to Serve any Frontend System
IRJET Journal
 
DataBench Toolbox Demo, Ivan Martinez, Tomas Pariente Lobo, BDV Meet-Up Riga,...
DataBench Toolbox Demo, Ivan Martinez, Tomas Pariente Lobo, BDV Meet-Up Riga,...DataBench Toolbox Demo, Ivan Martinez, Tomas Pariente Lobo, BDV Meet-Up Riga,...
DataBench Toolbox Demo, Ivan Martinez, Tomas Pariente Lobo, BDV Meet-Up Riga,...
DataBench
 
Project report
Project report Project report
Project report
MansiKulkarni18
 
What is Enterprise Resource Planning, SAP and SAP FIORI?
What is Enterprise Resource Planning, SAP and SAP FIORI? What is Enterprise Resource Planning, SAP and SAP FIORI?
What is Enterprise Resource Planning, SAP and SAP FIORI?
Pavan Golesar
 
How to broadcast a b ex report through e
How to broadcast a b ex report through eHow to broadcast a b ex report through e
How to broadcast a b ex report through eZaynab Fadlallah
 
51191092 sap-r3-extraction
51191092 sap-r3-extraction51191092 sap-r3-extraction
51191092 sap-r3-extractionhnt_dv
 
Abap sample
Abap sampleAbap sample
Application Rationalization with LeanIX
Application Rationalization with LeanIXApplication Rationalization with LeanIX
Application Rationalization with LeanIX
LeanIX GmbH
 
Day 6.3 extraction_business_content_and_generic
Day 6.3 extraction_business_content_and_genericDay 6.3 extraction_business_content_and_generic
Day 6.3 extraction_business_content_and_generictovetrivel
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdf
Kamal Acharya
 
Cyber bidding gateway report on ASP .net
Cyber bidding gateway report on ASP .netCyber bidding gateway report on ASP .net
Cyber bidding gateway report on ASP .net
Georgekutty Francis
 

Similar to Queries in SAP: Introduction (20)

IRJET- Transaction Purchase Order using Sap Tool
IRJET- Transaction Purchase Order using Sap ToolIRJET- Transaction Purchase Order using Sap Tool
IRJET- Transaction Purchase Order using Sap Tool
 
Abap interview questions and answers
Abap interview questions and answersAbap interview questions and answers
Abap interview questions and answers
 
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
 
SAP Basis Overview
SAP Basis OverviewSAP Basis Overview
SAP Basis Overview
 
Sap fico fa qs
Sap fico fa qsSap fico fa qs
Sap fico fa qs
 
Sap fico fa qs(1)
Sap fico fa qs(1)Sap fico fa qs(1)
Sap fico fa qs(1)
 
Job portal
Job portalJob portal
Job portal
 
Exclusive SAP Basis Training Book | www.sapdocs.info
Exclusive SAP Basis Training Book | www.sapdocs.infoExclusive SAP Basis Training Book | www.sapdocs.info
Exclusive SAP Basis Training Book | www.sapdocs.info
 
Raman O
Raman ORaman O
Raman O
 
IRJET- Restful Backend to Serve any Frontend System
IRJET- Restful Backend to Serve any Frontend SystemIRJET- Restful Backend to Serve any Frontend System
IRJET- Restful Backend to Serve any Frontend System
 
DataBench Toolbox Demo, Ivan Martinez, Tomas Pariente Lobo, BDV Meet-Up Riga,...
DataBench Toolbox Demo, Ivan Martinez, Tomas Pariente Lobo, BDV Meet-Up Riga,...DataBench Toolbox Demo, Ivan Martinez, Tomas Pariente Lobo, BDV Meet-Up Riga,...
DataBench Toolbox Demo, Ivan Martinez, Tomas Pariente Lobo, BDV Meet-Up Riga,...
 
Project report
Project report Project report
Project report
 
What is Enterprise Resource Planning, SAP and SAP FIORI?
What is Enterprise Resource Planning, SAP and SAP FIORI? What is Enterprise Resource Planning, SAP and SAP FIORI?
What is Enterprise Resource Planning, SAP and SAP FIORI?
 
How to broadcast a b ex report through e
How to broadcast a b ex report through eHow to broadcast a b ex report through e
How to broadcast a b ex report through e
 
51191092 sap-r3-extraction
51191092 sap-r3-extraction51191092 sap-r3-extraction
51191092 sap-r3-extraction
 
Abap sample
Abap sampleAbap sample
Abap sample
 
Application Rationalization with LeanIX
Application Rationalization with LeanIXApplication Rationalization with LeanIX
Application Rationalization with LeanIX
 
Day 6.3 extraction_business_content_and_generic
Day 6.3 extraction_business_content_and_genericDay 6.3 extraction_business_content_and_generic
Day 6.3 extraction_business_content_and_generic
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdf
 
Cyber bidding gateway report on ASP .net
Cyber bidding gateway report on ASP .netCyber bidding gateway report on ASP .net
Cyber bidding gateway report on ASP .net
 

Recently uploaded

openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Mind IT Systems
 
Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)
abdulrafaychaudhry
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
abdulrafaychaudhry
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Game Development with Unity3D (Game Development lecture 3)
Game Development  with Unity3D (Game Development lecture 3)Game Development  with Unity3D (Game Development lecture 3)
Game Development with Unity3D (Game Development lecture 3)
abdulrafaychaudhry
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
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
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
QuickwayInfoSystems3
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 
AI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website CreatorAI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website Creator
Google
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 

Recently uploaded (20)

openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
 
Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Game Development with Unity3D (Game Development lecture 3)
Game Development  with Unity3D (Game Development lecture 3)Game Development  with Unity3D (Game Development lecture 3)
Game Development with Unity3D (Game Development lecture 3)
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
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
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 
AI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website CreatorAI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website Creator
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 

Queries in SAP: Introduction

  • 1. 08/11/2019 1Jonathan Eemans JE Consulting Queries in SAP
  • 2. 08/11/2019 2 Queries in SAP Introduction How does the InfoSet query functionality work? How to create an InfoSet query? Attention points
  • 3. 08/11/2019 3 Introduction • In SAP R/3 and SAP ECC different reporting tools exist to create reports directly in the ERP environment without coding. • As from SAP S/4HANA the reporting framework changes and other reporting tools are available. Capabilities InfoSet Query Drilldown Reporting Report Painter / Writer Available for all SAP modules +++ + ++ Easy to create +++ + +++ User-friendly ++ + +++ Interactive report output +++ + Formatting possibilities ++ +++ Integration with MS products +++ +++ +++
  • 4. 08/11/2019 4 Introduction • 6 reasons to use the query functionality in SAP R/3 or SAP: It is delivered with SAP It is available across all modules It is easy to teach users to write their own reports It requires minimal configuration Security is built-in — no hard-coding No ABAP programming skills required
  • 5. 08/11/2019 5 Introduction • Useful transactions:  SQ03: SAP Query - Maintain user groups  SQ02: SAP Query - Maintain InfoSet  SQ01: SAP Query - Maintain queries  SE93: Transaction codes  SE11: Dictionary - Tables  SE16(N): General Table Display
  • 6. 08/11/2019 6 How does the infoset query functionality work?
  • 7. 08/11/2019 7 How to create an InfoSet query? Proper configuration of these components consists of the following six steps: 1. Determine your administration strategy 2. Decide which application area to use for developing reports 3. Create user groups to organize reports 4. Create InfoSet 5. Create query 6. Create transaction code (if required)
  • 8. 08/11/2019 8 Step 1: Determine your administration strategy • The first step in configuring the query functionality is to determine where users can develop and create queries. 1. Configure and enable its use in the live production environment 2. Configure and enable its use only in a development client 3. A little bit of both • Best practice: queries are always created in the development environment and transported. All queries need to be tested in staging with special attention to performance issues!
  • 9. 08/11/2019 9 Step 2: Decide which application area to use for developing reports • 2 application areas exist…  Global application area: queries that are created in the global application area appear in all clients that reside on a database server.  Standard application area: in contrast, the standard application area is client-specific.  If you want to assign a transaction code to your query, create your query in the standard application area.
  • 10. 08/11/2019 10 Step 3: Create user groups to organise reports • The concept of a user group allows you to organise reports by segregating a group of related business users from all other business users for reporting purposes. • In other words, everyone in a particular department creates reports in the same area within SAP, which is called a user group. • User Groups are maintained using the transaction code SQ03.
  • 11. 08/11/2019 11 Step 4: Create InfoSet • InfoSets are data sources used in getting the data for SAP reports. Such data sources are evaluated in queries. • InfoSets are allocated to a user group; the members of a group can access the InfoSet to which the group is allocated. • InfoSets are maintained using the transaction code SQ02.
  • 12. 08/11/2019 12 Step 4: Create InfoSet (cont’d) A table join includes several tables that are read by SELECT statements. Specify the name of the table that you want to use to start the join definition. You can choose more tables later. The data is read directly from a single table. A logical database is a method by which ABAP programs read and process data. The sequence in which the data is supplied to the programs is determined by a tree structure.
  • 13. 08/11/2019 13 Step 4: Create InfoSet (cont’d) • Join conditions
  • 14. 08/11/2019 14 Step 4: Create InfoSet (cont’d) • Field groups
  • 15. 08/11/2019 15 Step 4: Create InfoSet (cont’d) • Assign InfoSet to User Group
  • 16. 08/11/2019 16 Step 5: Create Query • A query is a tool used to create lists using data available for analysis purposes in InfoSet. • Queries are assigned to InfoSet and user group(s). • A query is created and maintained using the transaction code SQ01.
  • 17. 08/11/2019 17 Step 5: Create Query (cont’d) • Assign InfoSet • General parameters
  • 18. 08/11/2019 18 Step 5: Create Query (cont’d) • Select user group
  • 19. 08/11/2019 19 Step 5: Create Query (cont’d) • Define selection fields and fields in report • Generate program
  • 20. 08/11/2019 20 Step 5: Create Query (cont’d) • Transport
  • 21. 08/11/2019 21 Step 6: Create transaction code • There are two options for executing queries… 1. Execute query from transaction SQ01 Not really user-friendly 2. Create custom transaction code to query Authorisations need to be updated
  • 22. 08/11/2019 22 Step 6: Create transaction code A new transaction code can be created using transaction SE93
  • 24. 08/11/2019 24 Attention points Performance of queries needs to be checked before transporting new reports to production ! Simple lists with limited or no formatting ! Be careful with reports on transactional data !