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

Runtime Errors UC_OBJECTS_NOT_CHARLIKE During up grade to ECC6

Former Member
0 Likes
491

Hi ,

we are upgrading from 4.6 to ecc6

when we run a program getting dump"UC_OBJECTS_NOT_CHARLIKE '

LOOP AT pdfout INTO wa_pdfout.

CLEAR str.

str+l1(134) = wa_pdfout.

len = 134 + l1.

l1 = 134 - STRLEN( wa_pdfout ).

ASSIGN str TO <p> TYPE 'X'.

-


> CONCATENATE p_pdf_xstring <p>(len)

INTO p_pdf_xstring.

ENDLOOP.

any body can tell me how can I handle this. this concatinate is giving issue.

3 REPLIES 3
Read only

Former Member
0 Likes
449

Hi,

You cannot use hexadecimal characters to concatenate. All should be characteres only.

Use CHAR_HEX_CONVERSION func.module to convert from character to hexadecimal.

Regards,

Subramanian

Read only

0 Likes
449

Thanks for the replay.

How do I convert the below coding useing CHAR_HEX_CONVERSION

LOOP AT pdfout INTO wa_pdfout.

CLEAR str.

str+l1(134) = wa_pdfout.

len = 134 + l1.

l1 = 134 - STRLEN( wa_pdfout ).

ASSIGN str TO <p> TYPE 'X'.

CONCATENATE p_pdf_xstring <p>(len)

INTO p_pdf_xstring.

ENDLOOP.

Regards,

Jose

Read only

0 Likes
449

Can you give me a coding how to use that function module using

my coding witch I provide earlier

Regards,

Jose