on 08-27-2009 2:15 PM
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
Hi Monalisa
I have already checked that, none of the records have unformatted time value.
Thanks
Sudip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Sudeep,
Check if any of the record has blank value in time field. In that scenario it might give exception.
You have to convert it to 00:00:00 before passing to Webdynpro.
Hope this helps!
Monalisa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.