Creating an attribute view
The first object we'll be creating is called an attribute view. This is the basic building-block for nearly all SAP HANA developments.
An attribute view takes the characteristic (text) information from one or more tables, and presents it to the user. It allows several operations to be carried out on data such as the following:
Information can be filtered on specific values
Tables can be joined together
Certain fields can be hidden from the user if they are not appropriate to the current development
Note
Attribute views have one major restriction: they cannot work with numeric information. You cannot, for example, use a
SALARY
orREVENUE
field in an attribute view. To work with numeric information, we'll use an analytic view, which we'll be looking at in Chapter 4, Painting with Numbers – An Analytic View.
In our attribute view, we'll be using the data from our CUSTOMER
table. This table has four fields: MANDT
, CUSTID
, SECTOR
, and COUNTRY
. We'll only be using three of...