Monday, June 2, 2008
SAP ABAP Views
SAP ABAP Views
Many a times it is required to extract data from several tables this can be a time consuming process. To simplify the process and to increase the efficiency of the code, you can define a VIEW. Data is not stored in a VIEW physically. Here data is combined from several tables, but the data is stored in their respective tables. As the name goes a VIEW is just a VIEW of the selected/desired fields from a number of tables. Fields that are not required are hidden. For example if data needs to be extracted from 5 tables with desired fields, then you can create a VIEW of the required fields.
In SAP ABAP a VIEW can be defined in the following ways.
1) By masking one or more fields from a Table.
2) By Linking tables with a Rational Join Operation
3) By defining join condition from a foreign key defined between the tables
There are 4 types of view in ABAP
1) Database Views
2) Projection Views
3) Help Views
4) Maintenance Views
Many a times it is required to extract data from several tables this can be a time consuming process. To simplify the process and to increase the efficiency of the code, you can define a VIEW. Data is not stored in a VIEW physically. Here data is combined from several tables, but the data is stored in their respective tables. As the name goes a VIEW is just a VIEW of the selected/desired fields from a number of tables. Fields that are not required are hidden. For example if data needs to be extracted from 5 tables with desired fields, then you can create a VIEW of the required fields.
In SAP ABAP a VIEW can be defined in the following ways.
1) By masking one or more fields from a Table.
2) By Linking tables with a Rational Join Operation
3) By defining join condition from a foreign key defined between the tables
There are 4 types of view in ABAP
1) Database Views
2) Projection Views
3) Help Views
4) Maintenance Views
Labels:
Data Dictionary,
Tables,
Views,
Viewsin SAP ABAP
Subscribe to:
Post Comments (Atom)
ABAP TIPS
|
Always use Pretty Printer and Extended Program Check before releasing the code. Do not leave unused code in the program. Comment the code thoroughly. Align the comments and the Code. Follow the SAP Standards and SAP Best Practices guidelines. It’s a good practice to take a dump of the code on your local drive. |
No comments:
Post a Comment