on 2012 Jan 11 2:38 PM
HI ALL,
We have a bapi with time fields like Login and Logout with TIMS as datatype with time format( 00:00:00).
when we map with webdynpro java application by creating model we are getting following error as output
com.sap.aii.proxy.framework.core.DateTimeAccessException: Type conversion error, field LOGOUT, complex type class erp.ezone.model.com.Zbapi_Ts_Tab1
here,
Zbapi_Ts_Tab1 this is the table in bapi.
erp.ezone.model.com this is our model package.
Please help me how to solve the issue.
Thanks,
Sravani.
Request clarification before answering.
Hi,
You might get this problem due to the addition of some new fields to the structure that you are using in your project.
So just reimport the model (ofcourse, restart the server) and check if the mapping is corrector not. If there is a problem in the mapping then remap the problamatic contexts. Then, do a reload + rebuild and deploy it.
Regards
Vijay Kalluri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Vijay,
addition of some new fields to the structure - What it means.
I am having 4 fields like LOGIN,LOGOUT,EMPID,DATE only in my internal table.
In my view i am displaying Date and EmpId 2- fields separately then those fields displayed successfully in table structure.
If i add Login and logout fields to that table , and Click on Submit button It is throwing exception like
com.sap.aii.proxy.framework.core.DateTimeAccessException: Type conversion error, field LOGOUT, complex type class erp.model.com.Zbapi_Ts_Tab1
In our internal table Empid and Date are not null, and login and logout values are some are null and some are not null .
For Displaying table i will choose one action from F4 - Help field and click on Submit . In that submit method i will just calling BAPI for displaying table . Then it throwing error.
User | Count |
---|---|
80 | |
30 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.