SAP Knowledge Base Article - Public

3229627 - Last Changed Time not available in CDS views

Symptom

Last Changed Time (of Delivery Document) is not available in any CDS Views and needed for a custom report.

Environment

S/4HANA Cloud

Cause

Currently SAP does not expose a timestamp (including date AND time) for last changed at 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 , Problem

Product

SAP S/4HANA Cloud all versions