‎2006 May 04 7:58 AM
i have number 1025 he have 4 bytes in the memory .
1. i want to present it as <b>BINARY</b>.
2. i want to present it as <b>Big Endian</b>--for software of motorolay if anyone work with it.
‎2006 May 07 10:12 AM
try this code
data: l_string type string ,
l_xstring type xstring .
move: '1025' to l_string .
call function 'SCMS_STRING_TO_XSTRING'
exporting
text = l_string
IMPORTING
BUFFER = l_xstring.
* Add the Byte Order Mark - UTF-16 Big Endian
concatenate cl_abap_char_utilities=>BYTE_ORDER_MARK_BIG
l_xstring
into l_xstring in byte mode.Regards
Raja