
For data to be displayed in generated documents, dedicated tags must be entered in the template. Each tag can retrieve specific quote details, configuration, customer, or user-related information that is meant to be displayed in the output document. The list of tags and a detailed explanation with examples can be found in the Document Generation Tags section. Alternatively, you can use the standard CTX tags instead of quote template tags to retrieve data.
You can include any information in the quote template. Most common is to include the customer information, such as Bill To, Ship To, or End User fields. In addition, the template will include the items from the cart. This, along with any other information, can be included through the use of SAP CPQ quote template tags.
Quote Template Tags are used to transfer information from SAP CPQ into the Word document. This is done by adding these tags to the document using normal text. For example, you could include the following in a Word document: "Total price of the quote is: «Q_QUOTE(TOTAL)»". This tag is used as a quote template tag which retrieves the total price of the cart when the quotation is generated.
Expressions are entered into a Word document in the areas or order they are displayed. Virtually every piece of information existing in CPQ can be inserted in a Word quote document. Each tag has prefix character(s) that represent how the tag is used. The Q tags represent information that is pulled from the quote.
The second type of tags are C tags or Cart item tags. These can only be used within a C2 repeatable quote tag.
Finally ST tags are special tags that may fall outside the cart or quote tags. Q and ST tags are used anywhere in the document without being restricted to the C2 repeatable quote tags.