Symptom
After creating a sales order using the API Sales Order A2A, when retrieving the sales order, the field ExternalDocLastChangeDateTime behaves unexpectedly.
The field records the timestamp when the sales order has been changed, however, after a subsequent document has been created (e.g. outbound delivery) the field is not updated by this event, even though it changes other fields within the document(e.g. OverallSDProcessStatus).
Environment
SAP S/4HANA Cloud Public Edition
Cause
The creation of the outbound delivery doesn't represent an actual change in the sales document. The status change is posted by the delivery and does not generate a change log entry, resulting in ExternalDocLastChangeDateTime not being updated.
Resolution
The ExternalDocLastChangeDateTime only records changes manually performed in the sales document, either via API or UI. The system is behaving as expected.
See Also
Keywords
ExternalDocLastChangeDateTime, API, sales order, A2A, SOAP, outbound delivery, OverallSDProcessStatus, change log, timestamp, sales document, manual changes, API changes, UI changes, unexpected behavior, field update, delivery creation, revision indicator , KBA , SD-SLS-API-2CL , API (Public Cloud) , Problem
SAP Knowledge Base Article - Public