‎2007 Oct 24 12:37 PM
hi experts
wat is the use xstrings . wat is the difference between string and a xstring
regards
vasanth
‎2007 Oct 24 12:42 PM
Like String Xstring is also a variable length type.
Only difference is String is Text sequence where as Xstirng is BYTE sequence.
The predefined data types string and xstring describe data objects of variable length (dynamic data objects). While the length of data objects in all other elementary data types is determined for its whole lifetime, the length of text and byte strings varies according to their content (the maximum size of a string is determined by profile parameter ztta/max_memreq_MB, see Maximum size of dynamic data objects).
use the following FM
SCMS_STRING_TO_XSTRING to convert string to xstring
XSTRING is variable-length byte sequence
‎2007 Oct 24 12:42 PM
Like String Xstring is also a variable length type.
Only difference is String is Text sequence where as Xstirng is BYTE sequence.
The predefined data types string and xstring describe data objects of variable length (dynamic data objects). While the length of data objects in all other elementary data types is determined for its whole lifetime, the length of text and byte strings varies according to their content (the maximum size of a string is determined by profile parameter ztta/max_memreq_MB, see Maximum size of dynamic data objects).
use the following FM
SCMS_STRING_TO_XSTRING to convert string to xstring
XSTRING is variable-length byte sequence
‎2007 Oct 24 12:42 PM
String is a Text string.. means stores data as TEXT
XString is a Byte String.. means stores data internally as group of Bytes...
‎2007 Oct 24 12:42 PM