SAP Knowledge Base Article - Public

3314497 - System Allows to Release the Contract when Contract End Date is One Day Earlier Than Contract Start Date

Symptom

You find that system allows to release the contract when the contract end date is one day earlier than the contract start date.

You expect the system to prevent this customer contract from being released and show error 'End date and time must be after start date and time'.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to the Sales Orders wrok ceter.
  2. Click New Contract from Commen Tasks view.
  3. In the new contract, maintain the account and necessary data, then enter Contract Start Date as for example 2023.03.20 and Contract End Date as 2023.03.19. 
  4. Click Release. System successfully releases the contract. 

However, you expect that the contract should not be released as the contract end date is earlier than the contract start date.

Cause

When saving a new contract, system stores the beginning of the input Contract Start Date, which is 2023.03.20T00:00:00Z. When this time reaches, the contract starts.

While for contract end date field, system stores the end of the input date, which is also 2023-03-20T00:00:00Z. When this time reaches, this contract becomes expired.

Since the dates are the same, so error "End date and time must be after start date and time" is not triggerred.

Resolution

This is currently the designed system behavior.

Keywords

Customer Contract; Contract Start Date; Contract End Date; End date and time must be after start date and time. , KBA , AP-SLO-SO , Sales Order , SRD-CRM-ORD , Orders & Contracts , Problem

Product

SAP Business ByDesign all versions