SlideShare a Scribd company logo
1 of 15
Views
March-2005 Views | 2.15.03
Objectives
• The participants will be able to :
– Create different type of views in database.
– Understand the difference between database &
projection view.
March-2005 Views | 2.15.03 2
Creating a view: Step 1
March-2005 Views | 2.15.03 3
Select radio button
“View”
Click on Create button
Provide a custom
name
Different types of views: Step2
March-2005 Views | 2.15.03 4
Select the view type
Click on the “Copy”
button
Defining primary & secondary tables:
Step3
March-2005 Views | 2.15.03 5
Primary table
Secondary table
Defining relationship for selected
tables: Step 4
March-2005 Views | 2.15.03 6
Relationship
Defining view fields : Step 5
March-2005 Views | 2.15.03 7
View fields for
primary table
View fields: Step 6
March-2005 Views | 2.15.03 8
All view fields from primary & secondary
tables displayed on screen
March-2005 Views | 2.15.03 9
Defining selection criteria: Step 7
Selection
conditions
March-2005 Views | 2.15.03 10
Defining maintenance status : Step 8
View
maintenance
March-2005 Views | 2.15.03 11
Code to demonstrate use
of database views
Demonstration
• Step by Step creation of a Database View.
March-2005 Views | 2.15.03 12
Practice
• Step by Step creation of a Database View.
March-2005 Views | 2.15.03 13
Summary
•There are different types of views for efficiently
extracting data from the database.
•For creating a view , one needs to define the
primary and secondary tables, define the
relationship for the selected tables, define the
view fields, define the selection criteria and
define the maintenance status.
March-2005 Views | 2.15.03 14
Questions
•What are the different types of views ?
•What is meant by defining selection criteria of
a view ?
•What is meant by defining maintenance status
of a view ?
March-2005 Views | 2.15.03 15

More Related Content

What's hot

Sap abap database table
Sap abap database tableSap abap database table
Sap abap database tableDucat
 
Sap Abap Reports
Sap Abap ReportsSap Abap Reports
Sap Abap Reportsvbpc
 
Object oriented approach to ALV Lists in ABAP
Object oriented approach to ALV Lists in ABAPObject oriented approach to ALV Lists in ABAP
Object oriented approach to ALV Lists in ABAPNoman Mohamed Hanif
 
Abap data dictionary
Abap data dictionaryAbap data dictionary
Abap data dictionarySmartGokul4
 
Introduction to ABAP
Introduction to ABAPIntroduction to ABAP
Introduction to ABAPsapdocs. info
 
Abap views and lock objects.pptx
Abap views and  lock objects.pptxAbap views and  lock objects.pptx
Abap views and lock objects.pptxAnimeshBehera5
 
User exit training
User exit trainingUser exit training
User exit trainingJen Ringel
 
ABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infoABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infosapdocs. info
 
Sap abap real time questions
Sap abap real time questionsSap abap real time questions
Sap abap real time questionstechie_gautam
 
Module-Pool-Tutorial.pdf
Module-Pool-Tutorial.pdfModule-Pool-Tutorial.pdf
Module-Pool-Tutorial.pdfSuman817957
 
Table maintenance generator and its modifications
Table maintenance generator and its modificationsTable maintenance generator and its modifications
Table maintenance generator and its modificationsscribid.download
 
Chapter 01 user exits
Chapter 01 user exitsChapter 01 user exits
Chapter 01 user exitsKranthi Kumar
 
ABAP Programming Overview
ABAP Programming OverviewABAP Programming Overview
ABAP Programming Overviewsapdocs. info
 
SAP Modularization techniques
SAP Modularization techniquesSAP Modularization techniques
SAP Modularization techniquesJugul Crasta
 
Dialog Programming Overview
Dialog Programming OverviewDialog Programming Overview
Dialog Programming Overviewsapdocs. info
 
Sap abap modularization interview questions
Sap abap modularization interview questionsSap abap modularization interview questions
Sap abap modularization interview questionsPradipta Mohanty
 

What's hot (20)

Sap abap database table
Sap abap database tableSap abap database table
Sap abap database table
 
Sap Abap Reports
Sap Abap ReportsSap Abap Reports
Sap Abap Reports
 
Object oriented approach to ALV Lists in ABAP
Object oriented approach to ALV Lists in ABAPObject oriented approach to ALV Lists in ABAP
Object oriented approach to ALV Lists in ABAP
 
Abap data dictionary
Abap data dictionaryAbap data dictionary
Abap data dictionary
 
Introduction to ABAP
Introduction to ABAPIntroduction to ABAP
Introduction to ABAP
 
Abap views and lock objects.pptx
Abap views and  lock objects.pptxAbap views and  lock objects.pptx
Abap views and lock objects.pptx
 
User exit training
User exit trainingUser exit training
User exit training
 
ABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infoABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.info
 
Sap abap real time questions
Sap abap real time questionsSap abap real time questions
Sap abap real time questions
 
Abap reports
Abap reportsAbap reports
Abap reports
 
Module-Pool-Tutorial.pdf
Module-Pool-Tutorial.pdfModule-Pool-Tutorial.pdf
Module-Pool-Tutorial.pdf
 
Table maintenance generator and its modifications
Table maintenance generator and its modificationsTable maintenance generator and its modifications
Table maintenance generator and its modifications
 
Chapter 01 user exits
Chapter 01 user exitsChapter 01 user exits
Chapter 01 user exits
 
ABAP Programming Overview
ABAP Programming OverviewABAP Programming Overview
ABAP Programming Overview
 
SAP Modularization techniques
SAP Modularization techniquesSAP Modularization techniques
SAP Modularization techniques
 
Badi document
Badi documentBadi document
Badi document
 
Dialog Programming Overview
Dialog Programming OverviewDialog Programming Overview
Dialog Programming Overview
 
Sap abap modularization interview questions
Sap abap modularization interview questionsSap abap modularization interview questions
Sap abap modularization interview questions
 
Sap scripts
Sap scriptsSap scripts
Sap scripts
 
Index in SAP ABAP
Index in SAP ABAPIndex in SAP ABAP
Index in SAP ABAP
 

Viewers also liked

Chapter 10 online help & documentation1
Chapter 10 online help & documentation1Chapter 10 online help & documentation1
Chapter 10 online help & documentation1Kranthi Kumar
 
Sujith ~ cross applications
Sujith ~ cross applicationsSujith ~ cross applications
Sujith ~ cross applicationsKranthi Kumar
 
Lecture02 abap on line
Lecture02 abap on lineLecture02 abap on line
Lecture02 abap on lineMilind Patil
 
Chapter 04 abap dictionary tables in relational databases1
Chapter 04 abap dictionary tables in relational databases1Chapter 04 abap dictionary tables in relational databases1
Chapter 04 abap dictionary tables in relational databases1Kranthi Kumar
 
Chapter 05 adding structures1
Chapter 05 adding structures1Chapter 05 adding structures1
Chapter 05 adding structures1Kranthi Kumar
 
Chapter 02 abap dictionary objects1
Chapter 02 abap dictionary objects1Chapter 02 abap dictionary objects1
Chapter 02 abap dictionary objects1Kranthi Kumar
 
Chapter 07 abap dictionary changes1
Chapter 07 abap dictionary changes1Chapter 07 abap dictionary changes1
Chapter 07 abap dictionary changes1Kranthi Kumar
 
Chapter 01 overview of abap dictionary1
Chapter 01 overview of abap dictionary1Chapter 01 overview of abap dictionary1
Chapter 01 overview of abap dictionary1Kranthi Kumar
 
Chapter 06 abap repository information system1
Chapter 06 abap  repository information system1Chapter 06 abap  repository information system1
Chapter 06 abap repository information system1Kranthi Kumar
 
Chapter 08 abap dictionary objects views1
Chapter 08 abap dictionary objects views1Chapter 08 abap dictionary objects views1
Chapter 08 abap dictionary objects views1Kranthi Kumar
 
0106 debugging
0106 debugging0106 debugging
0106 debuggingvkyecc1
 
0104 abap dictionary
0104 abap dictionary0104 abap dictionary
0104 abap dictionaryvkyecc1
 
Chapter 03 foreign key relationships1
Chapter 03 foreign key relationships1Chapter 03 foreign key relationships1
Chapter 03 foreign key relationships1Kranthi Kumar
 
Abap function module help
Abap function module helpAbap function module help
Abap function module helpKranthi Kumar
 
Version it satya_dev
Version it satya_devVersion it satya_dev
Version it satya_devKranthi Kumar
 

Viewers also liked (20)

cardinality1
cardinality1cardinality1
cardinality1
 
Chapter 10 online help & documentation1
Chapter 10 online help & documentation1Chapter 10 online help & documentation1
Chapter 10 online help & documentation1
 
Sujith ~ cross applications
Sujith ~ cross applicationsSujith ~ cross applications
Sujith ~ cross applications
 
Lecture02 abap on line
Lecture02 abap on lineLecture02 abap on line
Lecture02 abap on line
 
Chapter 04 abap dictionary tables in relational databases1
Chapter 04 abap dictionary tables in relational databases1Chapter 04 abap dictionary tables in relational databases1
Chapter 04 abap dictionary tables in relational databases1
 
data modelling1
 data modelling1 data modelling1
data modelling1
 
Chapter 05 adding structures1
Chapter 05 adding structures1Chapter 05 adding structures1
Chapter 05 adding structures1
 
Chapter 02 abap dictionary objects1
Chapter 02 abap dictionary objects1Chapter 02 abap dictionary objects1
Chapter 02 abap dictionary objects1
 
Ale Idoc
Ale IdocAle Idoc
Ale Idoc
 
Chapter 07 abap dictionary changes1
Chapter 07 abap dictionary changes1Chapter 07 abap dictionary changes1
Chapter 07 abap dictionary changes1
 
Chapter 01 overview of abap dictionary1
Chapter 01 overview of abap dictionary1Chapter 01 overview of abap dictionary1
Chapter 01 overview of abap dictionary1
 
05 internal tables
05 internal tables05 internal tables
05 internal tables
 
Chapter 06 abap repository information system1
Chapter 06 abap  repository information system1Chapter 06 abap  repository information system1
Chapter 06 abap repository information system1
 
Chapter 08 abap dictionary objects views1
Chapter 08 abap dictionary objects views1Chapter 08 abap dictionary objects views1
Chapter 08 abap dictionary objects views1
 
0106 debugging
0106 debugging0106 debugging
0106 debugging
 
0104 abap dictionary
0104 abap dictionary0104 abap dictionary
0104 abap dictionary
 
Chapter 03 foreign key relationships1
Chapter 03 foreign key relationships1Chapter 03 foreign key relationships1
Chapter 03 foreign key relationships1
 
Bapi jco[1]
Bapi jco[1]Bapi jco[1]
Bapi jco[1]
 
Abap function module help
Abap function module helpAbap function module help
Abap function module help
 
Version it satya_dev
Version it satya_devVersion it satya_dev
Version it satya_dev
 

Similar to VIEWS

Chapter 08 abap dictionary objects views1
Chapter 08 abap dictionary objects views1Chapter 08 abap dictionary objects views1
Chapter 08 abap dictionary objects views1Kranthi Kumar
 
Utilizing the Reporting Capabilities of The Financial Edge
Utilizing the Reporting Capabilities of The Financial EdgeUtilizing the Reporting Capabilities of The Financial Edge
Utilizing the Reporting Capabilities of The Financial EdgeBlackbaud
 
Dashboard reporting in easy
Dashboard reporting in easyDashboard reporting in easy
Dashboard reporting in easySayed Yunus
 
SAP 102 - BW Basics.ppt
SAP 102 - BW Basics.pptSAP 102 - BW Basics.ppt
SAP 102 - BW Basics.pptHari Somanath
 
OJS Training: Journal Settings and Configuration
OJS Training: Journal Settings and ConfigurationOJS Training: Journal Settings and Configuration
OJS Training: Journal Settings and ConfigurationLighton Phiri
 
Reporting & Analytics.pdf
Reporting & Analytics.pdfReporting & Analytics.pdf
Reporting & Analytics.pdfBhavani Testone
 
Empowering Business Users: OBIEE 12c Visual Analyzer and Data Mashup
Empowering Business Users: OBIEE 12c Visual Analyzer and Data MashupEmpowering Business Users: OBIEE 12c Visual Analyzer and Data Mashup
Empowering Business Users: OBIEE 12c Visual Analyzer and Data MashupEdelweiss Kammermann
 
Sketch Assignment - Task Management
Sketch Assignment - Task ManagementSketch Assignment - Task Management
Sketch Assignment - Task ManagementSuraj Rao
 

Similar to VIEWS (10)

Chapter 08 abap dictionary objects views1
Chapter 08 abap dictionary objects views1Chapter 08 abap dictionary objects views1
Chapter 08 abap dictionary objects views1
 
Utilizing the Reporting Capabilities of The Financial Edge
Utilizing the Reporting Capabilities of The Financial EdgeUtilizing the Reporting Capabilities of The Financial Edge
Utilizing the Reporting Capabilities of The Financial Edge
 
Dashboard reporting in easy
Dashboard reporting in easyDashboard reporting in easy
Dashboard reporting in easy
 
SAP 102 - BW Basics.ppt
SAP 102 - BW Basics.pptSAP 102 - BW Basics.ppt
SAP 102 - BW Basics.ppt
 
OJS Training: Journal Settings and Configuration
OJS Training: Journal Settings and ConfigurationOJS Training: Journal Settings and Configuration
OJS Training: Journal Settings and Configuration
 
Reporting & Analytics.pdf
Reporting & Analytics.pdfReporting & Analytics.pdf
Reporting & Analytics.pdf
 
Reporting & Analytics.pdf
Reporting & Analytics.pdfReporting & Analytics.pdf
Reporting & Analytics.pdf
 
Empowering Business Users: OBIEE 12c Visual Analyzer and Data Mashup
Empowering Business Users: OBIEE 12c Visual Analyzer and Data MashupEmpowering Business Users: OBIEE 12c Visual Analyzer and Data Mashup
Empowering Business Users: OBIEE 12c Visual Analyzer and Data Mashup
 
W10 - Work Order Preferences
W10 - Work Order PreferencesW10 - Work Order Preferences
W10 - Work Order Preferences
 
Sketch Assignment - Task Management
Sketch Assignment - Task ManagementSketch Assignment - Task Management
Sketch Assignment - Task Management
 

More from Kranthi Kumar

Creating simple comp
Creating simple compCreating simple comp
Creating simple compKranthi Kumar
 
Controllers and context programming
Controllers and context programmingControllers and context programming
Controllers and context programmingKranthi Kumar
 
Binding,context mapping,navigation exercise
Binding,context mapping,navigation exerciseBinding,context mapping,navigation exercise
Binding,context mapping,navigation exerciseKranthi Kumar
 
Web(abap introduction)
Web(abap introduction)Web(abap introduction)
Web(abap introduction)Kranthi Kumar
 
Chapter 07 debugging sap scripts
Chapter 07 debugging sap scriptsChapter 07 debugging sap scripts
Chapter 07 debugging sap scriptsKranthi Kumar
 
Chapter 06 printing sap script forms
Chapter 06 printing sap script formsChapter 06 printing sap script forms
Chapter 06 printing sap script formsKranthi Kumar
 
Chapter 05 sap script - configuration
Chapter 05 sap script - configurationChapter 05 sap script - configuration
Chapter 05 sap script - configurationKranthi Kumar
 
Chapter 04 sap script - output program
Chapter 04 sap script - output programChapter 04 sap script - output program
Chapter 04 sap script - output programKranthi Kumar
 
Chapter 02 sap script forms
Chapter 02 sap script formsChapter 02 sap script forms
Chapter 02 sap script formsKranthi Kumar
 

More from Kranthi Kumar (20)

Exercise in alv
Exercise in alvExercise in alv
Exercise in alv
 
Dynamic binding
Dynamic bindingDynamic binding
Dynamic binding
 
Data binding
Data bindingData binding
Data binding
 
Creating simple comp
Creating simple compCreating simple comp
Creating simple comp
 
Creating messages
Creating messagesCreating messages
Creating messages
 
Creating a comp
Creating a compCreating a comp
Creating a comp
 
Controllers and context programming
Controllers and context programmingControllers and context programming
Controllers and context programming
 
Context at design
Context at designContext at design
Context at design
 
Binding,context mapping,navigation exercise
Binding,context mapping,navigation exerciseBinding,context mapping,navigation exercise
Binding,context mapping,navigation exercise
 
Alv for web
Alv for webAlv for web
Alv for web
 
Web(abap introduction)
Web(abap introduction)Web(abap introduction)
Web(abap introduction)
 
Abap faq
Abap faqAbap faq
Abap faq
 
Sap abap material
Sap abap materialSap abap material
Sap abap material
 
Crm technical
Crm technicalCrm technical
Crm technical
 
control techniques
control techniquescontrol techniques
control techniques
 
Chapter 07 debugging sap scripts
Chapter 07 debugging sap scriptsChapter 07 debugging sap scripts
Chapter 07 debugging sap scripts
 
Chapter 06 printing sap script forms
Chapter 06 printing sap script formsChapter 06 printing sap script forms
Chapter 06 printing sap script forms
 
Chapter 05 sap script - configuration
Chapter 05 sap script - configurationChapter 05 sap script - configuration
Chapter 05 sap script - configuration
 
Chapter 04 sap script - output program
Chapter 04 sap script - output programChapter 04 sap script - output program
Chapter 04 sap script - output program
 
Chapter 02 sap script forms
Chapter 02 sap script formsChapter 02 sap script forms
Chapter 02 sap script forms
 

VIEWS

  • 2. Objectives • The participants will be able to : – Create different type of views in database. – Understand the difference between database & projection view. March-2005 Views | 2.15.03 2
  • 3. Creating a view: Step 1 March-2005 Views | 2.15.03 3 Select radio button “View” Click on Create button Provide a custom name
  • 4. Different types of views: Step2 March-2005 Views | 2.15.03 4 Select the view type Click on the “Copy” button
  • 5. Defining primary & secondary tables: Step3 March-2005 Views | 2.15.03 5 Primary table Secondary table
  • 6. Defining relationship for selected tables: Step 4 March-2005 Views | 2.15.03 6 Relationship
  • 7. Defining view fields : Step 5 March-2005 Views | 2.15.03 7 View fields for primary table
  • 8. View fields: Step 6 March-2005 Views | 2.15.03 8 All view fields from primary & secondary tables displayed on screen
  • 9. March-2005 Views | 2.15.03 9 Defining selection criteria: Step 7 Selection conditions
  • 10. March-2005 Views | 2.15.03 10 Defining maintenance status : Step 8 View maintenance
  • 11. March-2005 Views | 2.15.03 11 Code to demonstrate use of database views
  • 12. Demonstration • Step by Step creation of a Database View. March-2005 Views | 2.15.03 12
  • 13. Practice • Step by Step creation of a Database View. March-2005 Views | 2.15.03 13
  • 14. Summary •There are different types of views for efficiently extracting data from the database. •For creating a view , one needs to define the primary and secondary tables, define the relationship for the selected tables, define the view fields, define the selection criteria and define the maintenance status. March-2005 Views | 2.15.03 14
  • 15. Questions •What are the different types of views ? •What is meant by defining selection criteria of a view ? •What is meant by defining maintenance status of a view ? March-2005 Views | 2.15.03 15

Editor's Notes

  1. Go to ABAP Dictionary: Initial Screen (Transaction Code SE11). Select the ‘View’ radio button. Then, type in a custom name for the View. Click on the create button.
  2. Four different view types are supported. These differ in the way in which the view is implemented and in the methods permitted for accessing the view data. Database views are implemented with an equivalent view on the database. Projection views are used to hide fields of a table (only projection). Help views can be used as selection method in search helps. Maintenance views permit you to maintain the data distributed on several tables for one application object at one time. Database views implement an inner join. The other view types implement an outer join. Choose a View Type in this Pop-up screen. If the desired fields are from multiple tables choose DATABASE as the view type. If the desired fields are from a single table choose PROJECTION as the view type.
  3. Keep in mind that you can only include transparent tables in a database view For DATABASE view there will be one primary table and there can be zero, one or more secondary tables. The first table listed is automatically considered as the other primary table. List any desired secondary tables immediately after the primary table.
  4. If there are suitable foreign keys between the tables, you should copy the join conditions from these foreign keys Place the cursor on a table name and choose Relationships. All foreign keys to other tables defined for this table are displayed. Select the foreign keys and choose Copy. The join condition is now derived from the definitions in the foreign key.
  5. On the View fields tab page, select the fields that you want to copy to the view. Choose Table fields. All the tables contained in the view are displayed in a dialog box. Select a table. All the fields contained in this table are displayed. You can copy fields by selecting them in the first column and choosing Copy. You can also include an entire table in the view
  6. On the Selection conditions tab page, you can (optionally) formulate restrictions for the data records to be displayed with the view.The selection conditions define the data records that can be selected with the view.
  7. On the Maintenance status tab page, select the maintenance status of the database view. If the view contains more than one table, the maintenance status read only cannot be altered. Save your entries. You are asked to assign the view a Package. Activate the view.