A_ServiceConfItemPriceElement

DDL: A_SERVICECONFITEMPRICEELEMENT Type: view COMPOSITE

Price Element of Srvc Confirmation Item

A_ServiceConfItemPriceElement is a Composite CDS View that provides data about "Price Element of Srvc Confirmation Item" in SAP S/4HANA. It reads from 2 data sources (I_PricingElement, I_ServiceDocumentEnhcd) and exposes 10 fields with key fields ServiceConfirmation, ServiceConfirmationItem, PricingProcedureStep, PricingProcedureCounter. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_PricingElement PricingElement from
I_ServiceDocumentEnhcd ServiceConfirmation inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_ServiceConfirmation _ServiceConfirmation $projection.ServiceConfirmation = _ServiceConfirmation.ServiceConfirmation

Annotations (14)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Price Element of Srvc Confirmation Item view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName ASRVCONITMPRELEM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XXL view
Metadata.ignorePropagatedAnnotations true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ServiceConfirmation I_ServiceDocumentEnhcd ServiceDocument
KEY ServiceConfirmationItem
KEY PricingProcedureStep PricingProcedureStep
KEY PricingProcedureCounter PricingProcedureCounter
ConditionType ConditionType
ConditionRateValue ConditionRateValue
ConditionCurrency ConditionCurrency
ConditionQuantity ConditionQuantity
ConditionQuantityUnit ConditionQuantityUnit
_ServiceConfirmation _ServiceConfirmation
@ClientHandling.algorithm:#SESSION_VARIABLE
@EndUserText.label: 'Price Element of Srvc Confirmation Item'
@VDM: {
  viewType: #COMPOSITE,
  lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@AbapCatalog: {
  sqlViewName: 'ASRVCONITMPRELEM',
  compiler.compareFilter: true,
  preserveKey: true
}
@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
   createEnabled: true,
   updateEnabled: true,
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #B,
     sizeCategory:   #XXL
   }
}
@Metadata.ignorePropagatedAnnotations: true

define view A_ServiceConfItemPriceElement
  as select from I_PricingElement       as PricingElement
    inner join   I_ServiceDocumentEnhcd as ServiceConfirmation on  ServiceConfirmation.PricingDocument   = PricingElement.PricingDocument
                                                               and ServiceConfirmation.ServiceObjectType = 'BUS2000117'

  association [1..1] to A_ServiceConfirmation as _ServiceConfirmation on $projection.ServiceConfirmation = _ServiceConfirmation.ServiceConfirmation

{
      @ObjectModel.readOnly: true
  key ServiceConfirmation.ServiceDocument                                      as ServiceConfirmation,
  key cast(PricingDocumentItem as crms4_number_int preserving type)            as ServiceConfirmationItem,

  key PricingProcedureStep,
  key PricingProcedureCounter,

      ConditionType,

      //@ObjectModel.readOnly: true

      //PricingDateTime,


      //@ObjectModel.readOnly: true

      //ConditionCalculationType,


      //@ObjectModel.readOnly: true

      //ConditionBaseValue,


      ConditionRateValue,

      ConditionCurrency,

      //PriceDetnExchangeRate,


      @Semantics.quantity.unitOfMeasure: 'ConditionQuantityUnit'
      ConditionQuantity,

      @Semantics.unitOfMeasure: true
      ConditionQuantityUnit,

      //Expose associations

      _ServiceConfirmation
}
where
  PricingDocumentItem != '000000' //Ignore Header conditions