I_SupAssgmtDmndDetsCube
Supply Assignment Demand Order Item Details
I_SupAssgmtDmndDetsCube is a Composite CDS View (Cube) that provides data about "Supply Assignment Demand Order Item Details" in SAP S/4HANA. It reads from 1 data source (I_SupAssgmtDmndDets) and exposes 66 fields with key fields RequirementDocumentNumber, RequirementDocumentItem, RequirementType. It has 7 associations to related views. Part of development package ARUN_DEMAND_MONITOR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SupAssgmtDmndDets | Demand | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_DisplayCurrency | vdm_v_display_currency |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_SupAssgmtDmndSitn | _Situation | $projection.ARunDocumentItemUniqueID = _Situation.ARunDocumentItemUniqueID |
| [0..1] | I_SitnInstceIndicator | _SitnInstceIndicator | $projection.ARunDocumentItemUniqueID = _SitnInstceIndicator.SitnInstceAnchorObjectKey and _SitnInstceIndicator.SitnDefAnchorObject = 'ARunDocumentItemUniqueID' |
| [0..*] | C_BlockedSalesOrder | _BlockedSalesOrder | $projection.RequirementDocumentNumber = _BlockedSalesOrder.SalesOrder |
| [0..*] | I_SupAssgmtDetailsCube | _AssgmtDetailsCube | $projection.RequirementDocumentNumber = _AssgmtDetailsCube.RequirementDocumentNumber and $projection.RequirementDocumentItem = _AssgmtDetailsCube.RequirementDocumentItem and $projection.RequirementType = _AssgmtDetailsCube.RequirementType |
| [0..1] | I_UnitOfMeasure | _BaseUnit | $projection.BaseUnit = _BaseUnit.UnitOfMeasure |
| [0..1] | I_Currency | _DisplayCurrency | $projection.DisplayCurrency = _DisplayCurrency.Currency |
| [0..1] | I_Currency | _DocCurrency | $projection.DocumentCurrency = _DocCurrency.Currency |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AbapCatalog.sqlViewName | ISUPASSGMTDMNDC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Supply Assignment Demand Order Item Details | view |
Fields (66)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RequirementDocumentNumber | RequirementDocumentNumber | Requirement Document Number | |
| KEY | RequirementDocumentItem | RequirementDocumentItem | Requirement Document Item | |
| KEY | RequirementType | RequirementType | Requirement Type | |
| RequestedDeliveryDate | RequestedDeliveryDate | Requested Delivery Date | ||
| ARunDocumentItemUniqueID | ARunDocumentItemUniqueID | Requirement Document | ||
| RequestedRqmtQtyInBaseUnit | RequestedRqmtQtyInBaseUnit | Ordered Quantity | ||
| ConfirmedRqmtQtyInBaseUnit | ConfirmedRqmtQtyInBaseUnit | Confirmed Quantity | ||
| DeliveredQuantityInBaseUnit | DeliveredQuantityInBaseUnit | Delivered Quantity | ||
| OpenDemandQuantity | OpenDemandQuantity | Open Demand Quantity | ||
| AssignedQuantityInBaseUnit | AssignedQuantityInBaseUnit | 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 Assignment Quantity | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| SupAssgmtAggrgQtyUnit | ||||
| SupAssgmtSupAvailySts | SupAssgmtSupAvailySts | |||
| SupAssgmtSource | SupAssgmtSource | |||
| SitnNumberOfInstances | _SitnInstceIndicator | SitnNumberOfInstances | ||
| ActlAmt | ActlAmt | |||
| NetPriceAmount | NetPriceAmount | Net Price | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| DisplayCurrency | ||||
| Material | Material | Vehicle Model | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| CrossPlantConfigurableProduct | CrossPlantConfigurableProduct | Cross-plant CP | ||
| Plant | Plant | Valuation Area | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| Division | Division | Internal Division ID | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| Customer | Customer | Sold-to Party | ||
| ShippingPoint | ShippingPoint | Shipping Point | ||
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| FashionCancelDateHorizon | FashionCancelDateHorizon | |||
| SupAssgmtOrdStatus | SupAssgmtOrdStatus | |||
| CustomerGroup | CustomerGroup | Customer Group | ||
| FashionCancelDate | FashionCancelDate | |||
| RequirementSegment | RequirementSegment | Req. Segment | ||
| ProductSeasonYear | ProductSeasonYear | Season Year | ||
| ProductSeason | ProductSeason | Season | ||
| ProductCollection | ProductCollection | Collection | ||
| ProductTheme | ProductTheme | Theme | ||
| OrderType | OrderType | Order Type | ||
| OrderTypeName | OrderTypeName | |||
| StorageLocation | StorageLocation | StorageLocation | ||
| ShippingCondition | ShippingCondition | Shipping Conditions | ||
| ShippingGroupRule | ShippingGroupRule | PSST Grouping Rule | ||
| ShippingGroupNumber | ShippingGroupNumber | PSST Group | ||
| ARunSupplyAssgmtReleaseRule | ARunSupplyAssgmtReleaseRule | Release Rule | ||
| PartnerFunction | PartnerFunction | Partner Functn | ||
| SalesDocumentItemCategory | SalesDocumentItemCategory | Item Category | ||
| DeliveryGroup | DeliveryGroup | Delivery Group | ||
| ItemBillingBlockReason | ItemBillingBlockReason | Billing Block | ||
| Issue | ||||
| PurchasingDocument | PurchasingDocument | Purchasing Document | ||
| Supplier | Supplier | Supplier | ||
| _BaseUnit | _BaseUnit | |||
| _DisplayCurrency | _DisplayCurrency | |||
| _DocCurrency | _DocCurrency | |||
| _AssgmtDetailsCube | _AssgmtDetailsCube | |||
| _SitnInstceIndicator | _SitnInstceIndicator | |||
| _BlockedSalesOrder | _BlockedSalesOrder | |||
| _Situation | _Situation |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_SupAssgmtDmndDetsCube.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- Parameters: P_DisplayCurrency : vdm_v_display_currency
CREATE VIEW I_SupAssgmtDmndDetsCube AS
SELECT
RequirementDocumentNumber,
RequirementDocumentItem,
RequirementType,
RequestedDeliveryDate,
ARunDocumentItemUniqueID,
RequestedRqmtQtyInBaseUnit,
ConfirmedRqmtQtyInBaseUnit,
DeliveredQuantityInBaseUnit,
OpenDemandQuantity,
AssignedQuantityInBaseUnit,
FixedQuantityInBaseUnit,
SupAssgmtReservedQtyInBaseUnit,
ReadyForReleaseQtyInBaseUnit,
OnHoldQuantityInBaseUnit,
InboundAssignedQuantityInBsUnt,
BaseUnit,
cast(' ' as meins) AS SupAssgmtAggrgQtyUnit,
SupAssgmtSupAvailySts,
SupAssgmtSource,
_SitnInstceIndicator.SitnNumberOfInstances AS SitnNumberOfInstances,
ActlAmt,
NetPriceAmount,
DocumentCurrency,
cast(:P_DisplayCurrency as vdm_v_display_currency) AS DisplayCurrency,
Material,
MaterialGroup,
CrossPlantConfigurableProduct,
Plant,
SalesOrganization,
DistributionChannel,
Division,
SalesDistrict,
CompanyCode,
Customer,
ShippingPoint,
ShipToParty,
FashionCancelDateHorizon,
SupAssgmtOrdStatus,
CustomerGroup,
FashionCancelDate,
RequirementSegment,
ProductSeasonYear,
ProductSeason,
ProductCollection,
ProductTheme,
OrderType,
OrderTypeName,
StorageLocation,
ShippingCondition,
ShippingGroupRule,
ShippingGroupNumber,
ARunSupplyAssgmtReleaseRule,
PartnerFunction,
SalesDocumentItemCategory,
DeliveryGroup,
ItemBillingBlockReason,
cast('' as issue_sof) AS Issue,
PurchasingDocument,
Supplier
FROM I_SupAssgmtDmndDets AS Demand
LEFT OUTER JOIN C_SupAssgmtDmndSitn AS _Situation ON ARunDocumentItemUniqueID = _Situation.ARunDocumentItemUniqueID -- association [0..*]
LEFT OUTER JOIN I_SitnInstceIndicator AS _SitnInstceIndicator ON ARunDocumentItemUniqueID = _SitnInstceIndicator.SitnInstceAnchorObjectKey AND _SitnInstceIndicator.SitnDefAnchorObject = 'ARunDocumentItemUniqueID' -- association [0..1]
LEFT OUTER JOIN C_BlockedSalesOrder AS _BlockedSalesOrder ON RequirementDocumentNumber = _BlockedSalesOrder.SalesOrder -- association [0..*]
LEFT OUTER JOIN I_SupAssgmtDetailsCube AS _AssgmtDetailsCube ON RequirementDocumentNumber = _AssgmtDetailsCube.RequirementDocumentNumber AND RequirementDocumentItem = _AssgmtDetailsCube.RequirementDocumentItem AND RequirementType = _AssgmtDetailsCube.RequirementType -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_Currency AS _DisplayCurrency ON DisplayCurrency = _DisplayCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _DocCurrency ON DocumentCurrency = _DocCurrency.Currency -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA