C_SrvcDocItemProcessFlow

DDL: C_SRVCDOCITEMPROCESSFLOW Type: view_entity CONSUMPTION

Service Document Item Process Flow Node

C_SrvcDocItemProcessFlow is a Consumption CDS View that provides data about "Service Document Item Process Flow Node" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentItemEnhcd) and exposes 25 fields with key fields ServiceObjectType, ServiceDocument, ServiceDocumentItem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentItemEnhcd I_ServiceDocumentItemEnhcd from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_SrvcMgmtObjectStatus _SrvcMgmtObjectStatus $projection.ServiceDocumentItemUUID = _SrvcMgmtObjectStatus.SrvcMgmtObjectUUID and _SrvcMgmtObjectStatus.SrvcMgmtObjectStatusIsInactive = '' and ( _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus = 'I1002' or _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus = 'I1003' or _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus = 'I1004' or _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus = 'I1005' )

Annotations (8)

NameValueLevelField
EndUserText.label Service Document Item Process Flow Node view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey ServiceDocumentItem view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY ServiceObjectType ServiceObjectType
KEY ServiceDocument ServiceDocument
KEY ServiceDocumentItem ServiceDocumentItem
PostingDate PostingDate
ServiceDocumentUUID ServiceDocumentUUID
ServiceDocumentItemStatus ServiceDocumentItemStatus
SrvcMgmtObjectStatus _SrvcMgmtObjectStatus SrvcMgmtObjectStatus
RequestedServiceStartDate RequestedServiceStartDate
SrvcQuotationValidityStartDate _ServiceDocument SrvcQuotationValidityStartDate
ServiceDocumentItemUUID ServiceDocumentItemUUID
ServiceDocumentType ServiceDocumentType
SalesOrganization SalesOrganization
SalesOffice SalesOffice
SalesGroup SalesGroup
DistributionChannel DistributionChannel
Division Division
ResponsibleEmployee
SalesOrganizationOrgUnitID SalesOrganizationOrgUnitID
SalesOfficeOrgUnitID SalesOfficeOrgUnitID
SalesGroupOrgUnitID SalesGroupOrgUnitID
ServiceOrganization ServiceOrganization
_ServiceObjType _ServiceObjType
_ServiceDocItemStatus _ServiceDocItemStatus
_SrvcDocItmLifecycleStatus _SrvcDocItmLifecycleStatus
_ServiceDocument _ServiceDocument
@AbapCatalog.viewEnhancementCategory: [#NONE]
@EndUserText.label: 'Service Document Item Process Flow Node'
@VDM.viewType: #CONSUMPTION

@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}

@Metadata: {
  ignorePropagatedAnnotations: true
}

@ObjectModel: {
   representativeKey: 'ServiceDocumentItem',
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #C,
     sizeCategory:   #L
   }
}

define view entity C_SrvcDocItemProcessFlow
  as select from I_ServiceDocumentItemEnhcd
  association [0..1] to I_SrvcMgmtObjectStatus as _SrvcMgmtObjectStatus on  $projection.ServiceDocumentItemUUID                  = _SrvcMgmtObjectStatus.SrvcMgmtObjectUUID
                                                                        and _SrvcMgmtObjectStatus.SrvcMgmtObjectStatusIsInactive = ''
                                                                        and (
                                                                           _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus            = 'I1002'
                                                                           or _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus         = 'I1003'
                                                                           or _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus         = 'I1004'
                                                                           or _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus         = 'I1005'
                                                                         )

{
      @ObjectModel.foreignKey.association: '_ServiceObjType'
  key ServiceObjectType,
      @ObjectModel.foreignKey.association: '_ServiceDocument'
  key ServiceDocument,
  key ServiceDocumentItem,
      PostingDate,
      @Consumption.hidden: true
      ServiceDocumentUUID,
      @ObjectModel.foreignKey.association: '_SrvcDocItmLifecycleStatus'
      ServiceDocumentItemStatus,
      @Consumption.hidden: true
      _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus as SrvcMgmtObjectStatus,
      RequestedServiceStartDate,
      _ServiceDocument.SrvcQuotationValidityStartDate,
      ServiceDocumentItemUUID,

      // The following fields are required for authorization checks

      @Consumption.hidden: true
      ServiceDocumentType,
      @Consumption.hidden: true
      SalesOrganization,
      @Consumption.hidden: true
      SalesOffice,
      @Consumption.hidden: true
      SalesGroup,
      @Consumption.hidden: true
      DistributionChannel,
      @Consumption.hidden: true
      Division,
      @Consumption.hidden: true
      cast(ResponsibleEmployee as resp_empl) as ResponsibleEmployee,
      @Consumption.hidden: true
      SalesOrganizationOrgUnitID,
      @Consumption.hidden: true
      SalesOfficeOrgUnitID,
      @Consumption.hidden: true
      SalesGroupOrgUnitID,
      @Consumption.hidden: true
      ServiceOrganization,

      //Associations

      _ServiceObjType,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: '_SrvcDocItmLifecycleStatus'
      _ServiceDocItemStatus,
      _SrvcDocItmLifecycleStatus,
      _ServiceDocument

}