Symptom
CommodityCode item information is missing on Billing Document XML
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
1. Go to Billing Document Output requests
2. Check Output XML (define Print Queue: #&&DOWNLOAD_FORM_DATA&&## and Display Document), <CommodityCode> node is empty.
Cause
Commodity Code information comes from Delivery Item information, the first step is to make sure that information is maintained on item level of the Delivery Document.
Resolution
In case information is not maintained on item level of the Delivery Document, you should check Commodity Code settings. Proceed with the settings on:
1. Manage Commodity Codes app.
2. Configuration Activity (Central Business Configuration or Manage Your Solution): Assign Numbering Scheme for Commodity Codes to Country/Region.
See Also
After proceeding with Commodity Code settings, re create Outbound Delivery and check at Item level, on International Trade tab, Commodity Code field automatically filled. Create the Billing Document and check Output Item xml. <CommodityCode> has now the updated value.
Keywords
Commodity Code, Billing, Output, XML, Missing, Display, Pro forma, extensibility, Custom Logic. , KBA , SD-BIL-GF-OC , Output Control Billing , LE-SHP-DL , Delivery Processing , How To