Skip to Content
0
Former Member
Sep 11, 2007 at 11:20 AM

To send the error messages of an BAPI as an attachment in mail

312 Views

Hi all,

I am running the BAPI_EXCHRATE_CREATEMULTIPLE to update the transaction OB08..I am able to do that.What i want now is that if there are error messages in the BAPIRET2 table then i collect these messages in a table and send these records as an attchment in the mail..

I am using the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send the mail..

Plz suggest how i should proceed..

A sample code will be useful..

<b><REMOVED BY MODERATOR></b>

Thanks..

Arun

Message was edited by:

Alvaro Tejada Galindo