on 07-29-2006 11:16 AM
Hi
I am getting the following error when i am executing
<b>wdContext.currentMaterail_Input_DataElement().modelObject().execute();</b> this line of statment
com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException
Please help me
Thanks & Regards
Ravi Shankar B
Hi,
Try e.getCause() and print it.. The exception details will be more informative.. ! Or get the complete stack trace.. by nor catching the exception..
Its easier to identify the error then.
Regards
Bharathwaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have set the Matnr value like this in my materialView...........
Y_Ep_Demo_Material_Get_Data_Input input = new Y_Ep_Demo_Material_Get_Data_Input();
input.setMatnr(wdContext.currentContextElement
().getKey());
after this i am calling this method....
wdThis.wdGetMaterialCustController().executeGet_Input_Data();
i have written this method in MaterialCustomControl like this...
public void executeGet_Input_Data( ){
try{
wdContext.currentMaterail_Input_DataElement().modelObject().execute();
}catch(...){
...............
}
}
com.sap.aii.proxy.framework.core.DataAccessException: Mandatory parameter MATNR of method Y_EP_DEMO_MATERIAL_GET_DATA missing
Hi Bala....
Thanks for ur suggestion its working fine.... But i am not getting the output elements.......
My Requirement is In DropDownByKey element i will get the material number from the R/3 dynamically when i click Go button the related information of that material number has to display on my view......
I am getting the material Number and i am executing the InputBapi but i am not getting the data from the output bapi.... but in R/3 it working fine......
I have tested the output data like this.....
Y_Ep_Demo_Material_Get_Data_Output out = new Y_Ep_Demo_Material_Get_Data_Output();
wdContext.nodeMaterial_OutputData().bind(out);
but i am getting the null value....
please help me....
Thanks & Regards
Ravi Shankar B
msg.reportSuccess("sss"+out.getDwerk());
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need not do this code
Y_Ep_Demo_Material_Get_Data_Output out = new Y_Ep_Demo_Material_Get_Data_Output();
wdContext.nodeMaterial_OutputData().bind(out);
after execution try this
Private<ViewName>.IY_Ep_Demo_Material_Get_Data_OutputNode node = wdContext.nodeY_Ep_Demo_Material_Get_Data_Output();
int len=wdContext.node<BAPIList>().size();
for(int l=0;l<len;l++) {
dropCount=dropCount+1;
String returndate=String.valueOf(((IPrivate<viewname>.I<BAPIList>Element)(wdContext.node<BAPIList>().getElementAt(l))).get<Parameter>());
IPrivate<ViewName>.IY_Ep_Demo_Material_Get_Data_OutputElement element = wdContext.createY_Ep_Demo_Material_Get_Data_OutputElement();
element.set<Param>(returndate);
node.addElement(element);
}
Kind Regards
Mukesh
User | Count |
---|---|
87 | |
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.