C_BSQPMServiceOrder

DDL: C_BSQPMSERVICEORDER Type: view_entity CONSUMPTION

BSQPM Service Order Attribute

C_BSQPMServiceOrder is a Consumption CDS View that provides data about "BSQPM Service Order Attribute" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentEnhcd) and exposes 7 fields with key field ServiceDocument. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentEnhcd ServiceOrder from

Associations (1)

CardinalityTargetAliasCondition
[0..1] E_ServiceDocument _Extension _Extension.ServiceOrder = ServiceOrder.ServiceDocument

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label BSQPM Service Order Attribute view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocument ServiceDocument
RequestedServiceStartDate RequestedServiceStartDate
RequestedServiceEndDate RequestedServiceEndDate
NetAmount I_ServiceDocumentEnhcd ServiceDocNetAmount
TransactionCurrency TransactionCurrency
ServiceDocumentStatus ServiceDocumentStatus
ServiceDocumentStatusName
@AbapCatalog.viewEnhancementCategory: [#PROJECTION_LIST]
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@EndUserText.label: 'BSQPM Service Order Attribute'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #C,
  sizeCategory: #XXL,
  dataClass: #MIXED
}
@VDM.viewType: #CONSUMPTION

define view entity C_BSQPMServiceOrder
  as select from I_ServiceDocumentEnhcd as ServiceOrder
  association [0..1] to E_ServiceDocument as _Extension on _Extension.ServiceOrder = ServiceOrder.ServiceDocument
{
      @UI.hidden: true
  key ServiceDocument,
      RequestedServiceStartDate,
      RequestedServiceEndDate,
      @Semantics: { amount : {currencyCode: 'TransactionCurrency'} }
      ServiceOrder.ServiceDocNetAmount as NetAmount,
      @UI.hidden: true
      TransactionCurrency,
      @ObjectModel.text.element: [ 'ServiceDocumentStatusName' ]
      ServiceDocumentStatus,
      @UI.hidden: true
      @Semantics.text: true
      _ServiceDocumentStatus._ServiceDocumentStatusText[1: Language = $session.system_language].ServiceDocumentStatusName
}
where
  ServiceDocumentType = 'SRVO'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SERVICEDOCUMENTENHCD",
"I_SERVICEDOCUMENTSTATUS",
"I_SERVICEDOCUMENTSTATUSTEXT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/