on 01-05-2006 2:21 PM
hello every body,
i am calling one abap function module from webdynpro.In
the function module , i have 3 importing parameters(employ no,name and status) and one table parameter.status is one of the importing parameter there i am passing the type of operation(insert,delete,display). for insert and delete it is working fine for the status,but when i am sending the status as display it is giving the following error(for display i want to display all the rows of the table in the view)
java.lang.ArrayIndexOutOfBoundsException: -1
at com.sap.aii.proxy.framework.core.JcoBaseTypeDescriptor.getElementProperties(JcoBaseTypeDescriptor.java:420)
at com.sap.aii.proxy.framework.core.JcoBaseTypeData.getElementValueAsString(JcoBaseTypeData.java:663)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.getAttributeValueAsString(DynamicRFCModelClass.java:409)
at com.sap.temp1.Ztemp_Dynpro2_Input.getEmpno(Ztemp_Dynpro2_Input.java:186)
at com.sap.temp.wdp.IPublicTempapp$IZtemp_Dynpro2_InputElement.wdGetObject(IPublicTempapp.java:318)
at com.sap.tc.webdynpro.progmodel.context.MappedNodeElement.wdGetObject(MappedNodeElement.java:351)
at com.sap.tc.webdynpro.progmodel.context.AttributePointer.getObject(AttributePointer.java:140)
at com.sap.tc.webdynpro.clientserver.data.DataContainer.getAndFormat(DataContainer.java:1012)
at com.sap.tc.webdynpro.clientserver.data.DataContainer.getAndFormat(DataContainer.java:984)
at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField.getValue(AbstractInputField.java:1096)
at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField.getValue(AbstractInputField.java:1147)
at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.InputFieldAdapter.getValue(InputFieldAdapter.java:550)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.InputFieldRenderer.render(InputFieldRenderer.java:41)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:285)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:97)
at com.sap.tc.
Hi Sreenivas,
After setting the parameters are you binding the instance of the model node to it?
Regards
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What is the behaviour if you call the BAPI in R/3 (from SE37) with the same parameters?
Patrick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.