P_ServiceDocumentFixedPrice

DDL: P_SERVICEDOCUMENTFIXEDPRICE Type: view BASIC

P_ServiceDocumentFixedPrice is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (I_PricingElement) and exposes 9 fields with key field PricingDocument.

Data Sources (1)

SourceAliasJoin Type
I_PricingElement I_PricingElement from

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ISERVDOCFIXPRICE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY PricingDocument PricingDocument
PricingDocumentItem PricingDocumentItem
PricingProcedureStep PricingProcedureStep
PricingProcedureCounter PricingProcedureCounter
ConditionType ConditionType
ConditionCalculationType ConditionCalculationType
ConditionInactiveReason ConditionInactiveReason
ConditionAmount ConditionAmount
ConditionCurrency ConditionCurrency
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM: {
  viewType: #BASIC,
  private:true
}
@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@AbapCatalog: {
  sqlViewName: 'ISERVDOCFIXPRICE',
  compiler.compareFilter: true,
  preserveKey: true
}
@ObjectModel: {
//   representativeKey: 'PricingDocument',

   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #B,
     sizeCategory:   #XL
   }
}
define view P_ServiceDocumentFixedPrice
  as select from I_PricingElement
{
   key   PricingDocument,
         PricingDocumentItem,
         PricingProcedureStep,
         PricingProcedureCounter,

         ConditionType,
         ConditionCalculationType,
         ConditionInactiveReason,
         @DefaultAggregation:#NONE
         @Semantics.amount.currencyCode: 'ConditionCurrency'
         ConditionAmount,
         @Semantics.currencyCode: true
         ConditionCurrency

}
where
  (
       ConditionType            = 'PMV1'
    or ConditionType            = 'PMV0'
  )
  and  ConditionCalculationType = 'B'
  and  ConditionInactiveReason  = ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PRICINGELEMENT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/