Skip to Content
0
Sep 23, 2005 at 05:13 AM

Error due to change in length at the backend

13 Views

Hi

I have an application, where on the click of a button, data is fetched from the R/3 and displayed in the table. Previously when the length of one of the field was set as 4 in the backend, the data was being shown properly without any errors. But when the length of that field was changed from 4 to 30 , since then it is giving an error:

com.sap.aii.proxy.framework.core.DataAccessException: Type conversion error, field BASE_PRICE, complex type class com.sap.bp.ngl.pr.model.Zspricelist

at com.sap.aii.proxy.framework.core.JcoBaseTypeData.propagateJcoException(JcoBaseTypeData.java:130)

at com.sap.aii.proxy.framework.core.JcoBaseTypeData.getElementValueAsBigDecimal(JcoBaseTypeData.java:654)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.getAttributeValueAsBigDecimal(DynamicRFCModelClass.java:254)

at com.sap.bp.ngl.pr.model.Zspricelist.getBase_Price(Zspricelist.java:134)

at com.sap.bp.ngl.pr.wdp.IPublicSupplierPricingReportComp$ILi_Price_ListElement.wdGetObject(IPublicSupplierPricingReportComp.java:996)

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.TextView.getText(TextView.java:733)

Even though i have reimported the model and tried. Probably it is because even though the length ahs been changed but still the previous one is being taken at the backend.

Can anybody please help as to what to do?

Thanks & regards,

Anupreet