Symptom
While using variant conditions to calculate prices for configurable products in sales documents, the variant key and description may need to be printed on the output documents, e.g. ORDER_CONFIRMATION. The variant key and description are available in the price schema of the line items in a sales order. However, when generating the output document only the description field is available in the XML that is used to generate the PDF form.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
Cause
Standard system behavior.
Resolution
Try the extensibility to manipulate the value of variant keys in the output form of Sales Order.
Extensibility for Output Forms and Email Templates of Sales Documents
How to Extend a Custom Form Template with Custom Fields
Keywords
print, variant key, output form, PDF form, sales order, variant condition , KBA , SD-SLS-GF-CO-2CL , Controlling interface, costing (Public Cloud) , CA-GTF-OC , SAP S/4HANA output management , Problem