P_DEFECTAFFCDOBJLASTACTNCHG
Last Changed Quality Task per Affcd.Obj.
P_DEFECTAFFCDOBJLASTACTNCHG is a CDS View in S/4HANA. Last Changed Quality Task per Affcd.Obj.. It contains 2 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_DefectAffectedObjLastTask | view | from | COMPOSITE | Data of Latest Follow-up Action for Affected Object |
Fields (2)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | DefectAffectedObject | DefectAffectedObject | 1 |
| KEY | DefectInternalID | DefectInternalID | 1 |
@VDM: {
viewType: #COMPOSITE,
private: true
}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
sizeCategory: #M,
serviceQuality: #A },
representativeKey: 'DefectAffectedObject'
}
//@Analytics.technicalName: 'PDEFAOLASTACTCHG'
define view entity P_DefectAffcdObjLastActnChg
as select from P_DefectAffcdObjActnParam
{
key P_DefectAffcdObjActnParam.DefectInternalID,
key P_DefectAffcdObjActnParam.DefectAffectedObject,
max(P_DefectAffcdObjActnParam.ChangedDateTime) as LastChangedDateTime
}
where P_DefectAffcdObjActnParam.QltyTaskFllwUpActionSts = '10'
or P_DefectAffcdObjActnParam.QltyTaskFllwUpActionSts = '20'
or P_DefectAffcdObjActnParam.QltyTaskFllwUpActionSts = '21'
group by
P_DefectAffcdObjActnParam.DefectInternalID,
P_DefectAffcdObjActnParam.DefectAffectedObject