‎2011 Oct 11 12:39 PM
Hi,
We have created a flat file. We need to add records to this file. For each record, an attachment has to be added. This attachment is like a field in that particular record. Is it possible to add an attachment in the file as part of the record.?
Regards
Albina
‎2011 Oct 11 1:52 PM
Hi,
What is the type of the attachment?
If it is in a character format you can attach in the file. For other complex data types you cannot attach.
‎2011 Oct 11 1:53 PM
hi Albina..
ur queston is not clear plz explain brief.
Regards
Vshal
‎2011 Oct 11 2:54 PM
Hi,
Adding attachments inside flat file ur saying ?
It's not possible
Thanks
kishore
‎2011 Oct 12 12:16 PM
The attachment could be Word, Excel, PPT, PDF etc. So i suppose we cannot attach it in the file. Even i was under the same impression, but wasnt fully sure on that. Thanks for confirming. I suppose it would be possible to send/FTP this type of attachment from SAP to another server, right?
‎2011 Oct 12 12:51 PM
Hi,
You can send a file to another email address using Sap Business Workplace tcode SBWP.
If you want to send through program that also you can do.
You can use below FM to send files
SO_NEW_DOCUMENT_ATT_SEND_API1
SO_NEW_DOCUMENT_SEND_API1
Please let me know if this works for you..
Regards,
Rahul
‎2011 Oct 13 7:56 AM
Hi,
Thanks for you inputs. These files are of type Word, Excel, PPT, PDF etc. Is it possible to send these type of file types to an external server.?
Regards
Albina
‎2011 Oct 13 6:28 PM
Hi Albina,
A file is "just a piece of bits". So it can contain whatever you want, provided that you define it in a correct format (for instance, a mail with attachments is simply a sequence of bits, have a look at the MIME International standard for more info). You can send a file from SAP by FTP to an FTP server (just search in the forum).
Please could you give the exact requirement, context and constraints, etc., so that we can advise you better?
Sandra