Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Model Execution Problem

Hi

I have this structure of the model

Z_Bw_Exec_Query_Input

E_Datacol

E_Result

I_Params

W3Query

att:name

att:value

Output

att:I_Query

Z_Bw_Exec_Query_Output

W3Query

Zbwdatacol

Zbwresult

and I am writing this code in wdDoInit() of component controller


Z_Bw_Exec_Query_Input model =new Z_Bw_Exec_Query_Input();
model.setI_Query("ZDDVTEST123");
wdContext.nodeZ_Bw_Exec_Query_Input().bind(model);


			
W3Query paramElement1 = new W3Query();
paramElement1.setName("FILTER_VALUE_1");
paramElement1.setValue("201033");

W3Query paramElement2 = new W3Query();
paramElement2.setName("FILTER_IOBJNM_1");
paramElement2.setValue("0CALVEEK");

model.addI_Params(paramElement1);
model.addI_Params(paramElement2);

I am getting an error message as follows when I see the preview-

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Couldnt find info for class com.conexa.sap.model.W3Query in model com.conexa.sap.model.BW_Model@59d97818[scope=APPLICATION_SCOPE]

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.associatedModelClassInfo(DynamicRFCModelClass.java:220)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.elementIndexForFrontendName(DynamicRFCModelClass.java:1359)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.setAttributeValueAsString(DynamicRFCModelClass.java:664)

at com.conexa.sap.model.W3Query.setName(W3Query.java:140)

at com.conexa.sap.comp.GR_GR_Comp.wdDoInit(GR_GR_Comp.java:113)

What should I do to resolve this issue?

Thanks and Regards,

Pankaj

Former Member
Not what you were looking for? View more on this topic or Ask a question