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

syntax error regarding unicode

Former Member
0 Likes
2,068

Hi Friends,

Iam facing a problem .

Iam copying a program from 4.7 to ECC 6.0.

now in that program i have following line of code.

code :

data :

w_pwd type i.

describe field ztest-pwd length w_pwd.

when iam executing the program its showing me an error message saying that '" In unicode DESCRIBE LENGTH can only be used with the IN BYTE MODE or in CHARECTER MODE addition.

how can i correct this syntax.

1 ACCEPTED SOLUTION
Read only

Former Member
1,313

DESCRIBE FIELD ZTEST-PWD LENGTH W_PWD IN CHARACTER MODE.

6 REPLIES 6
Read only

Former Member
1,314

DESCRIBE FIELD ZTEST-PWD LENGTH W_PWD IN CHARACTER MODE.

Read only

GauthamV
Active Contributor
0 Likes
1,313

hi,

since ecc 6.0 is unicode compatible there are some changes in syntaxes.

you have to give in addition IN BYTE MODE or in CHARECTER MODE .

or press f1 on describe to know more.

Read only

Former Member
0 Likes
1,313

Use IN BYTE MODE addition

Read only

Former Member
0 Likes
1,313

IN CHARACTER MODE can only be used if the field is of character type. For your case please use IN BYTE MODE addition.

Read only

Former Member
0 Likes
1,313

Hi priyanka ,

Try this

DESCRIBE FIELD ZTEST-PWD LENGTH W_PWD IN CHARACTER MODE.

Regards ,

Aby

Read only

Former Member
0 Likes
1,313

THE DESCRIBE LENGTH can only be used with the IN BYTE or IN CHARACTER MODE

i.e. describe field e_text length line_length.

would be replaced with

describe field e_text length line_length IN CHARACTER MODE