Compilation error while deploying an iView containing BI Queries
I am trying to use a BW Query in my VC.
Using BI Query Wizard, i have selected my query. So, when I preview my output in VC, it is giving the output. But when I am deploying my iView into the portal, I am getting the following error:
Error in executing a process for compilation, .\GUIMachine_Business_Packages\testbi_21817\com.autogen.guimachine.testbi.iView_TestBI\src.core\Iview_testbi_ctl.java:46: cannot resolve symbol
symbol : constructor BWQueryFunction (java.lang.String,com.sapportals.guimachine.ep5kit.Iview_testbi_ctl,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,int,int,java.lang.String)
location: class com.sap.portal.guimachine.bikit.runtime.BWQueryFunction
BWQueryFunction BWQGTF = new BWQueryFunction ("BWQGTF", this, profile.getProperty ^
("System1"), "/sap/bw/xml/soap/queryview", "ZVC_CUBE", "VCQUERY1", "", 2, 500,"KEY");
The error says that symbol cannot be resolved, which symbol is it talking about?
Thanks in advance,
Pradeep Shetty replied
We add few addons on portal for visual composer.Till EP6.0 sp13 the addons had to be deployed separately onto portal,but since SP14 onwards these come with the portal patch itself and we don't have to deploy the .sda files explicitly for visual composer.
The constructor of BWQueryFunction class which is being generated by the guimachine of Visual composer corresponds to that present in com.sap.portal.guimachine.BIKITapi.jar file present in SP13 addons and hence you get a compile time error when trying to deploy onto sp15 or sp16 portal.
One solution to this problem is to deploy the visual composer addons corresponding to SP13.The jar file com.sap.portal.guimachine.BIKITapi.jar is present in com.sap.visualcomposer.BIKiT.sda file.
Hope this solves your problem.