2
Most read
3
Most read
4
Most read
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

PDF
Sap Abap Reports
PPT
User exit training
PPTX
Oops abap fundamental
PPTX
Abap data dictionary
PDF
Smartforms interview questions with answers
PPTX
SAP IDoc Overview and Outbound IDoc.pptx
DOCX
Sap abap modularization interview questions
PDF
ABAP for Beginners - www.sapdocs.info
Sap Abap Reports
User exit training
Oops abap fundamental
Abap data dictionary
Smartforms interview questions with answers
SAP IDoc Overview and Outbound IDoc.pptx
Sap abap modularization interview questions
ABAP for Beginners - www.sapdocs.info

What's hot (20)

PDF
Abap reports
PPTX
Sap abap
PDF
SAP ABAP data dictionary
PPTX
Sap abap-data structures and internal tables
PPT
07.Advanced Abap
PPT
table maintenance generator1
PPTX
Reports
DOC
Badi document
PPT
Module pool programming
PPT
ABAP Object oriented concepts
PPT
ABAP Open SQL & Internal Table
PPT
SAP ABAP - Needed Notes
PPT
Chapter 01 user exits
DOC
1000 solved questions
DOCX
Edit idoc , reprocess and test idoc
PPTX
SAP ABAp module Pool programming give by Rahul Mehta
PPTX
Object oriented approach to ALV Lists in ABAP
PPTX
SAP Adobe forms
PDF
BADI IMPLEMENTATION.pdf
PPTX
SAP Smart forms
Abap reports
Sap abap
SAP ABAP data dictionary
Sap abap-data structures and internal tables
07.Advanced Abap
table maintenance generator1
Reports
Badi document
Module pool programming
ABAP Object oriented concepts
ABAP Open SQL & Internal Table
SAP ABAP - Needed Notes
Chapter 01 user exits
1000 solved questions
Edit idoc , reprocess and test idoc
SAP ABAp module Pool programming give by Rahul Mehta
Object oriented approach to ALV Lists in ABAP
SAP Adobe forms
BADI IMPLEMENTATION.pdf
SAP Smart forms
Ad

Viewers also liked (20)

PPT
cardinality1
PPT
Chapter 10 online help & documentation1
PDF
Sujith ~ cross applications
PPT
Lecture02 abap on line
PPT
Chapter 04 abap dictionary tables in relational databases1
PPT
data modelling1
PPT
Chapter 05 adding structures1
PPT
Chapter 02 abap dictionary objects1
PPT
Ale Idoc
PPT
Chapter 07 abap dictionary changes1
PPT
Chapter 01 overview of abap dictionary1
PDF
05 internal tables
PPT
Chapter 06 abap repository information system1
PPT
Chapter 08 abap dictionary objects views1
PPT
0106 debugging
PPT
0104 abap dictionary
PPT
Chapter 03 foreign key relationships1
PDF
Bapi jco[1]
PPT
Abap function module help
PDF
Version it satya_dev
cardinality1
Chapter 10 online help & documentation1
Sujith ~ cross applications
Lecture02 abap on line
Chapter 04 abap dictionary tables in relational databases1
data modelling1
Chapter 05 adding structures1
Chapter 02 abap dictionary objects1
Ale Idoc
Chapter 07 abap dictionary changes1
Chapter 01 overview of abap dictionary1
05 internal tables
Chapter 06 abap repository information system1
Chapter 08 abap dictionary objects views1
0106 debugging
0104 abap dictionary
Chapter 03 foreign key relationships1
Bapi jco[1]
Abap function module help
Version it satya_dev
Ad

Similar to VIEWS (12)

PPTX
report and dashboard salesforce in 2024.pptx
PPT
Chapter 08 abap dictionary objects views1
PDF
Utilizing the Reporting Capabilities of The Financial Edge
PPT
Dashboard reporting in easy
PPTX
PPT: Introduction to Analytics Reporting
PPT
SAP 102 - BW Basics.ppt
PDF
OJS Training: Journal Settings and Configuration
PDF
Reporting & Analytics.pdf
PDF
Reporting & Analytics.pdf
PDF
Empowering Business Users: OBIEE 12c Visual Analyzer and Data Mashup
PDF
W10 - Work Order Preferences
PDF
Sketch Assignment - Task Management
report and dashboard salesforce in 2024.pptx
Chapter 08 abap dictionary objects views1
Utilizing the Reporting Capabilities of The Financial Edge
Dashboard reporting in easy
PPT: Introduction to Analytics Reporting
SAP 102 - BW Basics.ppt
OJS Training: Journal Settings and Configuration
Reporting & Analytics.pdf
Reporting & Analytics.pdf
Empowering Business Users: OBIEE 12c Visual Analyzer and Data Mashup
W10 - Work Order Preferences
Sketch Assignment - Task Management

More from Kranthi Kumar (20)

PDF
Exercise in alv
PDF
Dynamic binding
PDF
Data binding
PDF
Creating simple comp
PDF
Creating messages
PDF
Creating a comp
PDF
Controllers and context programming
PDF
Context at design
PDF
Binding,context mapping,navigation exercise
PDF
Alv for web
PDF
Web(abap introduction)
DOC
Abap faq
PDF
Sap abap material
PDF
Crm technical
PDF
control techniques
PPT
Chapter 07 debugging sap scripts
PPT
Chapter 06 printing sap script forms
PPT
Chapter 05 sap script - configuration
PPT
Chapter 04 sap script - output program
PPT
Chapter 02 sap script forms
Exercise in alv
Dynamic binding
Data binding
Creating simple comp
Creating messages
Creating a comp
Controllers and context programming
Context at design
Binding,context mapping,navigation exercise
Alv for web
Web(abap introduction)
Abap faq
Sap abap material
Crm technical
control techniques
Chapter 07 debugging sap scripts
Chapter 06 printing sap script forms
Chapter 05 sap script - configuration
Chapter 04 sap script - output program
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

  • #4: 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.
  • #5: 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.
  • #6: 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.
  • #7: 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.
  • #8: 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
  • #10: 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.
  • #11: 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.