Skip to Content
0
Dec 02, 2008 at 02:47 PM

Upload file and send them by email on Web Dynpro abap

55 Views

Hi experts.

I Need a help.

I want to upload a file ( any type, Word, Excel, pdf, image) and send this file by email on abap web dynpro.

But a have a problem. the web dynpro upload functionality return a xstring value like content of this file. but the FM SO_NEW_DOCUMENT_ATT_SEND_API1 receives a table with a line type SO_RAW255 RAW 255 0 SAPoffice: Binary data with length 255 to attachment.

Now, how can I transform the xstring into this type of table?? or there is another way by send an email with the xstring like attachment??? or what can I do?

Thank in advance.