SlideShare a Scribd company logo
ABAP Dictionary Objects: Views
March-2005
ABAP Dictionary Objects: Views |
2.08
Objectives
• The participants will be able to:
– Define a View.
– Explain the different Relational Operations.
– Discuss the different types of Views.
– Discuss how to use Views in an ABAP program.
March-2005
ABAP Dictionary Objects: Views |
2.08
2
What is a View?
March-2005
ABAP Dictionary Objects: Views |
2.08
3
 Views are used to look into one or more tables.
 A view does not contain data of its own.
The Most Basic Form of a View
March-2005
ABAP Dictionary Objects: Views |
2.08
4
 In its most basic form, a view simply mirrors an entire database table
The Relational Operations
March-2005
ABAP Dictionary Objects: Views |
2.08
5
Table 2
Selection
View BView B
Table 1
Projection
View AView A View CView C
Join
Table 4Table 4Table 3Table 3
 We can use views to Join several tables, Project (or choose) certain fields
from one or more tables & Select (or choose) certain records from one or
more tables.
The Projection Operation
March-2005
ABAP Dictionary Objects: Views |
2.08
6
Projection
View AView A
Table 1
 The projection operation is used to narrow a view’s focus to certain fields in a
table.
Specifying Projected Fields
March-2005
ABAP Dictionary Objects: Views |
2.08
7
Can use any field name if database view,
otherwise must be same name as table field.
The Selection Operation
March-2005
ABAP Dictionary Objects: Views |
2.08
8
Selection
View BView B
Table 2
Example:
Staff Level <= 3
 The selection operation is used to narrow a view’s focus to certain records in a
table.
Specifying Selection Criteria
March-2005
ABAP Dictionary Objects: Views |
2.08
9
1 2 3 4 5
Can include unprojected fields
The Join Operation
March-2005
ABAP Dictionary Objects: Views |
2.08
10
Table 3Table 3
Join
Table 4Table 4
View CView C
 The join operation is used to combine information from multiple tables into a
single view.
The Necessity of the Join
Operation
March-2005
ABAP Dictionary Objects: Views |
2.08
11
Salary
ID Name Salary
5579 Smith $10,000.00
5579 Smith $11,000.00
5579 Smith $12,000.00
5579 Smith $13,000.00
ID Name Salary 1 Salary 2 Salary 3 …
Employee
Wrong
 Database design principles often require related data to be stored in separate
tables. This is called normalising.
Understanding the Join Operation
March-2005
ABAP Dictionary Objects: Views |
2.08
12
ID Name …
EmployeeEmployee
ID Salary Date Effective
5579 $10,000.00 10/1/91
5579 $11,000.00 10/1/92
5579 $12,000.00 10/1/94
5579 $13,000.00 10/1/96
SalarySalary
Right
 The join operation essentially reverses the normalising process.
 The result of a join is a view that looks like a table with redundant data.
The Join Operation and Foreign
Keys
March-2005
ABAP Dictionary Objects: Views |
2.08
13
View CView C
Join
Table 4Table 4Table 3Table 3
Primary Secondary
 Therefore, in order to use the join operation in SAP, you must first ensure that
the appropriate foreign key relationships exist among the tables to be joined.
Specifying Joined Fields
March-2005
ABAP Dictionary Objects: Views |
2.08
14
Indicate base tables that data will come from.Indicate base tables that data will come from.
Hit button to see related tables and
automatically generate join conditions.
Join Conditions
Types of Views in the ABAP
Dictionary
• Database View
• Projection View
• Help View
• Maintenance View
March-2005
ABAP Dictionary Objects: Views |
2.08
15
The Database View
March-2005
ABAP Dictionary Objects: Views |
2.08
16
Database
DB
Database View
 The database view is the only type of view in SAP that is physically created at
the database level.
Demonstration
• Creation of a database view using two related
database tables.
March-2005
ABAP Dictionary Objects: Views |
2.08
17
Practice
• Creation of a database view using two related
database tables.
March-2005
ABAP Dictionary Objects: Views |
2.08
18
The Projection View
March-2005
ABAP Dictionary Objects: Views |
2.08
19
View C
Projection View
 The projection view is a logical view. In this context, the word “logical” means
that the view exists within the ABAP Dictionary but is not recognized by the
underlying database system.
Database vs. Projection Views
March-2005
ABAP Dictionary Objects: Views |
2.08
20
Database ViewProjection View
• Must be built over a single table
• Data can be updated
• Data updates must use open SQL
• Updates are less efficient
• Fields in the view must be named the same
as the fields in the underlying table
• Can’t be buffered
• Can be built over many tables
• Data can be updated if the view is built
over a single table
• Data updates can use open or native SQL
• Updates are more efficient
• Fields in the view can be named differently
from the fields in the underlying table
• Can be buffered
Other Types of Views
• Help View:
Help views can be used as selection methods
for Search Helps.It might be necessary to
create a Help View if you are trying to
accomplish an outer join.
• Maintenance View:
These views permit maintenance of base
table data. Transactions SM30 and
SE54 are provided for working with
maintenance views.March-2005
ABAP Dictionary Objects: Views |
2.08
21
Using a View in Program Code
March-2005
ABAP Dictionary Objects: Views |
2.08
22
TABLES: YXXEMP_V.
SELECT*
FROM YXXEMP_V.
WRITE: / YXXEMP_V-EMP_ID
YXXEMP_V-LAST_NAME,
YXXEMP_V-FIRST_NAME.
ENDSELECT.
Demonstration
• Select data from the database view created
earlier and display selected data in a report.
March-2005
ABAP Dictionary Objects: Views |
2.08
23
Practice
• Select data from the database view created
earlier and display selected data in a report.
March-2005
ABAP Dictionary Objects: Views |
2.08
24
Summary
• Views are used to look into one or more
tables. A view does not contain data of its
own.
• The projection operation is used to narrow a
view’s focus to certain fields
in a table.
• The Selection Operation is used to narrow a
view’s focus to certain records
in a table.
March-2005
ABAP Dictionary Objects: Views |
2.08
25
Questions
• What is a View ?
• What is a Database view ?
• What is a Projection view ?
• What is a Maintenance view ?
• What is a Help view ?
March-2005
ABAP Dictionary Objects: Views |
2.08
26

More Related Content

PPT
Chapter 05 adding structures1
PPT
PPT
Chapter 09 overview of search helps1
PPT
data modelling1
PPT
Chapter 04 abap dictionary tables in relational databases1
PPT
Chapter 03 foreign key relationships1
PPT
Chapter 01 overview of abap dictionary1
PPT
Chapter 06 abap repository information system1
Chapter 05 adding structures1
Chapter 09 overview of search helps1
data modelling1
Chapter 04 abap dictionary tables in relational databases1
Chapter 03 foreign key relationships1
Chapter 01 overview of abap dictionary1
Chapter 06 abap repository information system1

What's hot (17)

PPT
table maintenance generator1
PPT
Chapter 07 abap dictionary changes1
PPT
Chapter 02 abap dictionary objects1
PPT
Chapter 10 online help & documentation1
PPT
Chapter 08 abap dictionary objects views1
PPT
ABAP Material 04
PPT
MS Bi Portfolio Gregory Lee
PPT
L22 analyzing data using smart view
PPT
Charting solutions evaluation-1
PDF
ASP.NET MVC4 Tutorial
PPTX
Queries in SAP: Introduction
PPTX
Access 2013 Unit D
PDF
ETL Microsoft Material
DOCX
Obiee real solutions
PPTX
Ssis sql ssrs_sp_ssas_mdx_hb_li
PPTX
Showcase of Reports
PPTX
Reports Dashboards SQL Demo
table maintenance generator1
Chapter 07 abap dictionary changes1
Chapter 02 abap dictionary objects1
Chapter 10 online help & documentation1
Chapter 08 abap dictionary objects views1
ABAP Material 04
MS Bi Portfolio Gregory Lee
L22 analyzing data using smart view
Charting solutions evaluation-1
ASP.NET MVC4 Tutorial
Queries in SAP: Introduction
Access 2013 Unit D
ETL Microsoft Material
Obiee real solutions
Ssis sql ssrs_sp_ssas_mdx_hb_li
Showcase of Reports
Reports Dashboards SQL Demo
Ad

Viewers also liked (17)

PPT
0104 abap dictionary
PPT
Module pool programming
PPT
Ale Idoc
PDF
05 internal tables
PPT
Lecture02 abap on line
PPT
cardinality1
PPT
0106 debugging
PDF
Sujith ~ cross applications
PDF
Bapi jco[1]
PPT
Abap function module help
PPTX
Abap course chapter 3 basic concepts
PDF
control techniques
PPT
abap list viewer (alv)
PPTX
Unit 4 - Basic ABAP statements, ABAP Structures and ABAP Logical Expressions
PDF
Step by-step creation of a bapi in detailed steps with scr…
PPT
Dialog Programming Overview
PDF
Ale edi i_doc.sapdb.info
0104 abap dictionary
Module pool programming
Ale Idoc
05 internal tables
Lecture02 abap on line
cardinality1
0106 debugging
Sujith ~ cross applications
Bapi jco[1]
Abap function module help
Abap course chapter 3 basic concepts
control techniques
abap list viewer (alv)
Unit 4 - Basic ABAP statements, ABAP Structures and ABAP Logical Expressions
Step by-step creation of a bapi in detailed steps with scr…
Dialog Programming Overview
Ale edi i_doc.sapdb.info
Ad

Similar to Chapter 08 abap dictionary objects views1 (20)

PDF
Empowering Business Users: OBIEE 12c Visual Analyzer and Data Mashup
PPTX
Bilir's Business Intelligence Portfolio SSAS Project
PPTX
Alv view.pptx
PDF
SAP IBP 200 Training 17 -19 Feb.pdf by FZ
PDF
S4D430 Col24 Data Modeling in ABAP Dictionary and ABAP Core Data Services
PDF
Sql server indexed views speed up your select queries part 1 - code-projec
PPTX
Abap views and lock objects.pptx
PPT
Queries
PPT
Dashboard reporting in easy
PPTX
Siebel Open UI Presentation
PPTX
Ga 09 G2 Charles Tatum Portfolio
PPTX
Presentation2
PPTX
Presentation2
DOC
new_obiee_1
DOC
OBIEE 11g Online Training
PDF
Information Design Tool -Tutorial4
PPTX
Dbms fast track 2/3
PDF
obiee-training-obiee-11g-bi-publisher.pdf
PPT
SAP BASIS Introductory Training Program - Day 11.ppt
PPTX
Best Practices for Users - Connecting Tableau to OBIEE with BI Connector
Empowering Business Users: OBIEE 12c Visual Analyzer and Data Mashup
Bilir's Business Intelligence Portfolio SSAS Project
Alv view.pptx
SAP IBP 200 Training 17 -19 Feb.pdf by FZ
S4D430 Col24 Data Modeling in ABAP Dictionary and ABAP Core Data Services
Sql server indexed views speed up your select queries part 1 - code-projec
Abap views and lock objects.pptx
Queries
Dashboard reporting in easy
Siebel Open UI Presentation
Ga 09 G2 Charles Tatum Portfolio
Presentation2
Presentation2
new_obiee_1
OBIEE 11g Online Training
Information Design Tool -Tutorial4
Dbms fast track 2/3
obiee-training-obiee-11g-bi-publisher.pdf
SAP BASIS Introductory Training Program - Day 11.ppt
Best Practices for Users - Connecting Tableau to OBIEE with BI Connector

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
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
PPT
sap script overview
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
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
sap script overview

Chapter 08 abap dictionary objects views1

  • 1. ABAP Dictionary Objects: Views March-2005 ABAP Dictionary Objects: Views | 2.08
  • 2. Objectives • The participants will be able to: – Define a View. – Explain the different Relational Operations. – Discuss the different types of Views. – Discuss how to use Views in an ABAP program. March-2005 ABAP Dictionary Objects: Views | 2.08 2
  • 3. What is a View? March-2005 ABAP Dictionary Objects: Views | 2.08 3  Views are used to look into one or more tables.  A view does not contain data of its own.
  • 4. The Most Basic Form of a View March-2005 ABAP Dictionary Objects: Views | 2.08 4  In its most basic form, a view simply mirrors an entire database table
  • 5. The Relational Operations March-2005 ABAP Dictionary Objects: Views | 2.08 5 Table 2 Selection View BView B Table 1 Projection View AView A View CView C Join Table 4Table 4Table 3Table 3  We can use views to Join several tables, Project (or choose) certain fields from one or more tables & Select (or choose) certain records from one or more tables.
  • 6. The Projection Operation March-2005 ABAP Dictionary Objects: Views | 2.08 6 Projection View AView A Table 1  The projection operation is used to narrow a view’s focus to certain fields in a table.
  • 7. Specifying Projected Fields March-2005 ABAP Dictionary Objects: Views | 2.08 7 Can use any field name if database view, otherwise must be same name as table field.
  • 8. The Selection Operation March-2005 ABAP Dictionary Objects: Views | 2.08 8 Selection View BView B Table 2 Example: Staff Level <= 3  The selection operation is used to narrow a view’s focus to certain records in a table.
  • 9. Specifying Selection Criteria March-2005 ABAP Dictionary Objects: Views | 2.08 9 1 2 3 4 5 Can include unprojected fields
  • 10. The Join Operation March-2005 ABAP Dictionary Objects: Views | 2.08 10 Table 3Table 3 Join Table 4Table 4 View CView C  The join operation is used to combine information from multiple tables into a single view.
  • 11. The Necessity of the Join Operation March-2005 ABAP Dictionary Objects: Views | 2.08 11 Salary ID Name Salary 5579 Smith $10,000.00 5579 Smith $11,000.00 5579 Smith $12,000.00 5579 Smith $13,000.00 ID Name Salary 1 Salary 2 Salary 3 … Employee Wrong  Database design principles often require related data to be stored in separate tables. This is called normalising.
  • 12. Understanding the Join Operation March-2005 ABAP Dictionary Objects: Views | 2.08 12 ID Name … EmployeeEmployee ID Salary Date Effective 5579 $10,000.00 10/1/91 5579 $11,000.00 10/1/92 5579 $12,000.00 10/1/94 5579 $13,000.00 10/1/96 SalarySalary Right  The join operation essentially reverses the normalising process.  The result of a join is a view that looks like a table with redundant data.
  • 13. The Join Operation and Foreign Keys March-2005 ABAP Dictionary Objects: Views | 2.08 13 View CView C Join Table 4Table 4Table 3Table 3 Primary Secondary  Therefore, in order to use the join operation in SAP, you must first ensure that the appropriate foreign key relationships exist among the tables to be joined.
  • 14. Specifying Joined Fields March-2005 ABAP Dictionary Objects: Views | 2.08 14 Indicate base tables that data will come from.Indicate base tables that data will come from. Hit button to see related tables and automatically generate join conditions. Join Conditions
  • 15. Types of Views in the ABAP Dictionary • Database View • Projection View • Help View • Maintenance View March-2005 ABAP Dictionary Objects: Views | 2.08 15
  • 16. The Database View March-2005 ABAP Dictionary Objects: Views | 2.08 16 Database DB Database View  The database view is the only type of view in SAP that is physically created at the database level.
  • 17. Demonstration • Creation of a database view using two related database tables. March-2005 ABAP Dictionary Objects: Views | 2.08 17
  • 18. Practice • Creation of a database view using two related database tables. March-2005 ABAP Dictionary Objects: Views | 2.08 18
  • 19. The Projection View March-2005 ABAP Dictionary Objects: Views | 2.08 19 View C Projection View  The projection view is a logical view. In this context, the word “logical” means that the view exists within the ABAP Dictionary but is not recognized by the underlying database system.
  • 20. Database vs. Projection Views March-2005 ABAP Dictionary Objects: Views | 2.08 20 Database ViewProjection View • Must be built over a single table • Data can be updated • Data updates must use open SQL • Updates are less efficient • Fields in the view must be named the same as the fields in the underlying table • Can’t be buffered • Can be built over many tables • Data can be updated if the view is built over a single table • Data updates can use open or native SQL • Updates are more efficient • Fields in the view can be named differently from the fields in the underlying table • Can be buffered
  • 21. Other Types of Views • Help View: Help views can be used as selection methods for Search Helps.It might be necessary to create a Help View if you are trying to accomplish an outer join. • Maintenance View: These views permit maintenance of base table data. Transactions SM30 and SE54 are provided for working with maintenance views.March-2005 ABAP Dictionary Objects: Views | 2.08 21
  • 22. Using a View in Program Code March-2005 ABAP Dictionary Objects: Views | 2.08 22 TABLES: YXXEMP_V. SELECT* FROM YXXEMP_V. WRITE: / YXXEMP_V-EMP_ID YXXEMP_V-LAST_NAME, YXXEMP_V-FIRST_NAME. ENDSELECT.
  • 23. Demonstration • Select data from the database view created earlier and display selected data in a report. March-2005 ABAP Dictionary Objects: Views | 2.08 23
  • 24. Practice • Select data from the database view created earlier and display selected data in a report. March-2005 ABAP Dictionary Objects: Views | 2.08 24
  • 25. Summary • Views are used to look into one or more tables. A view does not contain data of its own. • The projection operation is used to narrow a view’s focus to certain fields in a table. • The Selection Operation is used to narrow a view’s focus to certain records in a table. March-2005 ABAP Dictionary Objects: Views | 2.08 25
  • 26. Questions • What is a View ? • What is a Database view ? • What is a Projection view ? • What is a Maintenance view ? • What is a Help view ? March-2005 ABAP Dictionary Objects: Views | 2.08 26

Editor's Notes

  • #4: A view is an object, like the telescope, that provides a picture of something. We can construct a view with special “lenses” or “filters” to allow us to look at one or more dictionary tables. We can look at parts of one table (selected records and/or fields) or combinations of tables and parts of tables. A view is an ABAP Dictionary object. In many cases, you reference a view in an ABAP program just as you would a table. For example, you can select data from a view. However, a view does not contain data of its own – rather, the view provides specialised access to the data that exists in other tables. For this reason, views are often called virtual tables.
  • #5: In its most basic form, a view simply mirrors an entire database table. It looks just like the table and it acts just like the table – but it isn’t actually the table. Of course, if this is all that views could do, they wouldn’t be very useful. Let’s take a look at some of the other capabilities of views. The view name cannot be the same as an existing table name.
  • #6: We can use views to: Join several tables Project (or choose) certain fields from one or more tables Select (or choose) certain records from one or more tables Join, projection, and selection are called relational operations.
  • #7: The projection operation is used to narrow a view’s focus to certain fields in a table. For example, we might have a view of an employee table that does not contain the salary field. Employees authorised to view salary data would be given authorisation to view the actual table, while other employees might only have authorisation to use the view without the salary data.
  • #8: When designing a view, view fields need to be given names. The view field names should be the same as the regular table fields they are reflecting, unless the view is a database view. Only in that situation are you permitted to use different names. When referencing the view field in code, you would refer to VIEW_NAME-VIEW_FIELD_NAME. You can also indicate the following in the View field column: : Include every field from the table. It follows that in the Field name column, you would indicate a * as well. : This removes a specific field from a view. You can use this option in conjunction with the one above to fine-tune which fields you want included in the view.
  • #9: The selection operation is used to narrow a view’s focus to certain records in a table. For example, we might sometimes wish to view only the information about employees belonging to a certain staff classification. This might mean creating one view containing partners and principals one view containing principal consultants, and another view containing consultants. Each view would be built using selection criteria that indicated which records to include in that view. As an example of why such a view might be used, staff members might be permitted to view the billing rates of employees in the same staff classification or lower, but not of employees in a higher classification.
  • #10: You specify selection criteria by building logical expressions that compare specific fields of a table to hard-coded literal values. (1 &amp; 2) Specify the table and field on which the restricted selection should take place. Any fields, including unprojected ones, can be indicated. (3) Specify the relational operator used to compare the field to the value. You may use EQ, NE, LE, LT, GE, GT, LIKE, and NOT LIKE. (4) Specify the comparison value. Comparison values must be text or numeric literals. Text literals must be enclosed in single quotes. (5) You can specify multiple selection criteria (one per line) and link them using the logical operators AND and OR. Unlike elsewhere in SAP (and most other systems), OR takes priority over AND. Also, OR operations are only permitted between lines which refer to the same field. If the projection and selection operations are both used within the same view, it is possible to specify selection criteria for fields that are not included within the view. For example, it would be possible to create a view that contained only employees making over $100,000 per year even if the view did not contain the salary field.
  • #11: The join operation is used to combine information from multiple tables into a single view. For example, we might wish to create a report listing employees by name, along with their salary history. Database design considerations would probably result in the salary history being stored in one table and basic employee information (such as the name) being stored in another. Thus, we might create a view that would combine the data from both tables. We could write our report program using this view, and it would seem to our program as if the data was stored in a single table. Using the join operation within a view is generally the most efficient way to access data from multiple tables. We’ll examine some other methods later on.
  • #12: Database design principles often require related data to be stored in separate tables. This is necessary to provide flexibility in one-to-many and many-to-many relationships, and also to prevent data redundancy. For example, if employee name and salary history were stored in the same table, we would encounter one of the following situations: If we stored salary history on the employee record, we would have to create a fixed number of “previous salary” fields in the employee table. For many employees, most of those fields would be blank, and for long-term employees, we might eventually run out of fields. If we stored employee name on the salary history record, we would have many copies of the employee’s name. If the employee’s name changed, that change would have to be made many times. Additionally, we would run the risk of not updating all the data correctly, and the employee and the salary table could get “out of sync.” Whenever possible, redundant copies of the same information should be avoided. As a result, data is often “broken apart” into several tables. This is called normalising the database. The join operation essentially reverses this process. The result of a join is a view that looks like a table with redundant data.
  • #13: When data is broken apart into separate tables, it is still necessary to duplicate some data – namely the key fields of the tables involved. For example, the salary history table would contain a field for employee ID number, so that we knew which employee each salary record belonged to. In this case, the employee ID number becomes a foreign key in the salary history table. The key to understanding the join operation is to understand that different tables are joined together using foreign keys. We don’t want every employee’s name associated with every salary history record. Rather, we want each employee’s name to be associated with only those salary records belonging to that employee.
  • #14: Therefore, in order to use the join operation in SAP, you must first ensure that the appropriate foreign key relationships exist among the tables to be joined. Also, you must ensure that the semantic attributes of those foreign keys have been maintained (see Chapter 4 for a discussion of semantic attributes and foreign keys). Other notes on the join operation: Views are created with a primary table and up to 10 secondary tables. The primary table can be either a check table or a foreign key table with respect to the other tables in the view (i.e., the primary table does not have to be the check table). Note : When a join operation is employed, only those primary table records that have a match in all secondary tables are retrieved. For example, in a join between employees and salary history, employees with no salary history records would not appear at all.
  • #15: You can hard code all the tables you need all at once. Then you would have to hard code the foreign key relationships between them as well. It might be simpler to input the first base table, and from there hit the Relationships pushbutton. Then you can select a related table and the join conditions will be filled in automatically for you.
  • #17: The database view is the only type of view in SAP that is physically created at the database level. In other words, the underlying database system also directly recognises the view, apart from SAP. Therefore, database views must be created over transparent tables. With the database view, all three of the relational operations (projection, selection, and join) can be used. Database views can be buffered just like transparent tables. In the technical settings you can decide whether to have buffering off, or on with type single record, generic, or full.
  • #20: The projection view is a logical view. In this context, the word “logical” means that the view exists within the ABAP Dictionary but is not recognised by the underlying database system. Projection views must be defined over a single transparent table. The only relational operation that is valid for a projection view is projection.
  • #21: Projection Views Database Views Must be built over a single table Can be built over many tables Data can be updatedData can be updated if the view is built over asingle table Data updates must use open SQLData updates can use open SQL or Native SQL Updates are less efficient than usingUpdates are more efficient than usinga Database Viewa Projection View Fields in the view must be named the Fields in the view can be namedsame as the fields in the differently from the fields in theunderlying table underlying table(s) Can’t be bufferedCan be buffered
  • #22: Help Views: Help views can be used as selection methods for Search Helps. It might be necessary to create a Help View if you are trying to accomplish an outer join, since database views only create inner joins. Maintenance Views: These views permit maintenance of base table data. Transactions SM30 and SE54 are provided for working with maintenance views. In previous releases, Help Views used to play a major role in matchcodes. However, matchcodes have been replaced by Search Helps, and therefore, Help Views no longer have as big a presence.
  • #23: In the code above, we select data from the view YXXEMP_V to write data from the id, name, and salary fields to the screen. The syntax to reference a view in an ABAP program is the same as that used to reference a table.