Overview of Text Variables for Emails
When writing email text templates, the user can use various text variables.
Text variables serve as placeholders for specifications and values regarding the sender and recipient as well as certain pieces of header and item data of documents.
Text variables for emails are divided into three categories:
Text Variables: Email Header
Variable | Description |
|---|---|
<SEND_TO> | Email recipient |
<SEND_CC> | Email recipient in cc |
<SUBJECT> | Email subject |
<ATTACHM> | Name of the email attachment. The name of the attachment may also contain variables. |
Text Variables: SAP Document Header Data
Variable | Description |
|---|---|
&H_DOCUMENTNUMBER& | SAP document number |
&H_COMPANYCODE& | Company Code |
&H_FISCALYEAR& | Fiscal Year |
&H_AMOUNT& | Amount |
&H_CURRENCY& | Currency |
&H_VENDOR& | Vendor name |
&H_INCDATE& | Document Date |
&H_REF& | Reference number |
Text Variables: Sender Information
The source of the sender information is the SAP user master. The data of the user currently logged in is taken into account.
Variable | Description | |
|---|---|---|
&S_FULLNAME& | &X_FULLNAME& | Given name and family name of the sender |
&S_DEPARTMENT& | &X_DEPARTMENT& | Department of the sender |
&S_COMPANY& | -- | Company of the sender |
&S_COUNTRY& | &X_COUNTRY& | Country abbreviation of sender |
&S_POSTL_CODE& | &X_POSTL_CODE& | Country abbreviation of sender |
&S_CITY& | &X_CITY& | City of the sender |
&S_STREET& | &X_STREET& | Street of the sender |
&S_HNUMBER& | &X_HNUMBER& | House number of sender |
&S_TEL& | &X_TEL& | Telephone number of the sender |
&S_TEL_EXT& | -- | Extended phone number of the sender Note: There is no equivalent of this variable for xSuite-only users, because xSuite-only users cannot be assigned extended phone number values. |
&S_FAX& | &X_FAX& | Fax number of sender |