Saturday, July 5, 2014

SAP VIEWS Types- Database Projection Maintenance Help

Welcome to SAP ABAP Interview Questions. SAP VIEWS Types- Database, Projection, Maintenance, and Help view.

What Are VIEWS in SAP ABAP?


A view is a virtual table which is used to access the data of multiple database tables. A view contains fields from multiple database tables to display data. Views are four types in SAP ABAP.

Different Types of Views in SAP



Database view

Projection view

Maintenance view

Help view


Database View


•It access the data of one or more database tables.


•If it is created on more than one table it can be used only for reading.


•It implement an inner join.


•It only contain transparent tables.They may or may not have FK relationship.


•It can be used in ABAP program with open & native SQL statements.


•It has corresponding object in database.


•Append view & technical settings is possible .



Projection View



•It is used to access few or all columns of a single DB table for reading & writing data.


•Can not specify selection conditions.


•It can be used in ABAP program.


•It can access pooled & cluster tables also.


•There is no corresponding object in DB.


Maintenance View



•To update the data of one or more tables at a time.


•Transaction Codes associated with MV:


SE54 – Generate table maintenance dialog.


SM30 – Extended table maintenance.


•It implement both inner join and left outer join.


•FK relationship is compulsory between tables.


•It can not be used in ABAP program.


•All key fields of primary & secondary tables must be included in MV.


•You can insert tables that are linked by FK with one of secondary tables that was already inserted.


•Cardinality & FK field type is mandatory in MV.If secondary table is dependent table, cardinality can be 1:1 or 1:C. If secondary table is reference table, cardinality can be 1:N or 1:CN.


•The key fields must be defined before other fields.They must not be mixed.


•Maintenance attribute (p) has to be defined like R,S,H,<space>.Refer on line help.


•In SE54 , Mention function group,Authorization group, maintenance Type (one or two step) & screen number for overview & single screen.


Help View



•It is used while creating search helps for providing F4 help.


•It implement outer join.


•FK relationship is compulsory between tables.


•It can not be used in ABAP program.


•Not necessary to include all key fields of secondary tables in HV.


•You can insert tables that are linked by FK with one of secondary tables that was already inserted.


•Cardinality & FK field type is mandatory in HV.If secondary table is dependent table, cardinality can be 1:1 or 1:C. If secondary table is reference table, cardinality can be 1:N or 1:CN.

"You found the information helpful and want to say thanks? Your donation is enough to inspire us to do more. Thanks a bunch!"

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Categories

ABAP (1) ABAP Interview Questions (112) ABAP Open SQL Statements (1) ABAP Syntax Rules (6) ABAP WORKBENCH (2) ABAP-Interview-Questions (52) ALE IDOC (6) ALE IDOC Interview Questions (6) ale-idoc (6) ALE-IDOC-Interview-Questions (19) ALV Interview Questions (5) ALV-Interview-Questions (22) BADI (2) BAPI (1) BAPI Interview Questions (1) BAPI-Interview-Questions (14) BDC (6) BDC Interview Questions (6) BDC-Interview-Questions (9) big data (2) big data interview questions (1) Classical Reports Interview Question (3) Classical-Reports-Interview-Questions (22) Conditional Statements (1) Cross Applications (3) Cross-Applications (14) Data Dictionary (22) Data Type Questins (1) Data types (1) Data-Dictionary (48) Data-Type-Questins (6) Dialog programming (5) Dialog Programming Interview Questions (4) Dialog-Programming (30) DOMAIN Interview Questions (1) Domain-Interview-Questions (8) Function Module (2) hadoop (2) hadoop interview questions (2) hdfs (1) IDoc Tutorials (6) Interactive Report Interview Questions (4) Interactive-Reports-Interview-Questions (22) Internal Tables (1) interview questions (1) Lock Object Interview Questions (1) Lock-Objects-Interview-Questions (10) Logical Database (1) Modularization Interview Questions (4) Modularization-Interview-Questions (25) Module Pool Programming (5) Module-Pool-Programming (39) modules in sap (1) Object Oriented ABAP (19) Object Oriented ABAP Interview Questions (15) object-oriented-abap (2) Object-Oriented-ABAP-Interview-Questions (34) OOABAP (9) Reports (14) Reports Interview Questions (9) Reports-Interview-Questions (19) RFC (1) RFC Interview Questions (1) RFC-Interview-Questions (14) RICEF (1) RICEF Objects (1) SAP (4) SAP ABAP (4) SAP ABAP Interview Questions (42) SAP ABAP Introduction (46) SAP ABAP Message Types (2) SAP BADI Interview Questions (2) SAP Basics (71) SAP Books (2) SAP Certification (1) SAP CONSULTANTS (5) SAP CRM (1) SAP ENHANCEMENTS (3) SAP EXITS (2) SAP EXITS ( SAP ENHANCEMENTS ) Interview Questions (1) SAP Free Books (1) SAP HR (2) SAP Lock Object (1) sap modules (2) SAP Open SQL Statements (1) SAP R/3 Architecture (4) SAP Search help (1) SAP Smartforms (1) SAP Smartforms Interview Questions (2) SAP Tables (5) SAP Tcodes (10) SAP Views (1) SAP Webdynpro ABAP (12) SAP Work Processors (2) SAP Workflow (3) SAP-BADI-Interview-Questions (11) SAP-Enhancements (39) SAP-Exits (39) SAP-Exits-Enhancements-Interview Questions (3) SAP-HANA (1) SAP-HANA-Interview-Questions (1) SAP-Smartforms-Interview-Questions (2) SAP-Workflow (3) Scripts (3) Scripts Interview Questions (2) Scripts-Interview-Questions (32) Search Help Interview Questions (1) Search-Help-Interview-Questions (9) Smartforms (1) Table Maintenance Generator (1) Table-Maintenance-Generator (4) Tables in SAP (2) Tables Interview Questions (3) Tables-Interview-Questions (3) Type Group Interview Questions (1) Type-Group-Interview-Questions (7) Variable Declaration (1) Views Interview Questions (1) Views-Interview-Questions (5) Webdynpro (12) what is big data (1)

Protected Blog

 
This blog is not affiliated to SAP AG |SAP is trademark of SAP AG |The information collected from various sources use information with your own risk.