You are on page 1of 6

IMPLEMENTING TIME ATTRIBUTE VIEW WITH GREGORIAN CALENDAR

Time attribute view:

Time attribute is based on time period. For e.g. you have a date filed in your views and you want
to calculate the aging (no of years) based on the date field’s they this calculated attribute you can
call as time attribute.

In general, the time attribute view would normally be created based on time dimension table
(_SYS_BI.M_TIME_DIMENSION)

Fiscal calendar table (_SYS_BI.M_FISCAL_CALENDAR)

Creating time attribute view with Gregorian calendar:

Go to remote desktop connection<start<click on saphana studio


How to create an attribute view:

Right click on sub package<new<click on attribute view

Provide name AT_TIME<provide label<select sub type as time<choose calendar type as


Gregorian<select granularity as date<click finish
Using 'generate time data' option, the sys table (_SYS_BI.M_TIME_DIMENSION are loaded
with data for the period entered.
Click on semantics<select DATE_SQL as key coloumn

Key attribute is a kind of primary key for the attribute view. But, it doesn’t prevent the

Passage of duplicate values. It is basically needed to determine the join execution

Order at the run time when multiple tables are used in an attribute view.

In attribute views there is one mandatory step. Whatever keys in the table one key we need to
define inside an attribute view
Click save and validate<click save and activate

<assign an object<click finish

Use of assign object: in the select change dialog, either create a new id or select

An existing change id that you want to use to assign your change


Click on data preview

Click on raw data<to get output

You might also like