Application Development 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: 

DESCRIBE FIELD <f> LENGTH <l>.

Former Member
0 Kudos

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!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

Hi,

Addition of IN BYTE MODE or IN CHARACTER MODE is Mandatory in the syntax of DESCIBE FIELD

Regards,

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.