A_SalesOrderPricingSimulation
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. Part of development package ODATA_SD_SALESORDER_API.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesOrder | SalesOrder | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | A_SalesOrderSimulation | _SalesOrder | _SalesOrder.SalesOrder = $projection.SalesOrder |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA