CL_DOCUMENT_BCS ADD_ATTACHMENT PDF

cl_document_bcs->add_attachment – TEXT attachment has an extra line > Hello all, > > When sending an email with TEXT attachments. **add attachment name CLEAR L_ATTSUBJECT. DATA: LO_DOCUMENT TYPE REF TO CL_DOCUMENT_BCS VALUE IS INITIAL. DATA document TYPE REF TO cl_document_bcs. document = cl_document_bcs=>create_document( document->add_attachment.

Author: Zulmaran Mizragore
Country: El Salvador
Language: English (Spanish)
Genre: Personal Growth
Published (Last): 19 April 2014
Pages: 156
PDF File Size: 16.18 Mb
ePub File Size: 7.38 Mb
ISBN: 727-3-75485-388-6
Downloads: 86728
Price: Free* [*Free Regsitration Required]
Uploader: Grokree

Purpose of the document: Step by step procedure to learn how to send an Email with attachment of any Format. The method used here for creating and Emailing an attachment is very lucid i.

SAP has provided a variety of features for sending an Email to an external ID which are dependent limitation on the file formats of the attachments. If we are sure about the Attachment format, we can easily figure out the best suited Function Module SAP has provided and its parameters required to achieve the functionality, for the attachment to be Emailed.

  EL LIDER DEL FUTURO HESSELBEIN PDF

This method of sending Email accepts any format of the Attachment i. Steps involved Emailing the Attachment: Uploading the document to be E-mailed to SAP. Framing the body of the Email. Sending the Add_attachmet using Classes and its Methods. Uploading the Document to SAP: Once the internal table is populated with the document data it can be used to create the attachment and send it via Email.

Framing the body of the Email: In order to Frame the body of the Email we can create Text Symbols with the texts to be used in the body of the Email. Length of the document Mail Body.

Subject of the Email. Creating the Attachment using Classes: Extension of the file. Subject of the Attachment.

Max (Maxim) Titov IV @ TechSplice ยป SAP ABAP: Send Email with attached Internal Table XLS file

Sending the Email using Classes: Where in, the result of the method whether the mail is sent successfully or not is captured in the parameter result.

  KIWA7 LA-5082P PDF

For more information on HTML please visit the link http: You can also attach Audio and Video files using the above method but there are some size constraints i. Below, I have attached a demo Program for sending attachment of any format via Email.

Click here for the report Program for attaching and sending files any format via Email.

Text Symbols used in the above Example: All product names are trademarks of their respective companies. Every effort is made to ensure content integrity.

Use information on this site at your own risk.

Registration

Join the Mailing List. Enter name and email address below:. Graphic Design by Round the Bend Wizards.