ā2012 Apr 20 1:12 PM
HI Everyone,
I am getting an attachment in format sdokcntbins I have to convert it to solisti1 .
Please suggest how can this be done
Regards,
Naval bhatt.
ā2012 Apr 23 5:43 PM
found the answer ..
we just have to use SCMS_BINARY_TO_XSTRING
and then SCMS_XSTRING_TO_BINARY
ā2012 Apr 20 1:53 PM
Hi,
Try function module 'SCMS_BINARY_TO_TEXT'.
DATA : v_length TYPE i,
content_bin TYPE STANDARD TABLE OF sdokcntbin,
content_txt TYPE STANDARD TABLE OF solisti1.
CALL FUNCTION 'SCMS_BINARY_TO_TEXT'
EXPORTING
INPUT_LENGTH = v_length
TABLES
binary_tab = content_bin
text_tab = text_tab.
IF sy-subrc <> '0'.
ENDIF.
Thanks & Regards
Bala Krishna
ā2012 Apr 23 5:44 PM
ā2012 Apr 23 5:43 PM
found the answer ..
we just have to use SCMS_BINARY_TO_XSTRING
and then SCMS_XSTRING_TO_BINARY