C_ARunDmndMntrToBeAssgd
Supply Assignment Demand Assigned
C_ARunDmndMntrToBeAssgd is a Consumption CDS View that provides data about "Supply Assignment Demand Assigned" in SAP S/4HANA. It reads from 1 data source (I_SupAssgmtDmndDets) and exposes 51 fields with key fields RequirementDocumentNumber, RequirementDocumentItem, RequirementType. It has 3 associations to related views. Part of development package ARUN_DEMAND_MONITOR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SupAssgmtDmndDets | I_SupAssgmtDmndDets | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_SupAssgmtDmndMntr | _DmndMntr | $projection.RequirementDocumentNumber = _DmndMntr.RequirementDocumentNumber and $projection.RequirementDocumentItem = _DmndMntr.RequirementDocumentItem and $projection.RequirementType = _DmndMntr.RequirementType |
| [0..1] | I_SupDmndRqmtTypeText | _RqmtText | $projection.RequirementType = _RqmtText.RequirementType and _RqmtText.Language = $session.system_language |
| [1..1] | I_SupAssgmtDmndDets | _Demand | $projection.RequirementDocumentNumber = _Demand.RequirementDocumentNumber and $projection.RequirementDocumentItem = _Demand.RequirementDocumentItem and $projection.RequirementType = _Demand.RequirementType |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSADMNDMTBA | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view | |
| Metadata.allowExtensions | true | view | |
| EndUserText.label | Supply Assignment Demand Assigned | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.createEnabled | true | view |
Fields (51)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RequirementDocumentNumber | RequirementDocumentNumber | ||
| KEY | RequirementDocumentItem | RequirementDocumentItem | ||
| KEY | RequirementType | RequirementType | RequirementType | |
| ARunDocumentItemUniqueID | ARunDocumentItemUniqueID | |||
| RequestedRqmtQtyInBaseUnit | RequestedRqmtQtyInBaseUnit | |||
| ConfirmedRqmtQtyInBaseUnit | ConfirmedRqmtQtyInBaseUnit | |||
| DeliveredQuantityInBaseUnit | DeliveredQuantityInBaseUnit | |||
| AssignedQuantityInBaseUnit | AssignedQuantityInBaseUnit | |||
| ToBeAssignedQtyInBaseUnit | ToBeAssignedQtyInBaseUnit | |||
| OpenDemandQuantity | ToBeAssignedQtyInBaseUnit | |||
| BaseUnit | BaseUnit | Unit of Measure | ||
| RequirementTypeName | _RqmtText | RequirementTypeName | ||
| Material | Material | Vehicle Model | ||
| RequestedDeliveryDate | RequestedDeliveryDate | Requested Delivery Date | ||
| FashionCancelDate | FashionCancelDate | |||
| Plant | Plant | Valuation Area | ||
| InternalComment | ||||
| RqmtDocItemsAreSelected | ||||
| RqmtDocItemInclsnListValue | ||||
| RqmtDocItemExclsnListValue | ||||
| SupAssignmentsAreSelected | ||||
| SupAssgmtInclusionListValue | ||||
| SupAssgmtExclusionListValue | ||||
| ARunRuleName | ||||
| ARunDemandSortRule | ||||
| ARunRqmtAssignUniqueID | ||||
| Customer | Customer | Sold-to Party | ||
| Issue | ||||
| SitnDefinitionID | ||||
| MaterialGroup | MaterialGroup | Product Group | ||
| CrossPlantConfigurableProduct | CrossPlantConfigurableProduct | Cross-plant CP | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| Division | Division | Internal Division ID | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| ProductSeason | ProductSeason | Season | ||
| ProductSeasonYear | ProductSeasonYear | Season Year | ||
| ProductCollection | ProductCollection | Collection | ||
| ProductTheme | ProductTheme | Theme | ||
| PurchasingDocument | PurchasingDocument | Purchasing Document | ||
| Supplier | Supplier | Supplier | ||
| PurchaseOrder | PurchasingDocument | Purchasing Document | ||
| PurchasingDocumentItem | PurchasingDocumentItem | Purchasing Doc. Item | ||
| SupAssgmtSupAvailySts | ||||
| RequirementSegment | RequirementSegment | Req. Segment | ||
| _DmndMntr | _DmndMntr | |||
| _Demand | _Demand | |||
| _SalesDocumentItem | _SalesDocumentItem | |||
| _STONumberItemBasic | _STONumberItemBasic |
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 C_ARunDmndMntrToBeAssgd.
-- 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.
-- SQL view name: CSADMNDMTBA
CREATE VIEW C_ARunDmndMntrToBeAssgd AS
SELECT
RequirementDocumentNumber,
RequirementDocumentItem,
RequirementType,
ARunDocumentItemUniqueID,
RequestedRqmtQtyInBaseUnit,
ConfirmedRqmtQtyInBaseUnit,
DeliveredQuantityInBaseUnit,
AssignedQuantityInBaseUnit,
ToBeAssignedQtyInBaseUnit,
ToBeAssignedQtyInBaseUnit AS OpenDemandQuantity,
BaseUnit,
_RqmtText.RequirementTypeName AS RequirementTypeName,
Material,
RequestedDeliveryDate,
FashionCancelDate,
Plant,
cast ('' as abap.char( 120 )) AS InternalComment,
cast ('' as abap.char( 1 )) AS RqmtDocItemsAreSelected,
cast ('' as abap.sstring( 1332 )) AS RqmtDocItemInclsnListValue,
cast ('' as abap.sstring( 1332 )) AS RqmtDocItemExclsnListValue,
cast ('' as abap.char( 1 )) AS SupAssignmentsAreSelected,
cast ('' as abap.sstring( 1332 )) AS SupAssgmtInclusionListValue,
cast ('' as abap.sstring( 1332 )) AS SupAssgmtExclusionListValue,
cast ('' as abap.char( 120 )) AS ARunRuleName,
cast ('' as arun_demand_sort_rule_name) AS ARunDemandSortRule,
cast ('' as arun_rqmt_assign_uniqueid ) AS ARunRqmtAssignUniqueID,
Customer,
cast('' as abap.char( 4 )) AS Issue,
cast( '' as sit2_de_st_id ) AS SitnDefinitionID,
MaterialGroup,
CrossPlantConfigurableProduct,
SalesOrganization,
DistributionChannel,
Division,
SalesDistrict,
CompanyCode,
CustomerGroup,
ProductSeason,
ProductSeasonYear,
ProductCollection,
ProductTheme,
PurchasingDocument,
Supplier,
PurchasingDocument AS PurchaseOrder,
PurchasingDocumentItem,
cast ( SupAssgmtSupAvailySts as arun_supply_avail_status ) AS SupAssgmtSupAvailySts,
RequirementSegment
FROM I_SupAssgmtDmndDets
LEFT OUTER JOIN C_SupAssgmtDmndMntr AS _DmndMntr ON RequirementDocumentNumber = _DmndMntr.RequirementDocumentNumber AND RequirementDocumentItem = _DmndMntr.RequirementDocumentItem AND RequirementType = _DmndMntr.RequirementType -- association [1..1]
LEFT OUTER JOIN I_SupDmndRqmtTypeText AS _RqmtText ON RequirementType = _RqmtText.RequirementType AND _RqmtText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_SupAssgmtDmndDets AS _Demand ON RequirementDocumentNumber = _Demand.RequirementDocumentNumber AND RequirementDocumentItem = _Demand.RequirementDocumentItem AND RequirementType = _Demand.RequirementType -- association [1..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