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: 

character or byte mode?

Former Member
0 Kudos

Hi

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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

Former Member
0 Kudos

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

rainer_hbenthal
Active Contributor
0 Kudos

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).