on 04-17-2015 7:38 AM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,就会返回值列表
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.