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

regarding unicode issue in upgrade

Former Member
0 Likes
905

Hi,

DATA: BEGIN OF ESCAPE_TRICK,

X1(1) TYPE X value '1C'.

END OF ESCAPE_TRICK.

DATA: BEGIN OF ESCAPE_TRICK1,

X1(1) TYPE X value '13'.

END OF ESCAPE_TRICK1.

can u please tell replaced declaration for above code in unicode systems as type x is not allowed.

regards,

sandeep.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
878

DATA: BEGIN OF ESCAPE_TRICK,

X1(2) TYPE C value '1C'.

END OF ESCAPE_TRICK.

DATA: BEGIN OF ESCAPE_TRICK1,

X1(2) TYPE C value '13'.

END OF ESCAPE_TRICK1.

5 REPLIES 5
Read only

Former Member
0 Likes
878

use type char2 or C instead

Edited by: Amit Gujargoud on Aug 19, 2008 4:59 PM

Read only

Former Member
0 Likes
879

DATA: BEGIN OF ESCAPE_TRICK,

X1(2) TYPE C value '1C'.

END OF ESCAPE_TRICK.

DATA: BEGIN OF ESCAPE_TRICK1,

X1(2) TYPE C value '13'.

END OF ESCAPE_TRICK1.

Read only

narin_nandivada3
Active Contributor
0 Likes
878

Hi,

Try checking this way..

DATA: BEGIN OF ESCAPE_TRICK,
X1(2) TYPE c value '1C'.
END OF ESCAPE_TRICK.

DATA: BEGIN OF ESCAPE_TRICK1,
X1(2) TYPE c value '13'.
END OF ESCAPE_TRICK1.

check changing as stated above...

Hope this would help you.

Good luck

Narin

Read only

Former Member
0 Likes
878

Please rty the following,

X1(1) type c value cl_abap_char_utilities=>HORIZONTAL_TAB

Hope this works.

Shreekant

Read only

0 Likes
878

Hi Shreekanth,

The statement

X1(1) type c value cl_abap_char_utilities=>HORIZONTAL_TAB

is only to introduce the space

It can not be used for each and every varaible.

It is usually used in case X contains the value '09' as it also is used for space..

Thank you