Saturday 16 July 2016

Automatic e-Mail Confirmation


When a sales order that has been created on the web has been saved, this should trigger an automatic email confirmation to be sent out. The configuration is described below at a high level (primarily screen shots). In this example, a new output condition type is created, which will trigger the email confirmation for the order type(s) used for Internet orders.

This documentation does not cover the setup of the email server (Exchange, SendMail, etc.),RFCs, SAP Office, and development of the SAPscript form, since these are different at each site. This document covers the configuration required within the SD module of the R/3 system to trigger the generation of output via email. 

1.1        Condition Type ZEXT

IMG menu path:
Sales and distribution > Basic functions > Output control > Output determination > Output determination using the condition technique > Maintain output determination for sales documents > Maintain output types

 1.1.1       General data:



 
 
The access sequence ensures that this output will only be used for Internet orders. This assumes that one or more order types are used exclusively for Internet processing.

1.1.2       Default values:


 
 
The default values indicate that the output is triggered immediately when the order is successfully saved. Standard-delivered settings were used for the Internet mail.

 1.1.3       Print:



 

 1.1.4       Archiving:

    



 1.2        Add Condition Type ZEXT to Output Procedure V10000

IMG menu path:
Sales and distribution > Basic functions > Output control > Output determination > Output determination using the condition technique > Maintain output determination for sales documents > Maintain output determination procedures
 
 
The new condition type is added to the order output procedure, with the requirement of order confirmation.


 1.3        Assign Procedure/Condition to Sales Order Type

IMG menu path:
Sales and distribution > Basic functions > Output control > Output determination > Output determination using the condition technique > Maintain output determination for sales documents > Assign output determination procedures > Allocate sales document header


   
 
The output is assigned to the order type used for Internet orders. The new condition type is the default output.

 1.4        Assign the Output Form to the Condition Type

IMG menu path:
Sales and distribution > Basic functions > Output control > Output determination > Process output and forms > Assign forms and programs > Assign to sales document
    


 
The SAPScript form that should be used for the output is assigned. The form used for email should normally be different from the output used for printing.

 1.5        Create Master Data for Condition ZEXT

Menu path:
Logistics > Sales and distribution > Master data > Output > Sales document > Create
 Select condition type ZEXT:
 

 
This information specifies (as master data) for which sales document types the email confirmation should be sent. The email address must be in the sold-to party master record