首页 > SAP > SAPUI5 > What is an Attribute View in SAP HANA
2019
08-27

What is an Attribute View in SAP HANA

Hello every one, in this blog post, we will learn about Attribute Views in SAP HANA.

1.What is an Attribute View in SAP HANA

Attribute Views are information views in the SAP HANA.They are build in the HANA Modeling context.Attribute Views are built against master tables by joining them in SAP HANA.They can also used to project few columns from a master table.Attribute Views are reusable objects in SAP HANA.They can be compared to Database Views in ABAP or Dimensions in SAP BW (Business Warehouse). JOIN Engine in SAP HANA is used for Attribute View

What is an Attribute View in SAP HANA - 第1张  | 优通SAP
Join Engine in SAP HANA Attribute Views

You can also create hierarchies in attribute views to analyze the data in hierarchical manner.Two hierarchies can be created in attribute views 1. Level Hierarchies and 2. Parent Child Hierarchies

2.Types of Attribute View in SAP HANA

Standard Attribute Views
Derived Attribute Views
Timed Attribute Views

Standard Attribute Views : These views are created among different column store tables using joins in SAP HANA.

What is an Attribute View in SAP HANA - 第2张  | 优通SAP
Standard Attribute View

Derived Attribute Views : These views are created using an existing Attribute Views.You cannot edit the derived attribute view.Derived attribute views are read-only.The only editable field in the derived attribute view is the description.It will behave as a reference to the base attribute view. Any changes to the base attribute view will be reflected in derived attribute view.

What is an Attribute View in SAP HANA - 第3张  | 优通SAP
Derived Attribute View

Timed Attribute Views : An attribute view which stores the time dependent data.They are created against calendar tables – M_FISCAL_CALENDAR (or) time tables – M_TIME_DIMENSION, M_TIME_DIMENSION_YEAR, M_TIME_DIMENSION_MONTH and M_TIME_DIMENSION_WEEK. All these tables are stored in _SYS_BI schema.

What is an Attribute View in SAP HANA - 第4张  | 优通SAP
Timed Attribute View
[adsenseyu1]

3.Where we can use these Attribute Views

Attribute Views are reusable objects and can be reused/shared in other views like Analytical Views and Calculation Views.

Attribute Views can also be exposed as XS OData service and these services are used in SAPUI5/SAP Fiori Applications.

4.Other References

Refer to this blog post on How to create an Attribute View in SAP HANA Studio.

Refer to this blog post on How to expose Attribute View as XS OData Service in SAP HANA.

Please stay tuned to us for more SAP HANA Modeling tutorials.Please feel free to comment and let us know your feedback. You feedback will keep us alive.

最后编辑:
作者:yangsen
本站为个人博客网站,全由我个人维护,我从事SAP开发13年,其它ERP开发7年,基本都是零售行业。本站记录工作学习的过程, 有SAP相关询问专、兼职工作可随时联系我。 有网站相关的问题可直接在文章下方留言,或者联系我。 邮件:yan252@163.com给我。 QQ:415402519