SAP Knowledge Base Article - Public

3634560 - The 'ConditionValidityEndDate' and 'ConditionValidityStartDate' under "Condition Records" Entity do not return the correct value when using API "Condition Record for Pricing in Sales"- SAP S/4HANA Cloud Public Edition

Symptom

When using the entity "Condition Records" entity of API "Condition Record for Pricing in Sales" (API_SLSPRICINGCONDITIONRECORD_SRV), the 'ConditionValidityEndDate' and 'ConditionValidityStartDate' do not return the correct value.

Environment

 SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Execute the standard API 'Condition Record for Pricing in Sales' and use the entity "Condition Records" Entity.
  2. Observe the value of the field 'ConditionValidityEndDate'/'ConditionValidityStartDate'.
  3. Compare the value of the field 'ConditionValidityEndDate'/'ConditionValidityStartDate' for the same condition record in the app "Manage Prices-Sales".

Cause

The validity period in Condition Record entity is not accurate.

When the validity date is updated, only the validity period in Validity entity will be updated accurately.

Resolution

Ensure to always use the validity date in the Validity entity and not in the Condition Record entity.

See Also

Keywords

API_SLSPRICINGCONDITIONRECORD_SRV, Condition record, ConditionValidityEndDate, ConditionValidityStartDate, Validity Entity, API, Condition record entity. , KBA , SD-MD-CM-2CL , Conditions and Condition Maintainance (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions