Symptom
When posting a new contract using the Odata API_PURCHASECONTRACT_PROCESS_SRV the net price is 0.00 even although the net price is passed in the payload.
Environment
SAP S/4Hana Public Cloud Edition
Reproducing the Issue
Run the API to post a new contract (Sample payload attached)
Cause
Standard system behaviour
When a contract is created via the API the system takes the contract start date as the start of the validity period for the contract conditions.
So if you set it in the future the net price is determined as 0.00 because there is no valid condition price for the current date.
The result would be the same if you manually set the condition validity date to be in the future in the create purchase contract (ME31k)
Resolution
Set a contract start date in the payload with the current date or a date in the past.
Keywords
CL_API_MASTER_CONDITION_MM, MM06EFSK_KONT_KOND_PREIS_UEBER, MM06EFSK_KONT_WERTE_ERMITTELN, ls_konh-datab, CL_API_MASTER_COND_MM_FIORI , KBA , MM-FIO-PUR-SQ-CON-CL , Fiori UI for Manage Purchase Contracts (Public Cloud) , How To
Product
Attachments
| Sample payload Jan 2026.txt |
SAP Knowledge Base Article - Public