Data record to be deleted is outside the validity range

Message type: E = Error

Message class: /SEHS/PH_CM_BAPI - EHS: BAPI Phrases

Message number: 013

Message text: Data record to be deleted is outside the validity range



What causes this issue?

You attempted to delete a data record whose validity range (valid from
- valid to) lies outside the validity range of the header record to be
deleted.

Error message extract from SAP system. Copyright SAP SE.