A_SalesOrderPricingSimulation

DDL: A_SALESORDERPRICINGSIMULATION Type: view COMPOSITE

Sales Order Pricing Simulation (API)

A_SalesOrderPricingSimulation is a Composite CDS View that provides data about "Sales Order Pricing Simulation (API)" in SAP S/4HANA. It reads from 1 data source (I_SalesOrder) and exposes 8 fields with key field SalesOrder. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SalesOrder SalesOrder from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_SalesOrderSimulation _SalesOrder _SalesOrder.SalesOrder = $projection.SalesOrder

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Sales Order Pricing Simulation (API) view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName ASOPRCGSIMLN view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY SalesOrder SalesOrder
TotalNetAmount TotalNetAmount
TransactionCurrency TransactionCurrency
SalesOrderType SalesOrderType
OrganizationDivision OrganizationDivision
SalesOrganization SalesOrganization
DistributionChannel DistributionChannel
_SalesOrder _SalesOrder
@ClientHandling.algorithm:#SESSION_VARIABLE
@EndUserText.label: 'Sales Order Pricing Simulation (API)'
@VDM: {
  viewType: #COMPOSITE,
  lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@AbapCatalog: {
  sqlViewName: 'ASOPRCGSIMLN',
  compiler.compareFilter: true
}
@AccessControl: { 
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #B,
     sizeCategory:   #L
   }
}
@Metadata.ignorePropagatedAnnotations: true

define view A_SalesOrderPricingSimulation
  as select from I_SalesOrder as SalesOrder
  
  association [1..1] to A_SalesOrderSimulation as _SalesOrder        on _SalesOrder.SalesOrder = $projection.SalesOrder
  
{
      @ObjectModel.readOnly: true
  key SalesOrder,
        
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      TotalNetAmount,

      @ObjectModel.readOnly: true
      @Semantics.currencyCode: true
      TransactionCurrency,

       // For Access control

       @Consumption.hidden: true
       SalesOrderType,
       @Consumption.hidden: true
       OrganizationDivision,
       @Consumption.hidden: true
       SalesOrganization,
       @Consumption.hidden: true
       DistributionChannel,

      // Expose own associations

      _SalesOrder
}
where
  SalesOrder.SalesOrder = '0'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SALESORDER"
],
"ASSOCIATED":
[
"A_SALESORDERSIMULATION"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/