SAP HANA中创建与时间相关的数据及Time Attribute View(Fiscal)

本文档介绍如何利用GenerateTimeData功能生成财政日历类型的时间数据。通过复制标准表到SAP HANA并创建属性视图,用户可以生成特定时间段的大师数据,并将其应用到现有的分析视图中。

This document provides the general functionality and idea about the "Generate Time Data" with calender type "Fiscal".

In order to better understand how to use “Generate Time Data”, we are going to use standard table for the examples.

Note: While using this option you need to replicate the standard table into SAP HANA that is T005T, T005U, T009, and T009B. If these standard tables are not available then you will not be able use the “Generate Time Data” function.

Procedure:

1. Generate the master data from the specific time frame that you are interested in

  • On the Quick Launch Page > Data > Generate Time Data

image

2. Verify the generated data within _SYS_BI.M_FISICAL_CALENDAR

image

3. Create a new Fiscal Time based Attribute view

  • Right Click on Attribute View > New

image

4. Enter FISCAL_00 for the name of the view

  • For the Calendar Type Select > Fiscal.
  • For the variant select K4:800
  • Click on Auto Create.
  • Click Finish.

image

5. As a result you will see the fiscal calendar table with the generated Attributes.

     Note: Optionally you can remove any attribute fields that are not needed.

image

6. Right Click on the Attribute View > Activate

image

7. Right Click on the Attribute View > Preview

image

8. Use the Attribute view within an existing Analytical View AN_TIME_00.

  • Right Click on Analytical View > Open

image

9. Open the logical view.

 

10. Drag the FISICAL_00 attribute view into the Analytical views logical view.

11. Create a join (referential n..1) between FISCAL_00.DATE and the data foundation HZDAT field.

image

12. Activate & Preview

image

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值