“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):||20 July 2018|
|PDF File Size:||2.27 Mb|
|ePub File Size:||14.85 Mb|
|Price:||Free* [*Free Regsitration Required]|
If the value ‘0’ is entered, the document does not need to be processed. The active user does not have authorization to send to this number of recipients.
LINE Requires the type-dependent data of the object line by line. HIGH This field is not used. Internet address ‘R ‘: Confidential, not visible to substitutes For documents in shared folders, only sensitivity level ‘O’ is permitted. I believe it is ‘A’ but, as it only says external address. This field is only relevant if the recipient is an address number, that is, if the document is sent externally via address management. 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 with the relevant values and exported to the memory ID taken from the first row.
Remote SAP name ‘X’: I’m sorry but I found it on the web. The fields for the other rows accommodate the values belonging to the parameters in NAME. If the document is not successfully recieved, a value unequal to ‘0’ is entered in the field. If sending or delivery failed in one or more cases, the flag is not activated. Looke easy to follow and seamed to do exactly what I need.
Send external email from within ABAP program
If this flag is activated ‘X’the newly created document is also placed in the outbox of the active user when it is sent. This only send’s the email to the SAP inbox. The document and the attachments are transferred in the same table. 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. Jagger 6, 6 37 SAPscript objects store information here about forms and styles, for example.
Folder entries are created when a document is resubmitted, referenced or sent as well as when a new document is created. If the processing element is a function or dialog module, the fields must contain values corresponding to the use of the modules.
Eva Dias 5 25 It is not possible to transfer processing parameters to the document attachments. 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.
It is a template for the folder entries and can be addressed via its object ID. I’m not sure if what I made is appropriate because you always discredit what I did, rightfully: This value gives the priority, which was assigned to the document by the owner, after receipt.
ABAP Program to Send Mail with Attachment
The document itself does not have a priority level, but each time the document is entered in a folder, this value is used as the default for recipient priority for the entry field PRIORITY. This flag should only be activated for external sending, since internal sending is synchronous.
The Consolut Callback-Service Leave us your contact details and we will call you back. If the field is empty, the default current number in address management is used. FAX This field is not used. The docs also contain an example on how to send to an external mail address.
SO_NEW_DOCUMENT_ATT_SEND_API1 – SAPoffice: Send new document with attachments using RFC: consolut
The first row is for the document, the following rows are each for one attachment. This function module enables you send a new document including any existing attachments. This flag should only be son_ew_document_att_send_api1 if the target system is an SAP System.
Just needed to alter somethings in regard the external email like making a loop to get all the email from a table, but it was very simple. 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 abaap.
ABAP Program to Send Mail with Attachment
It is necessary to distinguish between the document and its folder entries. I found this function: Confirmation is only supported by a small number of mail systems, however. This field is only relevant if the recipient is an address number, that is, if the document is sent via address management.
I’m going to check it out.