on 08-25-2015 1:02 PM
This code is part of printing SQL from WebI report
DataProviders dps = widoc.getDataProviders();
DataProvider dp = (DataProvider)dps.getItem(0);
if(dp instanceOf SQLDataProvider){
SQLDataProvider sdp = (SQLDataProvider)dp;
** ArrayList<TreeeNode> nodes=getListOfTreeNodes(sdp.getSQLContainer(), true);
public static ArrayList<TreeNode> getListOfTreeNodes( TreeNode root, Boolean onlyLeaves){
ArrayList<TreeNode> node=new ArrayList<TreeNode>();
treeNodeTraversal(root, nodes ,onlyLeaves);
return nodes;
}
private static void treeNodeTraversal(TreeNode node , ArrayList<TreeNode> nodes ,Boolean onlyLeaves)
{
if(!onlyLeaves || node.isLeaf() )
nodes.add(node);
for( int i = 0 ; i < node.getChildCount() ; ++i )
treeNodeTraversal(node.getChildAt( i ) , nodes, onlyLeaves) ;
}
Getting Error at this line ** above as
Exception in thread "main" com.businessobjects.sdk.core.exception.common.NotImplementedException: This Feature is not implemented. (Error : RWI 00013)
Can u all please help to debug the following Exception.
Thanks in advance. Responses will be appreciated.
Regards
Adil
Hi Adil,
I believe you are using BI 4.x environment. You are using Report engine sdks to retrieve the SQL from your webi reports. However, there are lot of features which are deprecated from the Report Engine java SDKs and there are no alternatives apart from using Restful webservices. The error states the same. The feature is no more implemented.
You can find the same from the api reference guide available at below links
http://help.sap.com/businessobject/product_guides/boexir4/en/resdk_java_apiRef_40_en.zip
http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp5_resdk_java_dg_en.pdf
All the features deprecated from Report Engine SDks are being re-introduced in the Restful web service SDK's as it is the future and focus area from SAP specifically in terms of webi as of now. You would need to be on BI 4.0 SP6 at least to be able to use Restful web services.
Guides are available at http://help.sap.com
Below is the dedicated forum space for restful sdks
Thanks,
Prithvi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See below snapshot and refer the Warning section. This is the issue you have. It is because the sdks no longer support the functionality. As mentioned in my above post, you would need to visit Rest sdks as it is future for any sdk requirements for webi. As far as I know it would not be possible using the Report Engine sdks.
See the [Object Model Diagram |http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_rebean_omd.pdf] to know what methods are still available in the Report Engine (Webi) SDK
Guides are available at http://help.sap.com
Navigate to Anaytics-->SAP BusinessObjects Business Intelligence-->Select the product you are using, for ex: SAP BusinessObjects Business Intelligence platform 4.0-->Development Information
Refer to the webi restful guides.
You can find more documents and blogs at
Post any queries you have regarding Restful webservices to the above mentioned forum space.
Thanks,
Prithvi
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.