I_ARunOvwTotDmndCube
Supply Assignment Run Demand Cube View
I_ARunOvwTotDmndCube is a Composite CDS View (Cube) that provides data about "Supply Assignment Run Demand Cube View" in SAP S/4HANA. It reads from 4 data sources (I_ARunTimeUnitText, I_CalendarDate, I_CalendarMonthName, I_ARunOvwTotDmnd) and exposes 72 fields with key fields ATPCheckUUID, RequirementDocumentNumber, RequirementDocumentItem, RequestedDate, ProductAvailabilityDate. It has 2 associations to related views.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_ARunTimeUnitText | ARunTimeUnitText | left_outer |
| I_CalendarDate | CalDate | left_outer |
| I_CalendarMonthName | CalMonth | left_outer |
| I_ARunOvwTotDmnd | Demand | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Currency | _DocCurrency | $projection.DocumentCurrency = _DocCurrency.Currency |
| [1..1] | I_Material | _Material | $projection.Material = _Material.Material |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IARUNTOTDMNDCUBE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #CUBE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Supply Assignment Run Demand Cube View | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| AccessControl.personalData.blocking | #REQUIRED | view |
Fields (72)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ATPCheckUUID | ATPCheckUUID | BOP Run ID | |
| KEY | RequirementDocumentNumber | RequirementDocumentNumber | Requirement Document Number | |
| KEY | RequirementDocumentItem | RequirementDocumentItem | Requirement Document Item | |
| KEY | RequestedDate | RequestedDate | Requested Date | |
| KEY | ProductAvailabilityDate | ProductAvailabilityDate | ||
| KEY | RequirementType | I_ARunOvwTotDmnd | RequirementType | Requirement Type |
| DeliveredQuantityInBaseUnit | DeliveredQuantityInBaseUnit | Delivered Quantity | ||
| RequestedRqmtQtyInBaseUnit | RequestedRqmtQtyInBaseUnit | Order Quantity | ||
| ConfirmedRqmtQtyInBaseUnit | ConfirmedRqmtQtyInBaseUnit | Confirmed Quantity | ||
| SupAssgmtAggrgQtyUnit | ||||
| ARunTotSupProtQty | ARunTotSupProtQty | Tot. SUP Restriction Qty. | ||
| ARunActualSupProtQty | ARunActualSupProtQty | Act. SUP Restriction Qty. | ||
| ABOPVariantUUID | ABOPVariantUUID | BOP Variant UUID | ||
| ABOPVariantName | ABOPVariantName | BOP Variant Name | ||
| StartedByUser | StartedByUser | |||
| ATPCheckStartUTCDateTime | ATPCheckStartUTCDateTime | |||
| ATPCheckEndUTCDateTime | ATPCheckEndUTCDateTime | |||
| ATPCheckStatus | ATPCheckStatus | |||
| ABOPExecutionMode | ABOPExecutionMode | |||
| ATPRlvtDocItmIsSupAssgmtRlvt | ATPRlvtDocItmIsSupAssgmtRlvt | |||
| ABOPAssignmentPreviewIsActive | ABOPAssignmentPreviewIsActive | |||
| Material | Material | |||
| Plant | Plant | |||
| RequirementSegment | RequirementSegment | |||
| BaseUnit | BaseUnit | |||
| SalesOrganization | SalesOrganization | |||
| DistributionChannel | DistributionChannel | |||
| Division | Division | |||
| SalesDistrict | SalesDistrict | |||
| CustomerGroup | CustomerGroup | |||
| CompanyCode | CompanyCode | Company Code | ||
| MaterialGroup | MaterialGroup | |||
| OrderType | OrderType | |||
| OrderTypeName | OrderTypeName | |||
| SoldToParty | SoldToParty | |||
| ShipToParty | ShipToParty | |||
| CrossPlantConfigurableProduct | CrossPlantConfigurableProduct | |||
| DeliveryGroup | DeliveryGroup | |||
| ProductSeasonYear | ProductSeasonYear | |||
| ProductSeason | ProductSeason | |||
| ProductCollection | ProductCollection | |||
| ProductTheme | ProductTheme | |||
| NetPriceAmount | NetPriceAmount | |||
| NetPriceQuantity | NetPriceQuantity | |||
| NetAmount | NetAmount | |||
| ActlAmt | ||||
| DocumentCurrency | DocumentCurrency | |||
| CalendarYear | I_CalendarDate | CalendarYear | Year | |
| CalendarMonth | I_CalendarDate | CalendarMonth | ||
| CalendarMonthName | I_CalendarMonthName | CalendarMonthName | Month | |
| CalendarWeek | Week | |||
| CalendarDay | I_CalendarDate | CalendarDay | Day | |
| AssignedQuantityInBaseUnit | AssignedQuantityInBaseUnit | Total Assigned Quantity | ||
| NormalAssignedQuantityInBsUnt | NormalAssignedQuantityInBsUnt | Actual Assigned Quantity | ||
| FixedQuantityInBaseUnit | FixedQuantityInBaseUnit | Ready for Delivery Quantity | ||
| SupAssgmtReservedQtyInBaseUnit | SupAssgmtReservedQtyInBaseUnit | Reserved Quantity | ||
| ReadyForReleaseQtyInBaseUnit | ReadyForReleaseQtyInBaseUnit | Open for Release Check Quantity | ||
| OnHoldQuantityInBaseUnit | OnHoldQuantityInBaseUnit | On Hold Quantity | ||
| InboundAssignedQuantityInBsUnt | InboundAssignedQuantityInBsUnt | IFO Assigned Quantity | ||
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | |||
| DeliveryBlockReason | DeliveryBlockReason | |||
| ProductCharacteristic1 | ProductCharacteristic1 | |||
| ProductCharacteristic2 | ProductCharacteristic2 | |||
| ProductCharacteristic3 | ProductCharacteristic3 | |||
| OrganizationDivision | OrganizationDivision | |||
| SalesOffice | SalesOffice | |||
| FashionCancelDate | FashionCancelDate | |||
| ProdCharc1InternalNumber | _Material | ProdCharc1InternalNumber | ||
| ProdCharc2InternalNumber | _Material | ProdCharc2InternalNumber | ||
| ProdCharc3InternalNumber | _Material | ProdCharc3InternalNumber | ||
| _DocCurrency | _DocCurrency | |||
| _Material | _Material |
@AbapCatalog.sqlViewName: 'IARUNTOTDMNDCUBE'
@AbapCatalog.compiler.compareFilter: true
@VDM.viewType: #COMPOSITE
@Analytics.dataCategory: #CUBE
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Supply Assignment Run Demand Cube View'
@AccessControl.authorizationCheck: #CHECK
@Metadata.ignorePropagatedAnnotations:true
@Metadata.allowExtensions:true
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XXL
@AccessControl.personalData.blocking: #REQUIRED
define view I_ARunOvwTotDmndCube
as select from I_ARunOvwTotDmnd as Demand
left outer join I_CalendarDate as CalDate on Demand.ProductAvailabilityDate = CalDate.CalendarDate
left outer join I_CalendarMonthName as CalMonth on CalDate.CalendarMonth = CalMonth.CalendarMonth
left outer join I_ARunTimeUnitText as ARunTimeUnitText on ARunTimeUnitText.ARunDisplayTimeUnit = '02'
and ARunTimeUnitText.Language = $session.system_language
association [0..1] to I_Currency as _DocCurrency on $projection.DocumentCurrency = _DocCurrency.Currency
association [1..1] to I_Material as _Material on $projection.Material = _Material.Material
{
@EndUserText.label: 'BOP Run ID'
key ATPCheckUUID,
@EndUserText.label: 'Requirement Document Number'
key RequirementDocumentNumber,
@EndUserText.label: 'Requirement Document Item'
key RequirementDocumentItem,
@EndUserText.label: 'Requested Date'
key RequestedDate,
key ProductAvailabilityDate,
@EndUserText.label: 'Requirement Type'
key Demand.RequirementType,
@EndUserText.label: 'Delivered Quantity'
@Semantics.quantity.unitOfMeasure: 'SupAssgmtAggrgQtyUnit'
@DefaultAggregation: #SUM
DeliveredQuantityInBaseUnit,
@EndUserText.label: 'Order Quantity'
@Semantics.quantity.unitOfMeasure: 'SupAssgmtAggrgQtyUnit'
@DefaultAggregation: #SUM
RequestedRqmtQtyInBaseUnit,
@EndUserText.label: 'Confirmed Quantity'
@Semantics.quantity.unitOfMeasure: 'SupAssgmtAggrgQtyUnit'
@DefaultAggregation: #SUM
ConfirmedRqmtQtyInBaseUnit,
@EndUserText.label: 'Open Demand Quantity'
@Semantics.quantity.unitOfMeasure: 'SupAssgmtAggrgQtyUnit'
@DefaultAggregation: #SUM
case
when RequirementType = 'VE' or RequirementType = 'VS'
then 0
else OpenDemandQuantity - AssignedQuantityInBaseUnit
end as OpenDemandQuantity,
//Dummy UoM for ATC issues, Need single UOM for Chart Aggregation
@Semantics.unitOfMeasure: true
cast(' ' as meins) as SupAssgmtAggrgQtyUnit,
@EndUserText.label: 'Tot. SUP Restriction Qty.'
@DefaultAggregation: #SUM
@Semantics.quantity.unitOfMeasure: 'SupAssgmtAggrgQtyUnit'
ARunTotSupProtQty,
@EndUserText.label: 'Act. SUP Restriction Qty.'
@DefaultAggregation: #SUM
@Semantics.quantity.unitOfMeasure: 'SupAssgmtAggrgQtyUnit'
ARunActualSupProtQty,
@EndUserText.label: 'BOP Variant UUID'
ABOPVariantUUID,
@EndUserText.label: 'BOP Variant Name'
ABOPVariantName,
StartedByUser,
ATPCheckStartUTCDateTime,
ATPCheckEndUTCDateTime,
ATPCheckStatus,
ABOPExecutionMode,
ATPRlvtDocItmIsSupAssgmtRlvt,
ABOPAssignmentPreviewIsActive,
Material,
Plant,
RequirementSegment,
BaseUnit,
SalesOrganization,
DistributionChannel,
Division,
SalesDistrict,
CustomerGroup,
@EndUserText.label: 'Company Code'
CompanyCode,
MaterialGroup,
OrderType,
OrderTypeName,
SoldToParty,
ShipToParty,
CrossPlantConfigurableProduct,
DeliveryGroup,
ProductSeasonYear,
ProductSeason,
ProductCollection,
ProductTheme,
@DefaultAggregation: #SUM
@Semantics.amount.currencyCode: 'DocumentCurrency'
NetPriceAmount,
@DefaultAggregation: #SUM
@Semantics.quantity.unitOfMeasure: 'SupAssgmtAggrgQtyUnit'
NetPriceQuantity,
@DefaultAggregation: #SUM
@Semantics.amount.currencyCode: 'DocumentCurrency'
NetAmount,
@DefaultAggregation: #SUM
@Semantics.amount.currencyCode: 'DocumentCurrency'
cast ( NetPriceAmount * AssignedQuantityInBaseUnit as netwr ) as ActlAmt,
@Semantics.currencyCode: true
@ObjectModel.foreignKey.association: '_DocCurrency'
DocumentCurrency,
@EndUserText.label: 'Year'
@Semantics.calendar.year: true
CalDate.CalendarYear,
@Semantics.calendar.month: true
CalDate.CalendarMonth,
@EndUserText.label: 'Month'
CalMonth.CalendarMonthName,
@EndUserText.label: 'Week'
@Semantics.calendar.week: true
concat_with_space( ARunDisplayTimeUnitText, CalDate.CalendarWeek, 1) as CalendarWeek,
@EndUserText.label: 'Day'
@Semantics.calendar.dayOfMonth: true
CalDate.CalendarDay,
@EndUserText.label: 'Total Assigned Quantity'
@Semantics.quantity.unitOfMeasure: 'SupAssgmtAggrgQtyUnit'
@DefaultAggregation: #SUM
AssignedQuantityInBaseUnit,
@EndUserText.label: 'Actual Assigned Quantity'
@Semantics.quantity.unitOfMeasure: 'SupAssgmtAggrgQtyUnit'
@DefaultAggregation: #SUM
NormalAssignedQuantityInBsUnt,
@EndUserText.label: 'Ready for Delivery Quantity'
@Semantics.quantity.unitOfMeasure: 'SupAssgmtAggrgQtyUnit'
@DefaultAggregation: #SUM
FixedQuantityInBaseUnit,
@EndUserText.label: 'Reserved Quantity'
@Semantics.quantity.unitOfMeasure: 'SupAssgmtAggrgQtyUnit'
@DefaultAggregation: #SUM
SupAssgmtReservedQtyInBaseUnit,
@EndUserText.label: 'Open for Release Check Quantity'
@Semantics.quantity.unitOfMeasure: 'SupAssgmtAggrgQtyUnit'
@DefaultAggregation: #SUM
ReadyForReleaseQtyInBaseUnit,
@EndUserText.label: 'On Hold Quantity'
@Semantics.quantity.unitOfMeasure: 'SupAssgmtAggrgQtyUnit'
@DefaultAggregation: #SUM
OnHoldQuantityInBaseUnit,
@EndUserText.label: 'IFO Assigned Quantity'
@Semantics.quantity.unitOfMeasure: 'SupAssgmtAggrgQtyUnit'
@DefaultAggregation: #SUM
InboundAssignedQuantityInBsUnt,
PurchaseOrderByCustomer,
DeliveryBlockReason,
ProductCharacteristic1,
ProductCharacteristic2,
ProductCharacteristic3,
OrganizationDivision,
SalesOffice,
FashionCancelDate,
_Material.ProdCharc1InternalNumber,
_Material.ProdCharc2InternalNumber,
_Material.ProdCharc3InternalNumber,
_DocCurrency,
_Material
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ARUNOVWTOTDMND",
"I_ARUNTIMEUNITTEXT",
"I_CALENDARDATE",
"I_CALENDARMONTHNAME",
"I_MATERIAL"
],
"ASSOCIATED":
[
"I_CURRENCY",
"I_MATERIAL"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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