on 08-24-2009 1:14 PM
Dear All,
I am having an issues with a standard SAP BAPI in combination with Web Dynpro for Java.
I am getting the following error message when executing the BAPI:
com.sap.conn.jco.ConversionException: (122) JCO_ERROR_CONVERSION: Cannot convert a value from type java.lang.Object to CHAR at field COMPLETE
Field COMPLETE is of Type Char 1, Domain is also Char 1 (Yes/No field).
The corresponding field in Java Web Dynpro is boolean.
Converting the element to String does not help.
Thanks.
It seems the problem is on BAPI side, ask ABAP programmer fix it out...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks a lot but can you please tell me what the ABAP'er need to do to fix this problem.
The BAPI is a standard SAP BAPI, I am using Adaptive RFC 2 Model, NW CE 7.1 EhP1.
Regards,
Ridouan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
for the attribute which is has data type CHAR1 has domain type as CHAR1 with YES/NO
just changing the domain type to CHAR will not help you , you need to ask your abaper to even remove the
YES/NO option in the DOMAIN ,
for the standard if its not possible to remove or edit the options , you can make copy of the standard BAPI
and then use the that where you can make the changes there.
hi,
in response to the murali krishna,
u can refer this thread to get the more idea what is the char filed and what is the domain filed
check the messages of teja so that u will get clear idea when we are converting the char from abap to webdynpro java environment by bapi
let me know u need any further information
ravindr a
> Field COMPLETE is of Type Char 1, Domain is also Char 1 (Yes/No field).
> The corresponding field in Java Web Dynpro is boolean.
>
> Converting the element to String does not help.
this is problem with abap code ,,
as system given message the can't covert char to boolean ask abaper to check the thatone
let me know any further issue
ravindra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
Field COMPLETE is of Type Char 1, Domain is also Char 1 (Yes/No field).
ask your abaper to remove the YES/NO option for the domain type , you problem will get solved ,
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.