SlideShare a Scribd company logo
The ABAP Query
ABAP Query ,[object Object],[object Object],[object Object]
ABAP Query Components ,[object Object],[object Object],[object Object],[object Object]
Standard  vs. Global Areas
[object Object],[object Object],[object Object],Standard vs. Global Areas
[object Object],[object Object],[object Object],Standard vs. Global Areas
InfoSet  Design Strategy
[object Object],[object Object],[object Object],[object Object],InfoSet Design Strategy
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],InfoSet Design Strategy – When to use a Logical Database
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],InfoSet Design Strategy – When to use Table Joins
[object Object],InfoSet Design Strategy – When to use an External Program
InfoSet  Creation
[object Object],[object Object],InfoSet - Creation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],InfoSet - Data Source  - Logical Database
[object Object],[object Object],InfoSet - Data Source - Logical Database ,[object Object]
[object Object],InfoSet - Data Source - Logical Database
[object Object],InfoSet - Data Source - Table Join ,[object Object]
InfoSet - Data Source - Table Join ,[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],InfoSet - Data Source – Data Retrieval Program
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],InfoSet - Data Source – External Program
InfoSet - Data Source  - External Program   * End of data retrieval loop for individual records (ENDSELECT, ENDDO, ENDLOOP) Comment to finish the statement in the loop. The data must be available in the  tab  structure. * <Query_body>   * Code to define the  itab  table, if such a table is used.  * Start of a loop to retrieve, one at a time, each of the records that you want to report on, and place them in the  tab  structure (SELECT, DO, LOOP) * Code for formatting data Comment to finish off a data statement. * <Query_head> Definition of an internal table  itab  with structure  tab  providing the records that you want to report on.  DATA: BEGIN OF itab OCCURS xxx.       INCLUDE STRUCTURE tab. DATA: END of itab.   DATA:   Select-Options:… Definition of parameters, selection criteria, and fields. Parameters  . Definition of the dictionary structure used to set up the InfoSet. This structure must contain the records that you want to report on.  Tables tab  .   Report xxxxxxxx  .
[object Object],[object Object],[object Object],[object Object],[object Object],InfoSet - Data Source – External Program
[object Object],InfoSet - Data Source  - External Program ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],InfoSet – Additional Tables, Structures, and Fields
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],InfoSet - Additional Code
[object Object],[object Object],[object Object],[object Object],[object Object],InfoSet – Assigning Additional Tables
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],InfoSet – Assigning Additional Fields
[object Object],[object Object],[object Object],[object Object],[object Object],InfoSet – Assigning Additional Fields
[object Object],[object Object],InfoSet – Assigning Fields to Field Groups ,[object Object],[object Object]
InfoSet – Changing Field Labels ,[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],InfoSet – Selection Criteria and Parameters
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],InfoSet – Management
[object Object],[object Object],[object Object],[object Object],[object Object],InfoSet – Copy InfoSets/Queries
User Group  Creation and Assignment
[object Object],[object Object],User Group - Creation Enter your User Group name  and hit the  button. Enter a description and hit save. You will be prompted for a transport.
[object Object],[object Object],User Group – Assign Users
[object Object],User Group – Assign InfoSets ,[object Object]
Query  Creation
[object Object],[object Object],Query - Creation Select your user group. Enter your Query  name and hit the  button. Select an InfoSet. Enter a description and hit save. You will be prompted for a transport.
Query - Creation Use Notes to document the Remedy ticket number, date of creation, and brief description. Enter CUS&STANDARD as the standard variant to be used by this query.  The naming convention of CUS& allows this to be transported. Enter your Query description, list and output format.  Hit  to continue.
Query – Selecting Fields ,[object Object],[object Object]
Query – Graphical Query Painter ,[object Object],[object Object],[object Object],[object Object]
Query – Graphical Query Painter
Query – Graphical Query Painter ,[object Object],[object Object],[object Object]
Query – Report Assignment Report Assignment allows you to drill into another report or transaction. ,[object Object],[object Object],[object Object]
Query – Report Assignment To drill into another transaction: ,[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Query – Management
Query – Program Generation Results ,[object Object],[object Object],[object Object],[object Object]
Query – Transaction Code Creation To create a transaction code for your query use transaction SE93: ,[object Object],[object Object],[object Object]
Query – Transaction Code Creation To create a transaction code for your query use transaction SE93: ,[object Object],[object Object]
InfoSet Examples
InfoSet: ZSD_OPEN_ORDERS User Group: ZSD Query: ZSD_OPEN_ORDER_D Program: AQZZZSD=========ZSD_OPEN_ORD_D Purpose:  Make open sales order information available at the order/item/ schedule line level with associated material master information.  Separates confirmed and unconfirmed values and quantities and makes totals available at the order, item, and schedule line levels.  Values are based on KZWI2 (Sub-total 2) since this represents shipment dollars.  Requested date and earliest schedule line date is available at each level.  Partial delivery or billing quantities are applied against the schedule lines to determine true open quantities and values at the delivery date level.   An open order date allows only orders due to deliver in that time period to be considered. Logical Database Example
InfoSet – Logical Database – ZSD_OPEN_ORDERS ,[object Object],[object Object],[object Object],[object Object]
InfoSet – Logical Database – ZSD_OPEN_ORDERS ,[object Object],[object Object],[object Object]
InfoSet – Logical Database – ZSD_OPEN_ORDERS ,[object Object],[object Object],[object Object]
InfoSet – Logical Database – ZSD_OPEN_ORDERS ,[object Object],[object Object],[object Object]
InfoSet – Logical Database – ZSD_OPEN_ORDERS ,[object Object],[object Object],[object Object],[object Object],[object Object]
InfoSet – Logical Database – ZSD_OPEN_ORDERS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
InfoSet – Logical Database – ZSD_OPEN_ORDERS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Purpose:  Join material master information from MARA, MARC, MVKE, and MBEW for the purposes of downloading the information to an HWS Data Warehouse.  Material data is merged with pricing data for the B0, B1, and B2 price lists for 3 input divisions (3A, 3B, 3C).  Characteristic data for the material is also merged as well as Unit of Measure conversions.  There are many additional calculated fields for the pricing and classification data. InfoSet: ZMM_DATAMINE User Group: ZMM Query: ZMM_DATAMINE Program: AQZZZMM=========ZMM_DATAMINE== Table Join Example
InfoSet – Table Join – ZMM_DATAMINE ,[object Object],[object Object],[object Object],[object Object]
InfoSet – Table Join – ZMM_DATAMINE ,[object Object],[object Object],[object Object]
InfoSet – Table Join – ZMM_DATAMINE ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Purpose:  Retrieve orders blocked by delivery block at either the schedule line and/or header level.  An index was created on VBEP for schedule line delivery block for this report.  If a schedule line delivery block is entered as selection criteria, data is retrieved starting with VBEP.  If no schedule line delivery block is entered, data is retrieved starting with VBAK. InfoSet: ZSD_SO_BLOCK_E External Program: ZSDQ_SO_BLOCK Data Structure: ZSDQ_SO_BLOCK User Group: ZSD Query: ZSD_SO_BLOCK_E Program: AQZZZSD=========ZSD_SO_BLOCK_E External Program Example
InfoSet – External Program –  ZSD_SO_BLOCK_E   ,[object Object],[object Object],[object Object],[object Object]
InfoSet – External Program –  ZSD_SO_BLOCK_E   ,[object Object],[object Object],[object Object],[object Object]
InfoSet – External Program –  ZSD_SO_BLOCK_E   ,[object Object],[object Object],[object Object]
InfoSet – External Program –  ZSD_SO_BLOCK_E   ,[object Object],[object Object],[object Object]
InfoSet – External Program –  ZSD_SO_BLOCK_E   ,[object Object],[object Object],[object Object],[object Object]
InfoSet – External Program –  ZSD_SO_BLOCK_E   ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object]

More Related Content

What's hot

Sap bw 4 hana vs sap bw on hana
Sap bw 4 hana vs sap bw on hanaSap bw 4 hana vs sap bw on hana
Sap bw 4 hana vs sap bw on hana
Jasbir Khanuja
 
Sap abap tutorials
Sap abap tutorialsSap abap tutorials
Sap abap tutorials
Harshul Phadke
 
Bw writing routines in update rules
Bw writing routines in update rulesBw writing routines in update rules
Bw writing routines in update rulesknreddyy
 
Using error stack and error dt ps in sap bi 7.0
Using error stack and error dt ps in sap bi 7.0Using error stack and error dt ps in sap bi 7.0
Using error stack and error dt ps in sap bi 7.0gireesho
 
Sap bw4 hana
Sap bw4 hanaSap bw4 hana
Sap bw4 hana
Nisit Payungkorapin
 
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
 
How to use abap cds for data provisioning in bw
How to use abap cds for data provisioning in bwHow to use abap cds for data provisioning in bw
How to use abap cds for data provisioning in bw
Luc Vanrobays
 
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
 
ABAP Open SQL & Internal Table
ABAP Open SQL & Internal TableABAP Open SQL & Internal Table
ABAP Open SQL & Internal Table
sapdocs. info
 
Fox formula in sap bi integrated planning
Fox formula in sap bi integrated planningFox formula in sap bi integrated planning
Fox formula in sap bi integrated planning
Venkatesh Yellamelli
 
Customer exit variables in sap
Customer exit variables in sapCustomer exit variables in sap
Customer exit variables in sapSidharth Sriram
 
Technical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part IITechnical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part II
Ashish Saxena
 
Beginner's guide create a custom 'copy' planning function type
Beginner's guide  create a custom 'copy' planning function typeBeginner's guide  create a custom 'copy' planning function type
Beginner's guide create a custom 'copy' planning function type
Naveen Kumar Kotha
 
Introduction to extracting data from sap s 4 hana with abap cds views
Introduction to extracting data from sap s 4 hana with abap cds viewsIntroduction to extracting data from sap s 4 hana with abap cds views
Introduction to extracting data from sap s 4 hana with abap cds views
Luc Vanrobays
 
Reports
ReportsReports
Reports
Jugul Crasta
 
Lo extraction part 7 enhancements
Lo extraction   part 7 enhancementsLo extraction   part 7 enhancements
Lo extraction part 7 enhancementsJNTU University
 

What's hot (20)

Sap bw 4 hana vs sap bw on hana
Sap bw 4 hana vs sap bw on hanaSap bw 4 hana vs sap bw on hana
Sap bw 4 hana vs sap bw on hana
 
Abap reports
Abap reportsAbap reports
Abap reports
 
Sap abap tutorials
Sap abap tutorialsSap abap tutorials
Sap abap tutorials
 
Bw writing routines in update rules
Bw writing routines in update rulesBw writing routines in update rules
Bw writing routines in update rules
 
Using error stack and error dt ps in sap bi 7.0
Using error stack and error dt ps in sap bi 7.0Using error stack and error dt ps in sap bi 7.0
Using error stack and error dt ps in sap bi 7.0
 
Sap bw4 hana
Sap bw4 hanaSap bw4 hana
Sap bw4 hana
 
Module pool programming
Module pool programmingModule pool programming
Module pool programming
 
Table maintenance generator and its modifications
Table maintenance generator and its modificationsTable maintenance generator and its modifications
Table maintenance generator and its modifications
 
How to use abap cds for data provisioning in bw
How to use abap cds for data provisioning in bwHow to use abap cds for data provisioning in bw
How to use abap cds for data provisioning in bw
 
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
 
ABAP Open SQL & Internal Table
ABAP Open SQL & Internal TableABAP Open SQL & Internal Table
ABAP Open SQL & Internal Table
 
Fox formula in sap bi integrated planning
Fox formula in sap bi integrated planningFox formula in sap bi integrated planning
Fox formula in sap bi integrated planning
 
Customer exit variables in sap
Customer exit variables in sapCustomer exit variables in sap
Customer exit variables in sap
 
Technical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part IITechnical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part II
 
Beginner's guide create a custom 'copy' planning function type
Beginner's guide  create a custom 'copy' planning function typeBeginner's guide  create a custom 'copy' planning function type
Beginner's guide create a custom 'copy' planning function type
 
Introduction to extracting data from sap s 4 hana with abap cds views
Introduction to extracting data from sap s 4 hana with abap cds viewsIntroduction to extracting data from sap s 4 hana with abap cds views
Introduction to extracting data from sap s 4 hana with abap cds views
 
Reports
ReportsReports
Reports
 
Field symbols
Field symbolsField symbols
Field symbols
 
Bapi programming
Bapi programmingBapi programming
Bapi programming
 
Lo extraction part 7 enhancements
Lo extraction   part 7 enhancementsLo extraction   part 7 enhancements
Lo extraction part 7 enhancements
 

Viewers also liked

Abap query
Abap queryAbap query
Abap querybrtkow
 
SAP-ABAP/4@e_max
SAP-ABAP/4@e_maxSAP-ABAP/4@e_max
SAP-ABAP/4@e_max
Bhuvnesh Gupta
 
Abap object-oriented-programming-tutorials
Abap object-oriented-programming-tutorialsAbap object-oriented-programming-tutorials
Abap object-oriented-programming-tutorials
cesarmendez78
 
Maximizing SAP ABAP Performance
Maximizing SAP ABAP PerformanceMaximizing SAP ABAP Performance
Maximizing SAP ABAP Performance
PeterHBrown
 
static ABAP code analyzers
static ABAP code analyzersstatic ABAP code analyzers
static ABAP code analyzers
Markus Theilen
 
Abap course chapter 7 abap objects and bsp
Abap course   chapter 7 abap objects and bspAbap course   chapter 7 abap objects and bsp
Abap course chapter 7 abap objects and bspMilind Patil
 
ABAP Basico para Consultores Funcionales
ABAP Basico para Consultores FuncionalesABAP Basico para Consultores Funcionales
ABAP Basico para Consultores Funcionales
sapdocs. info
 
SAP ABAP data dictionary
SAP ABAP data dictionarySAP ABAP data dictionary
SAP ABAP data dictionary
Revanth Nagaraju
 
An expert guide to new sap bi security features
An expert guide to new sap bi security featuresAn expert guide to new sap bi security features
An expert guide to new sap bi security featuresShazia_Sultana
 
네­임­드­사­다­리❤DBN111.COM❤네­임­드­사­다­리
네­임­드­사­다­리❤DBN111.COM❤네­임­드­사­다­리네­임­드­사­다­리❤DBN111.COM❤네­임­드­사­다­리
네­임­드­사­다­리❤DBN111.COM❤네­임­드­사­다­리
dbn111dotcom02
 
Get database properties using power shell in sql server 2008 techrepublic
Get database properties using power shell in sql server 2008   techrepublicGet database properties using power shell in sql server 2008   techrepublic
Get database properties using power shell in sql server 2008 techrepublicKaing Menglieng
 
Badis
Badis Badis
Badis
Rajesh Kumar
 
BATCH DATA COMMUNICATION
BATCH DATA COMMUNICATIONBATCH DATA COMMUNICATION
BATCH DATA COMMUNICATIONKranthi Kumar
 
Call transaction method
Call transaction methodCall transaction method
Call transaction methodKranthi Kumar
 
Basic Access Notes
Basic Access NotesBasic Access Notes
Basic Access Notes
Pyi Soe
 

Viewers also liked (20)

Abap query
Abap queryAbap query
Abap query
 
SAP-ABAP/4@e_max
SAP-ABAP/4@e_maxSAP-ABAP/4@e_max
SAP-ABAP/4@e_max
 
Abap object-oriented-programming-tutorials
Abap object-oriented-programming-tutorialsAbap object-oriented-programming-tutorials
Abap object-oriented-programming-tutorials
 
Maximizing SAP ABAP Performance
Maximizing SAP ABAP PerformanceMaximizing SAP ABAP Performance
Maximizing SAP ABAP Performance
 
static ABAP code analyzers
static ABAP code analyzersstatic ABAP code analyzers
static ABAP code analyzers
 
Abap course chapter 7 abap objects and bsp
Abap course   chapter 7 abap objects and bspAbap course   chapter 7 abap objects and bsp
Abap course chapter 7 abap objects and bsp
 
Exercise in alv
Exercise in alvExercise in alv
Exercise in alv
 
Epic abap
Epic  abapEpic  abap
Epic abap
 
Sap abap material
Sap abap materialSap abap material
Sap abap material
 
ABAP Basico para Consultores Funcionales
ABAP Basico para Consultores FuncionalesABAP Basico para Consultores Funcionales
ABAP Basico para Consultores Funcionales
 
SAP ABAP data dictionary
SAP ABAP data dictionarySAP ABAP data dictionary
SAP ABAP data dictionary
 
SAP ABAP Material
SAP ABAP MaterialSAP ABAP Material
SAP ABAP Material
 
An expert guide to new sap bi security features
An expert guide to new sap bi security featuresAn expert guide to new sap bi security features
An expert guide to new sap bi security features
 
네­임­드­사­다­리❤DBN111.COM❤네­임­드­사­다­리
네­임­드­사­다­리❤DBN111.COM❤네­임­드­사­다­리네­임­드­사­다­리❤DBN111.COM❤네­임­드­사­다­리
네­임­드­사­다­리❤DBN111.COM❤네­임­드­사­다­리
 
Batch input session
Batch input sessionBatch input session
Batch input session
 
Get database properties using power shell in sql server 2008 techrepublic
Get database properties using power shell in sql server 2008   techrepublicGet database properties using power shell in sql server 2008   techrepublic
Get database properties using power shell in sql server 2008 techrepublic
 
Badis
Badis Badis
Badis
 
BATCH DATA COMMUNICATION
BATCH DATA COMMUNICATIONBATCH DATA COMMUNICATION
BATCH DATA COMMUNICATION
 
Call transaction method
Call transaction methodCall transaction method
Call transaction method
 
Basic Access Notes
Basic Access NotesBasic Access Notes
Basic Access Notes
 

Similar to The ABAP Query

Abap interview questions and answers
Abap interview questions and answersAbap interview questions and answers
Abap interview questions and answers
Kaustav Pyne
 
Tableau Basic Questions
Tableau Basic QuestionsTableau Basic Questions
Tableau Basic Questions
Sooraj Vinodan
 
SAP ABAP Latest Interview Questions
SAP ABAP Latest  Interview Questions SAP ABAP Latest  Interview Questions
SAP ABAP Latest Interview Questions piyushchawala
 
Pnbhfl training final
Pnbhfl training finalPnbhfl training final
Pnbhfl training final
Nupur Mishra
 
SAP ABAP Interview questions
SAP ABAP Interview questionsSAP ABAP Interview questions
SAP ABAP Interview questions
IT LearnMore
 
Programming Interface & SAP BDC
Programming Interface & SAP BDCProgramming Interface & SAP BDC
Programming Interface & SAP BDC
Syam Sasi
 
Sure Outputs
Sure OutputsSure Outputs
Sure Outputs
SAP Sure
 
Lecture07 abap on line
Lecture07 abap on lineLecture07 abap on line
Lecture07 abap on lineMilind Patil
 
BAPI - Criação de Ordem de Manutenção
BAPI - Criação de Ordem de ManutençãoBAPI - Criação de Ordem de Manutenção
BAPI - Criação de Ordem de Manutenção
Roberto Fernandes Ferreira
 
Database Design
Database DesignDatabase Design
Database Designlearnt
 
Dbms fast track 2/3
Dbms fast track 2/3Dbms fast track 2/3
Dbms fast track 2/3
Dr. C.V. Suresh Babu
 
Usgage of ABAP in BI
Usgage of ABAP in BIUsgage of ABAP in BI
Usgage of ABAP in BI
Biswabrata Das
 
BI Publisher Data model design document
BI Publisher Data model design documentBI Publisher Data model design document
BI Publisher Data model design document
adivasoft
 
BI Publisher 11g : Data Model Design document
BI Publisher 11g : Data Model Design documentBI Publisher 11g : Data Model Design document
BI Publisher 11g : Data Model Design document
adivasoft
 
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
IICT Chromepet
 
Bdc
BdcBdc
OBIEE publisher with Report creation - Tutorial
OBIEE publisher with Report creation - TutorialOBIEE publisher with Report creation - Tutorial
OBIEE publisher with Report creation - Tutorial
onlinetrainingplacements
 
Sql query analyzer & maintenance
Sql query analyzer & maintenanceSql query analyzer & maintenance
Sql query analyzer & maintenance
nspyrenet
 
essentialofdatabasedesign-141203001046-conversion-gate01.pdf
essentialofdatabasedesign-141203001046-conversion-gate01.pdfessentialofdatabasedesign-141203001046-conversion-gate01.pdf
essentialofdatabasedesign-141203001046-conversion-gate01.pdf
AlfiaAnsari2
 

Similar to The ABAP Query (20)

Abap interview questions and answers
Abap interview questions and answersAbap interview questions and answers
Abap interview questions and answers
 
Tableau Basic Questions
Tableau Basic QuestionsTableau Basic Questions
Tableau Basic Questions
 
SAP ABAP Latest Interview Questions
SAP ABAP Latest  Interview Questions SAP ABAP Latest  Interview Questions
SAP ABAP Latest Interview Questions
 
Pnbhfl training final
Pnbhfl training finalPnbhfl training final
Pnbhfl training final
 
SAP ABAP Interview questions
SAP ABAP Interview questionsSAP ABAP Interview questions
SAP ABAP Interview questions
 
Programming Interface & SAP BDC
Programming Interface & SAP BDCProgramming Interface & SAP BDC
Programming Interface & SAP BDC
 
Sure Outputs
Sure OutputsSure Outputs
Sure Outputs
 
Lecture07 abap on line
Lecture07 abap on lineLecture07 abap on line
Lecture07 abap on line
 
BAPI - Criação de Ordem de Manutenção
BAPI - Criação de Ordem de ManutençãoBAPI - Criação de Ordem de Manutenção
BAPI - Criação de Ordem de Manutenção
 
Database Design
Database DesignDatabase Design
Database Design
 
Dbms fast track 2/3
Dbms fast track 2/3Dbms fast track 2/3
Dbms fast track 2/3
 
Usgage of ABAP in BI
Usgage of ABAP in BIUsgage of ABAP in BI
Usgage of ABAP in BI
 
BI Publisher Data model design document
BI Publisher Data model design documentBI Publisher Data model design document
BI Publisher Data model design document
 
BI Publisher 11g : Data Model Design document
BI Publisher 11g : Data Model Design documentBI Publisher 11g : Data Model Design document
BI Publisher 11g : Data Model Design document
 
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
 
Bdc
BdcBdc
Bdc
 
OBIEE publisher with Report creation - Tutorial
OBIEE publisher with Report creation - TutorialOBIEE publisher with Report creation - Tutorial
OBIEE publisher with Report creation - Tutorial
 
Sql query analyzer & maintenance
Sql query analyzer & maintenanceSql query analyzer & maintenance
Sql query analyzer & maintenance
 
Co pa extraction
Co pa extractionCo pa extraction
Co pa extraction
 
essentialofdatabasedesign-141203001046-conversion-gate01.pdf
essentialofdatabasedesign-141203001046-conversion-gate01.pdfessentialofdatabasedesign-141203001046-conversion-gate01.pdf
essentialofdatabasedesign-141203001046-conversion-gate01.pdf
 

The ABAP Query

  • 2.
  • 3.
  • 4. Standard vs. Global Areas
  • 5.
  • 6.
  • 7. InfoSet Design Strategy
  • 8.
  • 9.
  • 10.
  • 11.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21. InfoSet - Data Source - External Program   * End of data retrieval loop for individual records (ENDSELECT, ENDDO, ENDLOOP) Comment to finish the statement in the loop. The data must be available in the tab structure. * <Query_body>   * Code to define the itab table, if such a table is used. * Start of a loop to retrieve, one at a time, each of the records that you want to report on, and place them in the tab structure (SELECT, DO, LOOP) * Code for formatting data Comment to finish off a data statement. * <Query_head> Definition of an internal table itab with structure tab providing the records that you want to report on. DATA: BEGIN OF itab OCCURS xxx.       INCLUDE STRUCTURE tab. DATA: END of itab.   DATA:   Select-Options:… Definition of parameters, selection criteria, and fields. Parameters . Definition of the dictionary structure used to set up the InfoSet. This structure must contain the records that you want to report on. Tables tab .   Report xxxxxxxx .
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34. User Group Creation and Assignment
  • 35.
  • 36.
  • 37.
  • 39.
  • 40. Query - Creation Use Notes to document the Remedy ticket number, date of creation, and brief description. Enter CUS&STANDARD as the standard variant to be used by this query. The naming convention of CUS& allows this to be transported. Enter your Query description, list and output format. Hit to continue.
  • 41.
  • 42.
  • 43. Query – Graphical Query Painter
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 52. InfoSet: ZSD_OPEN_ORDERS User Group: ZSD Query: ZSD_OPEN_ORDER_D Program: AQZZZSD=========ZSD_OPEN_ORD_D Purpose: Make open sales order information available at the order/item/ schedule line level with associated material master information. Separates confirmed and unconfirmed values and quantities and makes totals available at the order, item, and schedule line levels. Values are based on KZWI2 (Sub-total 2) since this represents shipment dollars. Requested date and earliest schedule line date is available at each level. Partial delivery or billing quantities are applied against the schedule lines to determine true open quantities and values at the delivery date level. An open order date allows only orders due to deliver in that time period to be considered. Logical Database Example
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60. Purpose: Join material master information from MARA, MARC, MVKE, and MBEW for the purposes of downloading the information to an HWS Data Warehouse. Material data is merged with pricing data for the B0, B1, and B2 price lists for 3 input divisions (3A, 3B, 3C). Characteristic data for the material is also merged as well as Unit of Measure conversions. There are many additional calculated fields for the pricing and classification data. InfoSet: ZMM_DATAMINE User Group: ZMM Query: ZMM_DATAMINE Program: AQZZZMM=========ZMM_DATAMINE== Table Join Example
  • 61.
  • 62.
  • 63.
  • 64. Purpose: Retrieve orders blocked by delivery block at either the schedule line and/or header level. An index was created on VBEP for schedule line delivery block for this report. If a schedule line delivery block is entered as selection criteria, data is retrieved starting with VBEP. If no schedule line delivery block is entered, data is retrieved starting with VBAK. InfoSet: ZSD_SO_BLOCK_E External Program: ZSDQ_SO_BLOCK Data Structure: ZSDQ_SO_BLOCK User Group: ZSD Query: ZSD_SO_BLOCK_E Program: AQZZZSD=========ZSD_SO_BLOCK_E External Program Example
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 71.