01-07-2008 9:37 AM
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'
01-07-2008 9:42 AM
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.
01-07-2008 9:51 AM
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
01-07-2008 9:56 AM
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?