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

how to solve below error

laxman_sankhla3
Participant
0 Likes
543

error is coming on this below statement

<b>DESCRIBE FIELD V_PWD LENGTH V_DSTLEN.</b>

below is error message .

in unicode decribe length can only be used with the in byte mode or

in character mode addition.

how to solve this error pleae suggest .

thanks.

4 REPLIES 4
Read only

Former Member
0 Likes
507

hi..

ur statement works in <b>Non unicode systems</b> but to work that statement in unicode systems u need to use either character mode or bytes mode.. ( or in attributes u uncheck the checkbox for unicode, then your program becomes non unicode program, then it works with out any error)

this statement will work..

<b>DESCRIBE FIELD V_PWD LENGTH V_DSTLEN in character mode.</b>

This is for unicode systems..

reward if it helps u,,,

sai ramesh

Read only

amit_khare
Active Contributor
0 Likes
507

... IN CHARACTER MODE

Effect

This addition can only be used for character-type fields and in combination with the addition LENGTH. The length of the field f is determined in characters.

Addition 3

... IN BYTE MODE

Effect

This addition can only be used in combination with the addition LENGTH. The length of the field f is determined in bytes.

Use in character mode addition with your describe statement.

Regards,

Amit

Read only

Former Member
0 Likes
507

hi,

Run transaction UCCHECK for the program you getting error ,

You will come to know , what action to be taken to make your code ,,UNICODE compatible .

Thanks .

Read only

Former Member
0 Likes
507

hi,

add char mode.

DESCRIBE FIELD V_PWD LENGTH V_DSTLEN in char mode.

u can also check in uccheck transaction ..

regards,

keerthi