2013 Feb 26 12:16 PM
hi Experts,
FIELD-symbols : <fs_x> TYPE X.
"convert char to ascii
ASSIGN 'A' TO <fs_x> casting.
the above code is working differenlty in 2 systems.
in one system - <fs_X> = 0041 - which is correct
in other system - <fs_X> = 4100 - which is wrong.
Please advice.
Rgs,
Jayant
2014 Aug 10 2:55 PM
Hello Jayant,
You can find in your ABAP F1 help about "byte sequence". The byte sequence determines whether the highest-value byte or lowest-value byte is stored first. In the case of the highest-value byte, the binary display is referred to as big endian and with the lowest-value byte, the display is known as little endian. Different processor might have different byte order.
See example in ABAP help:
Best regards,
Jerry