‎2007 Jan 16 8:03 PM
Hi,
as far is I was able to find similar questions it seems that Abap is not supporting attachments for webservices (at least not for 6.20 or 6.40).
I want to send a file (e.g. Pdf, Wrd) with a webservice but when I try to create a rfc enabled function i am not allowed to use a STRING or XSTRING in a table parameter. I need to have a table because there could more than one files to send.
Is there a better way to do that than cutting the file into a char type with a defined lenght and fill a table and rebuild it on the receiver side?
Thanks,
Christoph
‎2007 Jan 16 11:37 PM
Rather than using a TABLES parameter, use IMPORTING / EXPORTNIG / CHANGING parameters using a table type.
You can then use type STRINGTAB - a table of strings.
Michael
‎2007 Jan 17 4:07 PM