C_DspDocFlwServiceOrder

DDL: C_DSPDOCFLWSERVICEORDER Type: view_entity CONSUMPTION Package: ODATA_GL_DSP_DOC_FLW

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)

SourceAliasJoin Type
I_ServiceDocument I_ServiceDocument from

Annotations (8)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 = ''