SAP Knowledge Base Article - Public

3456606 - Commodity Code & Country of Origin not derived in the Sales Order - Price Access Sequence - S/4HANA Cloud

Symptom

A custom access sequence is created with below two fields to determine some condition types. 

  • Commodity code (STAWN)
  • Country of Origin (HERKL)

But the value of the two fields are not filled in the sales order.

 

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Define a custom access sequence with the two fields.
  2. Create Sales Order with reference to Delivery
  3. Check the Analysis of target condition type
  4. In the analysis log you will see the two fields are not filled with the value copied from preceding delivery

Cause

This is a missing feature from Sales Order and Pricing. Not all standard fields are filled and prepared for pricing.

Resolution

Implement some custom fields and custom logic to manipulate the values and determine the pricing.

Check below documentation to get all the BADIs for Sales Document.
https://help.sap.com/docs/SAP_S4HANA_CLOUD/a376cd9ea00d476b96f18dea1247e6a5/66a2f4107e754be68a458408eb332d91.html?locale=en-US

Check below documentation to get the details on Custom Field and Custom Logic
https://help.sap.com/docs/SAP_S4HANA_CLOUD/0f69f8fb28ac4bf48d2b57b9637e81fa/57909455bf7c4fdd8bcf48d76c1eae33.html?locale=en-US

Keywords

STAWN, HERKL , KBA , SD-BF-PR-2CL , Pricing (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition 2402