C_DspDocFlwServiceOrder
Service Order Attributes
C_DspDocFlwServiceOrder is a Consumption CDS View that provides data about "Service Order Attributes" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocument) and exposes 10 fields with key field ServiceOrder. Part of development package ODATA_GL_DSP_DOC_FLW.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocument | I_ServiceDocument | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.auditFilter | #ENABLED | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Service Order Attributes | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceOrder | I_ServiceDocument | ServiceDocument | |
| SalesOrganization | I_ServiceDocument | SalesOrganization | ||
| SoldToParty | I_ServiceDocument | SoldToParty | ||
| ServiceDocNetAmount | ||||
| TransactionCurrency | I_ServiceDocument | TransactionCurrency | ||
| ServiceDocumentCreationDate | ||||
| _ServiceDocument | _ServiceDocument | |||
| _SalesOrganization | _SalesOrganization | |||
| _SoldToParty | _SoldToParty | |||
| _SoldToPartyToCustomer | _SoldToPartyToCustomer |
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.auditFilter: #ENABLED
@ObjectModel.usageType:{
serviceQuality: #B,
sizeCategory: #L,
dataClass: #MIXED }
@VDM.viewType: #CONSUMPTION
@EndUserText.label: 'Service Order Attributes'
@Metadata.ignorePropagatedAnnotations: true
define view entity C_DspDocFlwServiceOrder
as select from I_ServiceDocument
association[1..1] to I_ServiceDocument as _ServiceDocument
on $projection.ServiceOrder = _ServiceDocument.ServiceDocument
{
key I_ServiceDocument.ServiceDocument as ServiceOrder,
I_ServiceDocument.SalesOrganization,
I_ServiceDocument.SoldToParty,
@Semantics.amount.currencyCode: 'TransactionCurrency'
cast( I_ServiceDocument.ServiceDocNetAmount as fac_ddf_amount ) as ServiceDocNetAmount,
I_ServiceDocument.TransactionCurrency,
tstmp_to_dats(I_ServiceDocument.ServiceDocCreationDateTime , $session.user_timezone, $session.client, 'NULL')
as ServiceDocumentCreationDate,
cast( I_ServiceDocument._ServiceDocumentType._ServiceDocumentTypeText[1:Language = $session.system_language].
ServiceDocumentTypeName as fac_network_graph_description ) as UI5NetworkGraphDescription,
_ServiceDocument,
_SalesOrganization,
_SoldToParty,
_SoldToPartyToCustomer
}
where
ServiceObjectType = 'BUS2000116'
and ServiceDocumentIsQuotation = ''
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