P_DefectAffcdObjLastEWMActnChg

DDL: P_DEFECTAFFCDOBJLASTEWMACTNCHG SQL: PDEFAOEWMLSTACHG Type: view COMPOSITE

P_DefectAffcdObjLastEWMActnChg is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_QltyTaskFllwUpActionParam, P_DefectAffcdObjActnParam) and exposes 3 fields with key fields DefectInternalID, DefectAffectedObject.

Data Sources (2)

SourceAliasJoin Type
I_QltyTaskFllwUpActionParam I_QltyTaskFllwUpActionParam inner
P_DefectAffcdObjActnParam P_DefectAffcdObjActnParam from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PDEFAOEWMLSTACHG view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
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.
-- SQL view name: PDEFAOEWMLSTACHG

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 */
;