2008 Jul 18 10:18 AM
Dear gurus,
if i have string 'ABCDE', how to know its binary byte format?
Thanks a lot
Dear gurus,
if i have string 'ABCDE', how to know its binary byte format?
Thanks a lot
2008 Jul 18 10:33 AM
2008 Jul 18 10:34 AM
SCMS_FTEXT_TO_BINARY may be try this by clicking on where used list
2008 Jul 18 10:36 AM
2008 Jul 18 10:34 AM
hi..
you can use this FM "SCMS_XSTRING_TO_BINARY".
regards
Lokesh
2008 Jul 18 10:42 AM
Hi Donghai Liang,
check out below FMs..
SCMS_FTEXT_TO_BINARY
SCMS_TEXT_TO_BINARY
SCMS_XSTRING_TO_BINARY
RSPO_SR_TABLE_WRITE_BINARY
RSPO_SR_WRITE_BINARY
SRET_TEXT_TO_BINARY
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
2008 Jul 18 1:54 PM
Could any guru give me real detailed sample for the string "abcde"
Thanks a lot
2008 Jul 18 2:05 PM
Hi,
Check this sample code:
DATA:
filesize TYPE i,
org_xml TYPE xstring.
DATA :
BEGIN OF itab OCCURS 0,
line TYPE x LENGTH 255,
END OF itab.
org_xml = 'ABCDE'.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = org_xml
IMPORTING
output_length = filesize
TABLES
binary_tab = itab.
WRITE: SY-SUBRC.check itab.
Regards
Adil
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |