C_SrvcDocItemProcessFlow
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)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentItemEnhcd | I_ServiceDocumentItemEnhcd | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA