“Group, I am using function module SO_NEW_DOCUMENT_ATT_SEND_API1 to send internet email from SAP. One issue that has developed is that this. This ABAP program use the function module ‘ SO_NEW_DOCUMENT_ATT_SEND_API1’ to send the email with attachment. There are five steps involved in. Posts about SO_NEW_DOCUMENT_ATT_SEND_API1 written by easyabapforbeginners.
|Published (Last):||28 June 2015|
|PDF File Size:||18.69 Mb|
|ePub File Size:||16.31 Mb|
|Price:||Free* [*Free Regsitration Required]|
It is not possible to transfer processing parameters to the document attachment. Here you have a nice example of how to do it wiki. I agree that my submitted information are stored for the purpose of contacting me. It is probable that another user is processing.
If the value ‘0’ is entered, the document does not need to be processed. VALUE If the processing element is a report or a transaction with transfer of values to the global memory, the field for the first row of the table must remain empty. I believe it is ‘A’ but, as it only says external address. It is a template for the folder entries and can be addressed via its object ID.
The document and the attachments are transferred in the same table.
This function module enables you send a new document including any existing attachments. This value gives the priority, which was assigned to the document by the owner, after receipt.
NAME If the processing element is a report or a transaction with transfer of values to the global memory, the field of the first row of the table must contain the name of the memory ID used for the export.
Email Required, but never shown. In the first row of the table, this field is not used. Report with transfer of values to global memory ‘T’: If the processing element is a report, or transaction with transfer of values to the global memory, the table content is interpreted as the quantity of parameters so_new_document_at_send_api1 the so_new_document_art_send_api1 values and exported to the memory ID taken from the first row.
ABAP Program to Send Mail with Attachment
This flag should only be activated for so_new_dpcument_att_send_api1 sending, since internal sending is synchronous. You can search for this term using attribute search. If the recipient is a logged-on SAPoffice user, he or she receives a message immediately, saying that he or she has received an express mail. Leave us your contact details and we will call you back. The fields of the other rows accommodate the parameter names. Our Service Looking for Support?
This flag should only be activated if the target system is an SAP System. If the processing element is a function or dialog module, the fields must contain values corresponding to the use of the modules.
LINE Requires the type-dependent data of the object line by line.
FAX This field is not used. The first row is for the document, the following rows are each for one attachment. The active user does not have authorization so_new_xocument_att_send_api1 send to this number of recipients. The following entry categories are possible: This field is only relevant if the recipient is an address number, that is, if the document is sent via address management. I’ve seen the code in that link and it worked! It is necessary so_new_document_att_send_appi1 distinguish between the document and its folder entries.
Looke easy to follow and seamed to do exactly what I need. The following entries are permitted: If the field is empty, the standard communication type specified in address management is used. If the field is empty, the default current number in address management is used.
A personal document can have the following levels of sensitivity: When the expiration date has been reached or passed, the entry is placed in private trash and can be retrieved from there if needed, up until the next time the trash is emptied. If the recipient is a SAPoffice user, he or she can neither print nor forward the document.
The docs also contain an example on how to send to an external mail address. The message is only supported by a small number of mail systems, however. If sending or delivery failed in one or more cases, the flag is not activated.