‎2010 Oct 04 7:05 PM
hi
i have a requirement to send the text file attachment and mail after zipping the attachment.
I have used fm so document send api1 to attach the text file and send to mail.But somehow i am not able to zip the file first.
i have also tried using the fm so new document send api1 but again no success.
Can someone send me a full sample code which i can refer ?.
Thanks in advance
‎2010 Oct 04 9:18 PM
A more precise statement might get you better answers.... "But somehow i am not able to zip the file first." Does that mean your program can't obtain the file or that you are unable to attach to emai or ??
See SAP Note 609696 for working code samples and documentation for these APIs, if you want to continue to use these out-of-date methods ( see BCS classes/sample programs for state-of-product email).
‎2010 Oct 04 9:28 PM
Hello
Class CL_BCS is indeed more comfortable if you have it available in your system.
One of our main ERP systems is still on release 4.6c...
Regards
Uwe
‎2010 Oct 04 9:35 PM
it wil be helpful if you can provide me a sample code to meet the the requirement.
i need to send text file attachment in email after zipping it.
Thanks in advance