Text variables for e-mail text templates
Various text variables are available for e-mail text templates.
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 e-mails are divided into 4 categories:
Text Variables: SAP Document Header Data
Variable | Description |
|---|---|
&H_DOCUMENTNUMBER& | SAP document number |
&H_COMPANYCODE& | Company code |
&H_FISCALYEAR& | Fiscal Year |
&H_INVTYPE& | Business transaction (invoice / credit note) |
&H_AMOUNT& | Debit/credit amount |
&H_CURRENCY& | Currency |
&H_VENDOR& | Vendor name |
&H_INCDATE& | Document date |
&H_REF& | Reference number |
Text Variables: Sender Information
Notice
Variables starting with "&S_" obtain the sender information from the SAP user master of the user currently logged in.
Variables starting with "&X_" obtain the sender information from the xSuite user master of the user currently logged in.
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 |
Text Variables: E-Mail 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. |
&S_REC_MAIL& | E-mail address from the vendor master data (Communication area → first entry in the E-mail field) |
Text variables – SAP item data
Variable | Description |
|---|---|
&I_AMOUNT& | Item amount |
&I_CUR& | Currency |
&I_IDNLF& | Delivery note number This text variable only applies to MM invoices. |
&I_MATNR& | Material number This text variable applies to xSuite Invoice Cube (MM invoices only) and xSuite Procurement Cube. |
&I_ORD& | Purchase order number This text variable only applies to MM invoices. |
&I_POSITION& | Invoice item number |
&I_P_ORD& | Order price This text variable only applies to MM invoices. |
&I_QUANTITY& | Order quantity This text variable applies to xSuite Invoice Cube (MM invoices only) and xSuite Procurement Cube. |
&I_Q_INV& | Quantity invoiced This text variable only applies to MM invoices. |
&I_TEXT& | Line-item text |
&I_UNIT& | Order unit This text variable applies to xSuite Invoice Cube (MM invoices only) and xSuite Procurement Cube. |
<ITEM-CD> | Identifies a PS-CD item. Insert this text variable before the line. |
<ITEM-FI> | Indicates an FI item. Insert this text variable before the line. |
<ITEM-FM> | Indicates a PS-M item. Insert this text variable before the line. |
<ITEM-MM> | Identifies an MM item. Insert this text variable before the line. |
Text variables – text abbreviation "FIELDS" (PO_NOTICE)
Variable | Description |
|---|---|
&EBELP& | Order item number |
&MATNR& | Material number |
&TXZ01& | Short text |
&MENGE& | Order quantity |
&MEINS& | Base unit of measure |
&NETPR& | Item unit price |
&NETWR& | Total item price |
&LIFNR& | Vendor number |