A_BusSolnOrdPriceElement

DDL: A_BUSSOLNORDPRICEELEMENT Type: view_entity COMPOSITE Package: ODATA_CRMS4_SOLUTIONORDER

Solution Order Price Element

A_BusSolnOrdPriceElement is a Composite CDS View that provides data about "Solution Order Price Element" in SAP S/4HANA. It reads from 2 data sources (I_ServiceDocumentEnhcd, I_PricingElement) and exposes 7 fields with key fields BusinessSolutionOrder, PricingProcedureStep, PricingProcedureCounter. It has 1 association to related views. Part of development package ODATA_CRMS4_SOLUTIONORDER.

Data Sources (2)

SourceAliasJoin Type
I_ServiceDocumentEnhcd BusinessSolutionOrder inner
I_PricingElement PricingElement from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_BusinessSolutionOrder _BusinessSolutionOrder $projection.BusinessSolutionOrder = _BusinessSolutionOrder.BusinessSolutionOrder

Annotations (11)

NameValueLevelField
EndUserText.label Solution Order Price Element view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY BusinessSolutionOrder I_ServiceDocumentEnhcd ServiceDocument
KEY PricingProcedureStep I_PricingElement PricingProcedureStep
KEY PricingProcedureCounter I_PricingElement PricingProcedureCounter
ConditionType I_PricingElement ConditionType
ConditionRateValue I_PricingElement ConditionRateValue
ConditionCurrency I_PricingElement ConditionCurrency
_BusinessSolutionOrder _BusinessSolutionOrder
@EndUserText.label: 'Solution Order Price Element'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #X,
  sizeCategory: #S,
  dataClass: #MIXED
}
@AccessControl: {
  authorizationCheck: #MANDATORY,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@VDM: {
  viewType: #COMPOSITE,
  lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@ObjectModel: {
   createEnabled: true,
   updateEnabled: true,
   deleteEnabled: true
 }
define view entity A_BusSolnOrdPriceElement as select from I_PricingElement  as  PricingElement
  inner join     I_ServiceDocumentEnhcd         as  BusinessSolutionOrder on  BusinessSolutionOrder.PricingDocument   = PricingElement.PricingDocument
                                                                          and BusinessSolutionOrder.ServiceObjectType = 'BUS2000172'
  association [1..1] to A_BusinessSolutionOrder as _BusinessSolutionOrder on $projection.BusinessSolutionOrder        = _BusinessSolutionOrder.BusinessSolutionOrder
{       

  key BusinessSolutionOrder.ServiceDocument        as BusinessSolutionOrder,
  key PricingElement.PricingProcedureStep,
  key PricingElement.PricingProcedureCounter,

      PricingElement.ConditionType,
      PricingElement.ConditionRateValue,
      @ObjectModel.sapObjectNodeTypeReference: 'Currency'
      PricingElement.ConditionCurrency,
        
      _BusinessSolutionOrder

}
where PricingElement.PricingDocumentItem = '000000' //Ignore Item conditions