Auto mail in sap body text

In SAP, the auto mail feature allows you to automatically send emails to users or groups based on specific conditions or events. Here's an example of how to set up an auto mail in SAP:

Step 1: Create a new auto mail

Step 2: Define the trigger

Step 3: Define the recipient

Step 4: Define the body text

Thank you for your recent order {ORDER_NUMBER}. Your order has been confirmed and is being processed.

Best regards, [Your Company Name]

**Step 5: Save and activate the auto mail**

* Save the auto mail by clicking on the `Save` button
* Activate the auto mail by clicking on the `Activate` button

**Example Body Text**

Here is an example of a body text for an auto mail:

Dear {CUSTOMER_NAME},

Thank you for your recent order {ORDER_NUMBER}. Your order has been confirmed and is being processed.

Best regards, [Your Company Name]


In this example, the body text includes two script variables:

* `{CUSTOMER_NAME}`: This variable will be replaced with the customer's name
* `{ORDER_NUMBER}`: This variable will be replaced with the order number

When the auto mail is triggered, the body text will be sent to the recipient with the customer's name and order number inserted accordingly.