Skip to Content
0
Former Member
Jan 06, 2012 at 05:44 AM

Creating attachment to be sent with email using OOPS

1177 Views

hello everyone,

i have to send an internal table as an attachment with an email which is generated via a report.

I have created a FM to send the email. i used code information from the below link.

http://wiki.sdn.sap.com/wiki/display/Snippets/SendingmailwithattachmentusingObjectOriented+Approach

I am relatively new to the OOPS approach of sending email with an attachment.

What i understand is that i need to transfer the internal table to this FM so it can be sent as an excel attachment.

The FM requires the <ATTACHMENTS> table to be of type RMPS_T_POST_CONTENT.

i am facing problems with the conversion.

I checked BCS_EXAMPLE7 too. I am at a total loss.

In dire need of help.

Thanks in advance.

Regards,

Xineohpi.