Symptom
Last Changed Time (of Delivery Document) is not available in any CDS Views and needed for a custom report.
Environment
SAP S/4HANA Cloud
Cause
Currently SAP does not expose a timestamp (including date AND time) for last changed time in the CDS Views for delivery processing.
Resolution
A custom field could be introduced, and update the field when saving the delivery using the Cloud Badi LE_SHP_SAVE_DOCUMENT_PREPARE.
This would be the ABAP statement for the Custom Logic:
GET TIME STAMP FIELD DATA(timestamp).
delivery_document_items_out-yy1_lastchanged_dlh = timestamp.
Keywords
CDS, BADI, field, last changed, time, changed at, delivery, delivery processing , KBA , LE-SHP-EXT , Delivery Documents Extensibility , LE-SHP-EXT-2CL , Delivery Documents Extensibility (Public Cloud) , Problem