Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

zip text attachment using so_document_send_api1

Former Member
0 Likes
634

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

3 REPLIES 3
Read only

Former Member
0 Likes
518

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).

Read only

0 Likes
518

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

Read only

0 Likes
518

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