SlideShare ist ein Scribd-Unternehmen logo
1 von 12
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.

Weitere ähnliche Inhalte

Was ist angesagt?

mizing Fileds in FBL1N/FBL5N
mizing Fileds in FBL1N/FBL5Nmizing Fileds in FBL1N/FBL5N
mizing Fileds in FBL1N/FBL5N
Imran M Arab
 
Enhancement technique how to use validations
Enhancement technique how to use validationsEnhancement technique how to use validations
Enhancement technique how to use validations
Ugeshkumarnetha Dasari
 
BATCH DATA COMMUNICATION
BATCH DATA COMMUNICATIONBATCH DATA COMMUNICATION
BATCH DATA COMMUNICATION
Kranthi Kumar
 

Was ist angesagt? (20)

Sap User Exit for Functional Consultant
Sap User Exit for Functional ConsultantSap User Exit for Functional Consultant
Sap User Exit for Functional Consultant
 
SAP Conifgdoc
SAP ConifgdocSAP Conifgdoc
SAP Conifgdoc
 
Sap SD Standard Reports
Sap SD Standard ReportsSap SD Standard Reports
Sap SD Standard Reports
 
Workbench and customising request
Workbench and customising requestWorkbench and customising request
Workbench and customising request
 
How to set up intercompany billing
How to set up intercompany billingHow to set up intercompany billing
How to set up intercompany billing
 
Source inspection qm
Source inspection qmSource inspection qm
Source inspection qm
 
Variant configuration-training-document
Variant configuration-training-documentVariant configuration-training-document
Variant configuration-training-document
 
Shd0 transaction variants
Shd0   transaction variantsShd0   transaction variants
Shd0 transaction variants
 
mizing Fileds in FBL1N/FBL5N
mizing Fileds in FBL1N/FBL5Nmizing Fileds in FBL1N/FBL5N
mizing Fileds in FBL1N/FBL5N
 
Enhancement technique how to use validations
Enhancement technique how to use validationsEnhancement technique how to use validations
Enhancement technique how to use validations
 
SAP Variant configuration
SAP Variant configurationSAP Variant configuration
SAP Variant configuration
 
Quick sap co configuration Internal Order
Quick sap co configuration Internal OrderQuick sap co configuration Internal Order
Quick sap co configuration Internal Order
 
S4 HANA Business Partner Configuration@Ganesh Tarlana
S4 HANA Business Partner Configuration@Ganesh TarlanaS4 HANA Business Partner Configuration@Ganesh Tarlana
S4 HANA Business Partner Configuration@Ganesh Tarlana
 
Important tables for sap sd
Important tables for sap sd Important tables for sap sd
Important tables for sap sd
 
Variant Configuration Overview
Variant  Configuration  OverviewVariant  Configuration  Overview
Variant Configuration Overview
 
SAP Account determination SD-FI by odaiah pelley
SAP Account determination SD-FI by odaiah pelleySAP Account determination SD-FI by odaiah pelley
SAP Account determination SD-FI by odaiah pelley
 
SAP Account determination MM-FI by Odaiah Pelley - 1
SAP Account determination MM-FI by Odaiah Pelley - 1SAP Account determination MM-FI by Odaiah Pelley - 1
SAP Account determination MM-FI by Odaiah Pelley - 1
 
Functional specification of sap
Functional specification of  sapFunctional specification of  sap
Functional specification of sap
 
sap variant-configuration
sap variant-configurationsap variant-configuration
sap variant-configuration
 
BATCH DATA COMMUNICATION
BATCH DATA COMMUNICATIONBATCH DATA COMMUNICATION
BATCH DATA COMMUNICATION
 

Ähnlich wie Sap query creation & transcation code creation for sap query

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
 
Create Cost Centre Group
Create Cost Centre GroupCreate Cost Centre Group
Create Cost Centre Group
Muhammad Junaid
 
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
 

Ähnlich wie 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
 
SAP 4.6 Basic Skills
SAP 4.6 Basic SkillsSAP 4.6 Basic Skills
SAP 4.6 Basic Skills
 
Sap4 basic
Sap4 basicSap4 basic
Sap4 basic
 
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
 

Mehr von SURESH BABU MUCHINTHALA

Ach payment configuration
Ach payment configurationAch payment configuration
Ach payment configuration
SURESH BABU MUCHINTHALA
 

Mehr von SURESH BABU MUCHINTHALA (6)

Ach payment configuration
Ach payment configurationAch payment configuration
Ach payment configuration
 
Sap manual bank statement process flow
Sap manual bank statement process flowSap manual bank statement process flow
Sap manual bank statement process flow
 
Mass update for asset master shut down activation process steps
Mass update for asset master shut down activation process stepsMass update for asset master shut down activation process steps
Mass update for asset master shut down activation process steps
 
Intercompany assets transfer
Intercompany assets transferIntercompany assets transfer
Intercompany assets transfer
 
Sap 1099 misc generic withholding tax reporting
Sap 1099 misc generic withholding tax  reportingSap 1099 misc generic withholding tax  reporting
Sap 1099 misc generic withholding tax reporting
 
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
 

Kürzlich hochgeladen

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Kürzlich hochgeladen (20)

BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
ManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide Deck
 

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.