Symptom
After cancelling a Service Contract via the Cancellation tab, the Contract End Time field can only be selected in 30-minute intervals using the drop-down list.
It is not possible to manually enter a specific time (for example, 23:59:59). If such a value is entered, the system automatically resets it to 00:00:00.
Environment
SAP S/4HANA Cloud Public Edition
Resolution
This behavior is standard in the Manage Service Contracts app.
If a specific cancellation date and time is required (including seconds-level precision), it can be maintained via APIs:
- OData API: Service Contract (A2X)
- SOAP API: Service Contract - Create, Update (Asynchronous)
Using the OData API Service Contract (A2X) as an example:
- The field SrvCntrCancellationDateTime represents the exact date and time when the service contract is cancelled.
- The value must be provided in UTC timestamp format.
Example request:
POST /ServiceContract/{ServiceContract}/SAP__self.Cancel
{
"ServiceContractCancelParty": "stri",
"ServiceContrCancellationReason": "stri",
"SrvCntrCancellationDateTime": "2017-04-13T15:51:04Z"
}
If you require the ability to maintain specific times (such as 23:59:59) directly in the Fiori app, this is currently not supported.
You may submit a feature request via the Customer Influence Portal to request this enhancement.
2963059 - How to Submit Feature Requests for SAP S/4HANA Cloud Product
See Also
Keywords
service contract, cancellation, contract end time, 23:59:59, time restriction, Manage Service Contracts, OData API, Service Contract A2X, SOAP API, cancellation datetime, UTC timestamp, SrvCntrCancellationDateTime , KBA , CRM-S4-SRV-CTR-2CL , S4CRM: Service Contract (Public Cloud) , Problem
SAP Knowledge Base Article - Public