博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
SAP HANA中创建与时间相关的数据及Time Attribute View(Gregorian)
阅读量:5843 次
发布时间:2019-06-18

本文共 2045 字,大约阅读时间需要 6 分钟。

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

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. Open the Quick Launch Page

  • From the Help Menu > Quick Launch

2. Click on “Generate Time Data” under Data.       

3. Enter the following entries.

  • Select Gregorian as the Calendar Type.
  • Enter 2010 to 2011 (you can use any year)
  • Select DAY for the Granularity
  • Click Generate.

4. Check the Generated data within the table “_SYS_BI.M_TIME_DIMENSION”. There should be an entry for every DAY between 2010 and 2011.

5. Create an Attribute view

  • Right Click on Attribute View > New > Attribute View.

6. Enter “TIME_01” for the name of the view

  • Select Time ->Gregorian.
  • For the Granularity select “Date”
  • Click on Auto Create.
  • Click Finish.

7. As a result you will see the Dimensions table with the generated Attributes. Optionally you can remove any attribute fields that are not needed.

8. Save the view first. Right Click on the Attribute View > Activate.

9. Right Click on the Attribute View > Preview.

10. Create the Analytical view and use the Attribute view: “TIME_01”

11. Enter “AN_TIME_00” for the name of the view.

  • Click finish.

12. Click on Add link

  • Search for CE1IDEA table
  • Click Ok

13.  Add HZDAT as an Attribute. Right click on HZDAT > Add as Attribute.

14.  Open the Logical View. Click on the tab ‘Logical View’ at the bottom of the detail screen.

  • Drag TIME_01 attribute view in Window.
  • Create a Referential (n ..1) Join between TIME_00.DATE_SQL and Data Foundation HZDAT field.

15. Activate & Preview.

专注于企业信息化,最近对股票数据分析较为感兴趣,可免费分享股票个股主力资金实时变化趋势分析工具,股票交流QQ群:457394862
分类: 
本文转自沧海-重庆博客园博客,原文链接:http://www.cnblogs.com/omygod/archive/2013/04/20/3031820.html,如需转载请自行联系原作者
你可能感兴趣的文章
Android 自定义升级对话框
查看>>
GoLand 2019.1 Beta 发布,重要里程碑
查看>>
iOS编码规范整理(供参考)
查看>>
WDS服务的概述与配置(详细图文教程)
查看>>
zabbix 企业邮箱直接报警
查看>>
pfSense book之2.4安装指南
查看>>
C# Socket编程
查看>>
UNIX字符转换程序
查看>>
SQL Server之备份和还原系统数据库
查看>>
Easyui NumberBox格式化展示
查看>>
批量修改Mysql数据库表MyISAM为InnoDB
查看>>
机房收费系统之余额查询
查看>>
cacti安装文档
查看>>
awk工具
查看>>
keepalived工作原理
查看>>
使用安全的Windows磁盘格式
查看>>
常见兼容性问题?
查看>>
一个重复try语句的实验
查看>>
Servlet进阶API
查看>>
我和ip_conntrack不得不说的一些事
查看>>