P_CONFITEMDATES
Confirmation Item Dates for Service Order
P_CONFITEMDATES is a CDS View in S/4HANA. Confirmation Item Dates for Service Order. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_SelectConfItemDates | view_entity | from | COMPOSITE | Select min date of confirmation for order |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
define view entity P_ConfItemDates as select from I_ServiceDocumentItemEnhcd
association [1..1] to I_SrvcOrderFUPSrvcConfirmation as _SrvcOrderFUPSrvcConfirmation on $projection.ServiceDocumentUUID = _SrvcOrderFUPSrvcConfirmation.ServiceDocumentUUID
{
//I_ServiceDocumentItemEnhcd
key ServiceDocument,
key ServiceDocumentItem,
ServiceDocumentUUID,
_SrvcOrderFUPSrvcConfirmation.ServiceOrder as ServiceDocumentPredecessorID,
ActualServiceStartDateTime
//min (ActualServiceStartDateTime) as ActualServiceStartDateTime
}
where
ServiceObjectType = 'BUS2000117'
// and ServiceDocumentItemStatus != 'C' //! TODO: Replace with IsOpen and IsReleased check
and ServiceDocumentItemObjectType = 'BUS2000143'
and ServiceDocumentItemIsRejected != 'X'
// and ( ServiceDocItemCategory = 'SCP1' or ServiceDocItemCategory = 'SCP2' or ServiceDocItemCategory = 'SCP3' ) //! TODO: Replace with BUS2000143 - Service Item