Symptom
While using variant conditions to calculate prices for configurable products in sales documents, you may need to print the variant key and description 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 2402
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
KBA , SD-SLS-GF-CO-2CL , Controlling interface, costing (Public Cloud) , CA-GTF-OC , SAP S/4HANA output management , Problem