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

character or byte mode?

Former Member
0 Likes
2,880

Hi

when will we use IN CHARACTER MODE & IN BYTE MODE in DESCRIBE querry?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,644

Hi,

It is used to determine the length of of a data object.

when you find the length in byte go for BYTE mode

when you find the length in character go for CHARACTER mode.

REMEMBER: both mode comes only with length addtion.

REF: http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3145358411d1829f0000e829fbfe/content.htm

REGARDS,

ANIRBAN

Hi

when will we use IN CHARACTER MODE & IN BYTE MODE in DESCRIBE querry?

4 REPLIES 4
Read only

Former Member
0 Likes
1,645

Hi,

It is used to determine the length of of a data object.

when you find the length in byte go for BYTE mode

when you find the length in character go for CHARACTER mode.

REMEMBER: both mode comes only with length addtion.

REF: http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3145358411d1829f0000e829fbfe/content.htm

REGARDS,

ANIRBAN

Read only

Former Member
0 Likes
1,644

Hi ,

It is a new addition in the unicode enable SAP versions , that basically asks how you want to calculate the length of the field either in byte mode or in character mode.

Regards

Arun

Read only

rainer_hbenthal
Active Contributor
0 Likes
1,644

This is relevant in unicode environments. The number of chars may not correspond to the number of bytes used. Espacially when you are using national characters, the byte number is often more then the character number because a national character needs up to 4 bytes in unicode. So you have 1 character but 4 bytes (or three or two depoending on the encoding).