03-07-2008 5:52 AM
code as :
DATA: TEXT(8), LEN TYPE I.
DESCRIBE FIELD TEXT LENGTH LEN.
has syntax error as :
in Unicode ,DESCRIBE LENGHT can only used by with the IN BYTE MODE or IN CHARACTER MODE addition.
how can i deal with this error.
tks!
03-07-2008 6:08 AM
Hi,
Modify your statement as given below.
DESCRIBE FIELD TEXT LENGTH LEN in byte mode.
In this The length of the field len is determined in bytes.
or
DESCRIBE FIELD TEXT LENGTH LEN in character mode.
In this The length of the field len is determined in characters.
Reward if helpful.
Regards.
03-07-2008 5:58 AM
Hi,
Addition of IN BYTE MODE or IN CHARACTER MODE is Mandatory in the syntax of DESCIBE FIELD
Regards,
03-07-2008 6:00 AM
hi in Unicode enabled version of ABAP, some syntaxes has been changed. Likewise while using Describe table satement you have to add either 'In character mode' or in 'Byte mode' at the end.
thanks,
santosh.
03-07-2008 6:08 AM
Hi,
Modify your statement as given below.
DESCRIBE FIELD TEXT LENGTH LEN in byte mode.
In this The length of the field len is determined in bytes.
or
DESCRIBE FIELD TEXT LENGTH LEN in character mode.
In this The length of the field len is determined in characters.
Reward if helpful.
Regards.