SAP Knowledge Base Article - Public

3045305 - Field 'Order Reason' is not available in CDS view A_SlsPrcgConditionRecord - SAP S/4HANA Cloud

Symptom

You are trying to fetch data for condition records via either Odata API Condition Record for Pricing in Sales or Manage Prices - Sales app. However, the value for field 'Order Reason' cannot be retrieved.

Environment

  • SAP S/4HANA Cloud 2102
  • SAP S/4HANA Cloud 2105

Cause

Both Odata API Condition Record for Pricing in Sales and Manage Prices - Sales app store condition records within CDS view A_SlsPrcgConditionRecord. However, the field 'Order Reason' is not a valid field in this view at the moment. It's initially been planned to release this field 'Order Reason' on CE2108.

Resolution

Before CE2108, if any field that is not yet available in CDS view A_SlsPrcgConditionRecord is needed to be fetched by API request or F4111, please consider to adapt extensibility as following.

For example, you can create a custom field specifically for 'Order Reason' purpose under business context Sales: Pricing Communication Head. If you would use via Odata API, enable the usage for 'Condition Record for Pricing in Sales' under tab 'OData APIs'. Then you would be able to fetch values for this field by triggering API request on property A_SlsPrcgCndnRecdValidity. If you would use it via Sales or Manage Prices - Sales app, enable the usage for 'Manage Prices - Sales' under tab 'UIs and Reports'. For more details, see the following.

  • 3043473 - How to extend Manage Prices – Sales app - SAP S/4HANA Cloud

See Also

Keywords

Manage Prices - Sales, Condition Record for Pricing in Sales, A_SlsPrcgConditionRecord, order reason, API_SLSPRICINGCONDITIONRECORD_SRV, F4111, A_SlsPrcgCndnRecdValidity , KBA , SD-MD-CM , Conditions and Condition Maintainance , Problem

Product

SAP S/4HANA Cloud 2102 ; SAP S/4HANA Cloud 2105