04-28-2010 12:51 PM
Hi Experts,
How to declare datatype for hexadecimal. Please give with example for hexadecimal declaration value.
Thanks,
Singh.
04-28-2010 12:56 PM
data: d_string_char(1),
d_string_hex(10).
field-symbols: <fs>.
* here d_string_char contains the string value
* for example:
d_string_char = 'A'.
assign d_string_char to <fs> type 'X'.
write <fs> to d_string_hex.
write d_string_hex
.
04-28-2010 1:19 PM
04-28-2010 12:57 PM
04-28-2010 1:21 PM
Thank u Sen
I need with example..... where could we find ABAP declarations with examples....
04-28-2010 1:24 PM
Hey,
Why do you use F1 button on your abap editor and find?
there is so much information availible in SAP help.
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2fcc358411d1829f0000e829fbfe/content.htm
or go to transaction ABAPDOCU so many sample programs.
Regards and Best wishes.
04-28-2010 2:02 PM
You can refer this link to get more ideas on HEX
[http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP+Types]
04-28-2010 5:12 PM
Moderator message - Please do not ask or answer basic questions - thread locked