Symptom
- The OData API `API_PURGPRCGCONDITIONRECORD_SRV` successfully creates condition records in the system, but the item net price is not updated in the scheduling agreement item.
- Using the RAP Business Object `i_schedgagrmthdrtp_2` results in a warning during processing, impacting bulk condition creation/updates.
- Despite successful persistence of condition records, pricing is not recalculated or reflected at the item level.
- Error message: “Start of Validity Period is in the Past.”
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create scheduling agreement pricing conditions via OData API `API_PURGPRCGCONDITIONRECORD_SRV` or RAP Business Object `i_schedgagrmthdrtp_2`.
- Observe that the API successfully creates condition records, but the item net price is not updated in the scheduling agreement item.
- Use the RAP Business Object `i_schedgagrmthdrtp_2` for bulk condition creation/updates.
- Observe a warning during processing and note that pricing is not recalculated or reflected at the item level.
Cause
Resolution
- Schedule a job using the app: Schedule Update of Price for Purchasing Documents.
- Use the template: Determine and Update Price of Scheduling Agreement Item (RM06ENP1).
- Ensure that the Unit of Measure (UoM) value is maintained correctly while creating a new condition record through the OData API.
Keywords
API_PURGPRCGCONDITIONRECORD_SRV, scheduling agreement, pricing conditions, net price update, RAP Business Object, i_schedgagrmthdrtp_2, validity period warning, SAP S/4HANA Cloud Public Edition, condition record creation, bulk updates. , KBA , MM-PUR-OA-SCH-2CL , Scheduling Agreement (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public