SAP Mail Title and Texts for Billing

How do you configure the SAP Mail Title and Texts?

SPRO -> SAP Reference IMG -> Sales and Distribution -> Basic Functions -> Output Control -> Output Determination -> Output Determination Using the Condition Technique -> Maintain Output Determination for Billing Documents -> Maintain Output Types

For the Output Types Mail title and texts, you can specify a field name such as the billing documents number for it to appear in the email subject.  However, the field need to have a ‘X’ in front, in this case, the variable field name will be &XVBRK-VBELN&

Next, click the Text with a pencil button to specify the body text.

 

In the email body text, you can further specify a command line so that the system will pick up the text from transaction SO10

/:  INCLUDE Z_INVOICE_EMAIL_BODY OBJECT TEXT ID ST LANGUAGE EN

One key difference when using variable field name in the body text is that it must not contain the ‘X’, in this case, only use &VBRK-VBELN&

As I am not a good ABAP debugger, I did not manage to find out the field difference why the Mail Title require a ‘X’ while body text field name does not require the ‘X’.  Anyway, my testing shows that it works in this manner.

 

When you first enter V/40, double click the Output Type and ensure that under General data the Program and FORM routine are filled in.

Program:  SAPMV60A

FORM routine:  TEXT_SYMBOL_REPLACE

 

Next is to fill in the Default values for sending mail.

 

SPRO -> SAP Reference IMG -> Sales and Distribution -> Basic Functions -> Output Control -> Determine Communication Strategy

A communication strategy describes a sequence of communication methods.  The communication strategy can be used when sending externally. The sequence of specified communication methods is then searched until communication data is found for the specified address (from the Business Address Services).

Just used the SAP standard will do.

 

If you are setting up many language or output type, use tcode SE16 to check your V/40 Mail title and texts setup.

Pooled Table:  TNATI - Condition Types: Output Title

 

Then come the last 2 steps:

Transaction VV31 to setup the email output type so that when user create any new billing documents, email can be manual or auto send out to customers.

 

Transaction XD02 to fill in the external customer email address.

Make sure you do a test in your SAP test system before going live.

 

Notes: 

Although this SAP Mail Title and Texts example is for Billing Documents, it is the same configure steps for Sales Activities and Sales Document Output Types.

SAP SD Tips

See Also
Mass Repeat Print Sales Order

Get help for your SAP SD problems
SAP SD Forums - Do you have a SAP SD Question?

SAP Sales and Distribution Books
SAP SD Books  - Certification, Interview Questions and Configuration

Delivery Hints
SAP Logistics Execution

SAP Sales and Distribution Tips
SAP SD Discussion Forum and Sales/Distribution Tips

Main Index
SAP ERP Modules, Basis, ABAP and Other IMG Stuff

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of
www.erpgreat.com or the content authors.