P_DefectAffcdObjLastEWMActnChg

DDL: P_DEFECTAFFCDOBJLASTEWMACTNCHG Type: view_entity COMPOSITE Package: VDM_QM_NOTIFICATION

Last Changed EWM related Quality Task per Affcd.Obj.

P_DefectAffcdObjLastEWMActnChg is a Composite CDS View that provides data about "Last Changed EWM related Quality Task per Affcd.Obj." in SAP S/4HANA. It reads from 2 data sources (I_QltyTaskFllwUpActionParam, P_DefectAffcdObjActnParam) and exposes 3 fields with key fields DefectInternalID, DefectAffectedObject. Part of development package VDM_QM_NOTIFICATION.

Data Sources (2)

SourceAliasJoin Type
I_QltyTaskFllwUpActionParam I_QltyTaskFllwUpActionParam inner
P_DefectAffcdObjActnParam P_DefectAffcdObjActnParam from

Annotations (8)

NameValueLevelField
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.representativeKey DefectAffectedObject view
Metadata.ignorePropagatedAnnotations true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY DefectInternalID P_DefectAffcdObjActnParam DefectInternalID Internal Defect ID
KEY DefectAffectedObject P_DefectAffcdObjActnParam DefectAffectedObject Affected Object Counter (#)
LastChangedDateTime

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view P_DefectAffcdObjLastEWMActnChg.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW P_DefectAffcdObjLastEWMActnChg AS
SELECT
  P_DefectAffcdObjActnParam.DefectInternalID AS DefectInternalID,
  P_DefectAffcdObjActnParam.DefectAffectedObject AS DefectAffectedObject,
  max(P_DefectAffcdObjActnParam.ChangedDateTime) AS LastChangedDateTime
FROM P_DefectAffcdObjActnParam
INNER JOIN I_QltyTaskFllwUpActionParam ON /* join condition not captured in parsed metadata */
;