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

Dump when Concatenate in Ecc6

Former Member
0 Likes
456

Hi ,

we are upgrading from 4.6 to ecc6

when we run a program we are getting dump"UC_OBJECTS_NOT_CHARLIKE '

Can i use this function module for this issue CHAR_HEX_CONVERSION ????

If so how can i use it for below coding?

LOOP AT pdfout INTO wa_pdfout.

CLEAR str.

str+l1(134) = wa_pdfout.

len = 134 + L1.

L1 = 134 - STRLEN( wa_pdfout ).

ASSIGN str TO TYPE 'X'.

-


> CONCATENATE p_pdf_xstring (len) INTO p_pdf_xstring.

ENDLOOP.

some one Please help

Thanks,

Jose

Hi ,

we are upgrading from 4.6 to ecc6

when we run a program we are getting dump"UC_OBJECTS_NOT_CHARLIKE '

Can i use this function module for this issue CHAR_HEX_CONVERSION ????

If so how can i use it for below coding?

LOOP AT pdfout INTO wa_pdfout.

CLEAR str.

str+l1(134) = wa_pdfout.

len = 134 + L1.

L1 = 134 - STRLEN( wa_pdfout ).

ASSIGN str TO TYPE 'X'.

-


> CONCATENATE p_pdf_xstring (len) INTO p_pdf_xstring.

ENDLOOP.

some one Please help

Thanks,

Jose

2 REPLIES 2
Read only

Former Member
0 Likes
382

Can you provide more details about the fields used.

If you need to convert to CHAR type you may have to use the FM - FLTP_CHAR_CONVERSION

Shreekant

Read only

Former Member
0 Likes
382

use the Function SCMS_XSTRING_TO_BINARY

"convert PDF vom XSTRING to RAW255
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          buffer        = <l_fs>-pdf
        IMPORTING
          output_length = l_pdfsize
        TABLES
          binary_tab    = lt_objbin.