2007 Jan 07 4:45 AM
hi,
does anyone got the way for cl_document_bcs=>xstring_to_solix.
i am trying to convert xstring to contents_hex(table), i turn i want to pass it to
SO_SEND_DOCUMENT_API1.
i am very much new to classes. so, kindly brief me the way.
regards
2007 Jan 07 5:25 AM
you have to call the method like below
DATA: binary_content TYPE solix_tab.
DATA: xl_content TYPE xstring .
CALL METHOD cl_document_bcs=>xstring_to_solix
EXPORTING
ip_xstring = xl_content
receiving
rt_solix = binary_content
.
alternate FM doing the same stuff
call function 'SCMS_XSTRING_TO_BINARY'
exporting
buffer = xl_content
tables
binary_tab = binary_content.
Regards
Raja
2007 Jan 07 5:25 AM
you have to call the method like below
DATA: binary_content TYPE solix_tab.
DATA: xl_content TYPE xstring .
CALL METHOD cl_document_bcs=>xstring_to_solix
EXPORTING
ip_xstring = xl_content
receiving
rt_solix = binary_content
.
alternate FM doing the same stuff
call function 'SCMS_XSTRING_TO_BINARY'
exporting
buffer = xl_content
tables
binary_tab = binary_content.
Regards
Raja