Skip to content

ABAP Keyword Documentation →  ABAP Dictionary →  Classic Objects in ABAP Dictionary →  Enhancements 

Append Views

Database views delivered by SAP can be enhanced by partners and customers using views known as append views, without making any modifications. The name of an append view is subject to the same rules as the name of a classic view and should be located in the customer namespace (or in the namespace of a partner or special development) to protect it against being overwritten by upgrades or new releases.

Further fields from basis tables in the database view can be added to append views as view fields. Append views cannot be used to add further basis tables to the view or to modify the join conditions or selection conditions of a database view. An append view is assigned to exactly one database view. More than one append view can be created for a database view.

If an append view is activated, an append structure of this name is created in ABAP Dictionary whose components are the additional view fields of the append view.

If a database view is activated, all append views for this view are found and their fields are appended to the database view. The append structure of the append view is added to the structure of the database view. If an append view is created or modified, the associated database view is adjusted to this change automatically when the append view is activated.

Other versions: 7.31 | 7.40 | 7.54


Notes

  • Append views are possible only for database views and not for other views.

  • In the case of CDS views, CDS view enhancements are a separate option for enhancements and work in the similar way to append views. When a CDS view enhancement is created, an append view is created that enhances the CDS database view.

Example

The database view DEMO_ORIGINAL is enhanced using the append view DEMO_APPEND_VIEW. The program DEMO_APPEND_VIEW uses SELECT to access the enhanced view and also displays the components of the structures in question.