Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error in BDC

Former Member
0 Likes
743

Hi Experts

When i do BDC, am getting the error as follows,

Data objects in a Unicode program are not convertible.

What could be the reason actually,

Can anyone suggest me.

Thanks in advance.

Regards

Rajaram

5 REPLIES 5
Read only

Former Member
0 Likes
719

May be , you`re trying to pass some data that contains x type .This type in unicode version don't be same that in 4.6 version .

Read only

Former Member
0 Likes
719

hi,

go to se38 ->in ur program attributes, select the last check-box that says 'Unicode checks active'.

hope it works!!

regards,

madhu

Read only

former_member156446
Active Contributor
0 Likes
719

constants: con_cret type x value '0D', "OK for non Unicode

con_tab type x value '09'. "OK for non Unicode

*If you have Unicode check active in program attributes thnen you will

*need to declare constants as follows

*class cl_abap_char_utilities definition load.

*constants:

  • con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB,

  • con_cret type c value cl_abap_char_utilities=>CR_LF.

Read only

Former Member
0 Likes
719

solved myself

Read only

Former Member
0 Likes
719

can you check data type and you have to check the structures values are passing fron int to str or char to num that time you will get the unicode problems.