Skip to Content

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

DateTimeAccessException: Type conversion error for Time field

Hi All

I am getting exception on executing a model in rfc for TIME field. The ABAP type is TIMS and I checked the time is being returned properly from ECC in the format hh:mm:ss.

The rfc is custom developed and returns three tables in output in different calls. all the tables have time fields. All these calls were running fine till yesterday and even one is working fine now also. But for the other two tablesl I am getting exception now at the generated JAVA classes.

com.sap.aii.proxy.framework.core.DateTimeAccessException: Type conversion error, field Claim_Time,

at com.sap.aii.proxy.framework.core.JcoBaseTypeData.getElementValueAsTime(JcoBaseTypeData.java:723)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.getAttributeValueAsTime(DynamicRFCModelClass.java:458)

at com.stw.prc.ses.util.model.Zprce019_L1_Log.getTime(Zprce019_L1_Log.java:239)

at com.stw.prc.ses.util.model.comp.wdp.IPublicSesModelCompInterface$IT_L1_ErrorElement.wdGetObject(IPublicSesModelCompInterface.java:2272)

at com.sap.tc.webdynpro.progmodel.context.MappedNodeElement.wdGetObject(MappedNodeElement.java:351)

Could any one help me out here ?

Thanks

Sudip

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