作者:奋斗兵 | 来源:互联网 | 2023-09-13 16:14
1.登陆进入SAPBusinessObjectsDataServicesDesigner中2.创建DatastoreSAPHANA(SAPHANA的连接)SAPHANA
1. 登陆进入SAP Business Objects Data Services Designer中
2. 创建Data store SAP HANA(SAP HANA的连接)
SAP HANA http://www.cnblogs.com/omygod/archive/2013/05/23/3094306.html
3. 文件准备



4. 在左下角File标签页中找到XML Schema,并右键新建

5. 填写相应的参数

点击OK之后,进入XML Schema的设计信息中

6. 新建project,batch job以及data flow

7. 拖动左下角刚刚新建的xml schema到data flow的设计界面,并且选择Make XML File Source

指定xml文件的位置:

这时,在data flow的设计界面中,我们可以查看xml源文件中的数据信息:

8. 创建unnest的query transform,并与xml源文件进行连接

9. 双击Unnest,进入Unnest的设计界面

将bookstore_nt_1拖动到Unnest下:

选择Unnest中的bookstore_nt_1,并设为Make Current

再次选中,Unnest with sub-schemas

返回data flow界面
10. 新建一个query transform

双击query,进入设计界面:

为query新建一个自动生成主键列:

拖动左侧Unnest的列到query中:

新建一个输出列,用于显示full name,即first name + last name


为新建的列指定计算公式:

11. 新建一个指向HANA的template table,并与query连接

12. 执行job:

查看job状况:

13 在data flow中查看导入的结果数据

14. 在SAP HANA中查看导入的数据
