Application Development 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: 

Hexadecimal Use : Concatenate in 4.6C :- Invalid in ECC

Former Member
0 Kudos

Hi Experts

In 4.6c Version, program is using statement

DATA :l_tab type X value '09',

X(10),

Y(12),

Z(11).

concatenate X Y Z into A separated by l_tab.

constants: con_cret type x value '0D'.

concatenate con_cret A into A.

Now the Concatenate of Hexadecimal and Character data type is invalid in ECC.

Can any one help in this case, I need the separater as the data in variable A is being passed objbin for the function module

call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'

3 REPLIES 3

Former Member
0 Kudos

Friend,

Use the variable and constants like below...

DATA :l_tab(2) type c.

l_tab = CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.

constants: con_cret(2) type c value CL_ABAP_CHAR_UTILITIES=>CR_LF.

0 Kudos

Thanks for replying..

I dont know anything about class declaration,

now the error is undefined class " CL_ABAP_CHAR_UTILITIES"

HORIZONTAL_TAB unknown

please reply

Edited by: Kapil on Jan 7, 2008 3:23 PM

0 Kudos

Friend,

No need to define these classes inside your program ...

They are standard, and what we are calling here are the public constants of that class...

Could you please give your entire code?