日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

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

發(fā)布時(shí)間:2025/3/21 编程问答 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 SAP HANA中创建与时间相关的数据及Time Attribute View(Gregorian) 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

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.

總結(jié)

以上是生活随笔為你收集整理的SAP HANA中创建与时间相关的数据及Time Attribute View(Gregorian)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。