Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
Showing results for 
Search instead for 
Did you mean: 

With the SAP S/4HANA Cloud Output Management framework, we can automatically send configured application documents (i.e. Purchase order, Billing document, Payment receipt, etc.) in PDF format to business partners via e-mail.

Sending emails require defining allowed email domains, as well as sender and recipient email addresses. The purpose of this blogpost is to define the technical setup for sending emails. There’s also the option to create custom email templates to define a custom email subject and body based on the SAP- delivered templates.

Some necessary prerequisites before the technical setup procedure include-

  • The Output Management (1LQ) scope item is active. To check this, go to the Manage Your Solution app and go to View Solution Scope.

  • The User should have access to Manage your solution & Output parameter determination app.

  • Setting up email

    First step - Define an Email Sender Domain

    In business communication, it's expected that the readable email header contains addresses from a customer's email domain or domains. In this setting, you can define which domain is allowed in the readable email header. You may also specify a list of domains if multiple domains are allowed.


    • Peter.Parker@company.com

    • Peter@sales.company.com

    • Procedure:

      • Log on to the SAP Fiori launchpad.

      • Choose Manage Your Solution à Configure Your Solution.

      • Enter Define Email Sender Domain in the Search Input Text smart field, and choose Enter.

      • In the Define Email Sender Domain row, choose Configure.

      • Choose New Entries and maintain your Sender Domain Name(s).

      • Choose Save and exit.

      • Second step - Define default email sender address

        Generally, the output control functionality determines a sender email address and adds it to the email header. Within this setting, we may define a default sender address if no sender address has been determined.




        • Log on to the SAP Fiori launchpad.

        • Choose Manage Your Solution Configure Your Solution.

        • Enter Define Default Email Sender Address in the Search Input Text smart field, and choose Enter.

        • In the Define Email Sender Domain row, choose Configure.

        • Maintain the Default Sender Address field and the Visual Name field.

        • Example:

          Default Sender Address
          Visual Name SAP Webservice URL
          Do not reply

          • Choose Save and exit.

          • Third Step – Determine email recipients

            The default email address of the recipient is set by the business application, which decides the source of this email address. For example, it could be read from a master data address or from a document address. Output Control uses this email address always as TO address. You can't define this address as CC or BCC. Currently, only one email address is possible.

            In this step, we're defining the usage of the default email address and one additional email address for the output.


            • On the SAP Fiori launchpad, choose Output Parameter Determination app.

            • On the Output Parameter Determination screen, on the Select Business Rules tab, select an application.

            • In this example, Purchase Order is selected as an application. You can select any other option.

              • Under Determination Step, select Email Recipient from the list.

              • On the Maintain Business Rules tab, choose Edit.

              • On the Table Contents tab, enter a value in the Email Type Code field, for example TO.

              • On the Email Address field, open the dropdown list and choose Select Expressions.

              • As search criteria, set Application Name to OPD_APOC_SYSTEM and Expression Type to Constant.

              • Choose Search.

              • Select the object Default Email Address and choose OK.

              • Your business rule will now pick up the default email address from the application as TO address.

              • You can add an additional email addresses.

              • To save your changes, choose Activate.

              • Make sure that the activation has run successfully.

              • Now, you’ve successfully modified the email recipient determination. For further information related to setting up emails or customizing form templates, please refer below mention links.

                Hope this information is useful. Feel free to post your queries here.

                For more information on SAP S/4HANA Cloud, check out the following links:

                · Best practices for SAP S/4HANA Cloud here

                · Help Portal Product Page here

                · SAP Activate Page here