cancel
Showing results for 
Search instead for 
Did you mean: 

BOE SDK的开发问题

former_member197088
Participant
0 Kudos

请问下有谁研究过关于WEBI的源代码的吗?关于值列表的取法有谁了解的么?

Accepted Solutions (1)

Accepted Solutions (1)

xiaoping_zheng
Active Participant
0 Kudos

BO产品并不开源所以源代码是没办法去研究的。

如果要取WebI的值列表,不同版本的实现方法是不一样的。

XI 3.1的版本是是基于WebI JAVA Report Engine SDK来实现的;而BI 4.0以后是通过Restful Web Service的SDK来实现。

具体你可以试着参考一下资料:

XI 3.1 SDK:http://scn.sap.com/docs/DOC-27446

BI 4.x SDK:http://scn.sap.com/docs/DOC-27465

XI 3.1 Report Engine SDK sample:http://scn.sap.com/docs/DOC-6667

BI 4.1 webi restful user(developer) guide:http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41sp5_webi_restws_dg_en.zip

former_member197088
Participant
0 Kudos

获取BEX的值列表也可以的么?从4.0以后不是已经取消了这个获取办法吗?

xiaoping_zheng
Active Participant
0 Kudos

4.0开始是使用一个新的 Restful Web Service的SDK 接口去获取值一览的。

对于你说的取得BEX的值列表,如果webi上用的是来自bex的variable的话,在最新的4.1版本似乎是可行的。

具体你可以参考Restful guide:

http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41sp5_webi_restws_dg_en.zip

看这两个章节:

Getting the Refresh Parameters of a Document

这是从整张报表读取参数

Getting the Refresh Parameters of a Data Provider

这是从某个查询Query读取参数

在Restful url 只要不特意加上lovInfo=false,就会返回值列表

former_member197088
Participant
0 Kudos

嗯,谢谢啦

Answers (0)