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
- Execute the standard API 'Condition Record for Pricing in Sales' and use the entity "Condition Records" Entity.
- Observe the value of the field 'ConditionValidityEndDate'/'ConditionValidityStartDate'.
- 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
SAP Knowledge Base Article - Public