‎2008 Nov 21 12:18 PM
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.
‎2008 Nov 21 12:21 PM
‎2008 Nov 21 12:21 PM
‎2008 Nov 21 12:22 PM
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.
‎2008 Nov 21 12:22 PM
‎2008 Nov 21 12:28 PM
IN CHARACTER MODE can only be used if the field is of character type. For your case please use IN BYTE MODE addition.
‎2008 Nov 21 12:32 PM
Hi priyanka ,
Try this
DESCRIBE FIELD ZTEST-PWD LENGTH W_PWD IN CHARACTER MODE.
Regards ,
Aby
‎2008 Nov 22 11:19 AM
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