C_DspDocFlwServiceOrderItem
Service Order Item Attributes
C_DspDocFlwServiceOrderItem is a Consumption CDS View that provides data about "Service Order Item Attributes" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentItem) and exposes 12 fields with key fields ServiceOrder, ServiceDocumentItem. Part of development package ODATA_GL_DSP_DOC_FLW.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentItem | ServiceOrderItem | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Service Order Item Attributes | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceOrder | I_ServiceDocumentItem | ServiceDocument | |
| KEY | ServiceDocumentItem | I_ServiceDocumentItem | ServiceDocumentItem | |
| SalesOrganization | I_ServiceDocumentItem | SalesOrganization | ||
| SoldToParty | I_ServiceDocumentItem | SoldToParty | ||
| ServiceContractStartDate | ||||
| ServiceContractEndDate | ||||
| ServiceDocItemGrossAmount | I_ServiceDocumentItem | ServiceDocItemGrossAmount | ||
| TransactionCurrency | I_ServiceDocumentItem | TransactionCurrency | ||
| ServiceDocumentCreationDate | ||||
| _ServiceOrderItem | _ServiceOrderItem | |||
| _SalesOrganization | _SalesOrganization | |||
| _SoldToParty | _SoldToParty |
@AccessControl.authorizationCheck: #MANDATORY
@ObjectModel.usageType:{
serviceQuality: #B,
sizeCategory: #XXL,
dataClass: #MIXED }
@VDM.viewType: #CONSUMPTION
@EndUserText.label: 'Service Order Item Attributes'
define view entity C_DspDocFlwServiceOrderItem
as select from I_ServiceDocumentItem as ServiceOrderItem
association[1..1] to I_ServiceDocumentItem as _ServiceOrderItem
on _ServiceOrderItem.ServiceDocument = $projection.ServiceOrder
and _ServiceOrderItem.ServiceDocumentItem = $projection.ServiceDocumentItem
and _ServiceOrderItem.ServiceObjectType = 'BUS2000116'
{
key ServiceOrderItem.ServiceDocument as ServiceOrder,
key ServiceOrderItem.ServiceDocumentItem,
ServiceOrderItem.SalesOrganization,
ServiceOrderItem.SoldToParty,
tstmp_to_dats(ServiceOrderItem.SrvcDocItmValdtyStartDateTime, $session.user_timezone, $session.client, 'NULL')
as ServiceContractStartDate,
tstmp_to_dats(ServiceOrderItem.SrvcDocItmValdtyEndDateTime, $session.user_timezone, $session.client, 'NULL')
as ServiceContractEndDate,
ServiceOrderItem.ServiceDocItemGrossAmount,
ServiceOrderItem.TransactionCurrency,
tstmp_to_dats(ServiceOrderItem.ServiceDocItemCreationDateTime , $session.user_timezone, $session.client, 'NULL')
as ServiceDocumentCreationDate,
cast( ServiceOrderItem._ServiceDocumentType._ServiceDocumentTypeText[1:Language = $session.system_language].
ServiceDocumentTypeName as fac_network_graph_description ) as UI5NetworkGraphDescription,
_ServiceOrderItem,
_SalesOrganization,
_SoldToParty
}
where
ServiceObjectType = 'BUS2000116'
and ServiceDocumentTemplateType = ''
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