Need to send hr letter in mail body along with attachments.
We have requriement where we have to send formated letter in the email body along with the few attachment of different types like doc, xls and pdf.
we have 5 letters and their respected attachmetns depending upon condtitions.
Solution i have in my mind is to create letter in SO10 and call this in abap program using read_text fm and send to the receiver the text as well attachment data by SO_NEW_DOCUMENT_ATT_SEND_API1.
i have idea ( may be wrong), but dont know how to implement it.
Edited by: ravihsr on Mar 18, 2011 7:16 AM