![scn coding r350 command scn coding r350 command](https://s3.manualzz.com/store/data/055185361_1-13d805383e14408f6b86e13a31a2671a-360x466.png)
To do this we should define a link in the SAP system between a customized command and this unix script. Store this small script on the unix server. This script can be invoked from SAP to send the mail to the intended recipient. The script builds a temporary file and pipes the file to the sendmail command to achieve the mission. The corresponding Microsoft icon will be shown in the email for the type of file attached ( Word document, excel document etc) $6 = Name to be given to the attachment (like test1.doc, test1.xls). $5 = Path of unix server file to be sent as email attachment $4 = Path of unix server file having email bodyįorm email body as an internal table in ABAP program, download it to a unix server file Let us understand the various parts of the above script. Check the actual case on the unix installation in question) (Note : the commands in the above script can be case sensitive.
SCN CODING R350 COMMAND CODE
The ABAP code to send an email to Microsoft inbox revolves around following UNIX scriptĬat | /usr/sbin/sendmail -f $fraddr $toaddr A fair knowledge of UNIX shell scripting is assumed here. Sending an email to the Microsoft Inbox is a way of interacting with a non SAP system through ABAP code and hence is very interesting. This also works like an additional notification to users in case they do not check SAP mail regularly.
![scn coding r350 command scn coding r350 command](https://cdn11.bigcommerce.com/s-c423e/images/stencil/1280x1280/products/3013/17730/252__96904.1426539188.jpg)
SAP mail is a very robust method of interacting with users within SAP system, it is always good to receive email in Microsoft inbox.