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

Unicode Conversion

Former Member
0 Likes
666

Hi All,

Im doing a project in unicode conversion...

Im getting an <b>uccheck</b> error saying that V_DELIM must be a character-type data object(C,N,D,T or STRING).

V_DELIM is defined as follows:

v_delim(1) TYPE x VALUE '09',

In class CL_ABAP_CHAR_UTILITIES what attribute does '09' correspond to????

CONCATENATE: 'Site Name'

'Purch Ord Number'

'Internal Purchase'

'Order Date'

'Last Amendment Date'

'Employee/Buyer ID'

'Supplier ID'

'Supplier Name'

'Order Value'

'Invoice Value'

'Currency Code'

'EDI Reference'

'Order Status'

INTO i_email SEPARATED BY v_delim.

Regards

Navaneeth

1 ACCEPTED SOLUTION
Read only

former_member183804
Active Contributor
0 Likes
595

Hello Navaneeth,

on non Unicode machines the constant is

cl_Abap_Char_utilities=>horizontal_Tab

Regards,

Klaus

PS: In case of doubts just visit the constants in the debugger

4 REPLIES 4
Read only

Former Member
0 Likes
595

Hi

From Attributes of the report re-move the flag 'Check Unicode Active'.

I believe 09 is #.

Max

Read only

0 Likes
595

Hi MAX

The flag is already unchecked...

I have to run the transaction UCCHECK for a program and resolve all the unicode errors which result...

Regards,

Navaneeth

Read only

Manohar2u
Active Contributor
0 Likes
595

Navaneeth,

"The arguments of these instructions must be single fields of type C, N, D, T or STRING or structures of character-type only. There is a syntax or runtime error if arguments of a different type are passed. A subset of this function is provided with the addition IN BYTE MODE for processing byte strings – that is, operands of type X or XSTRING. A statement such as CONCATENATE a x b INTO c is thus no longer possible when a,b, and c are all character-type, but x is of type X."

Refer to this link below

<a href="http://help.sap.com/saphelp_47x200/helpdata/en/79/c55479b3dc11d5993800508b6b8b11/frameset.htm">Restrictions in Unicode Programs</a>

Regds

Manohar

Read only

former_member183804
Active Contributor
0 Likes
596

Hello Navaneeth,

on non Unicode machines the constant is

cl_Abap_Char_utilities=>horizontal_Tab

Regards,

Klaus

PS: In case of doubts just visit the constants in the debugger