I_ARunRelChkPreviewRunDmndDocs
Demand Docs with Preview Assgns
I_ARunRelChkPreviewRunDmndDocs is a Composite CDS View that provides data about "Demand Docs with Preview Assgns" in SAP S/4HANA. It reads from 3 data sources (P_ARunRelChkATPResultReqmt, I_SupDmndOvwDemand, I_ARunRelChkPreviewRunAssgmt) and exposes 29 fields. Part of development package ARUN_RELEASE_CHECK.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_ARunRelChkATPResultReqmt | _ATPResultRequirement | from |
| I_SupDmndOvwDemand | _DemandDocument | inner |
| I_ARunRelChkPreviewRunAssgmt | _NormalPreviewAssignment | left_outer |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| EndUserText.label | Demand Docs with Preview Assgns | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | IARUNDMNDOCSPREV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ATPCheckUUID | P_ARunRelChkATPResultReqmt | ATPCheckUUID | Check ID | |
| RequirementDocumentNumber | I_SupDmndOvwDemand | RequirementDocumentNumber | SD Document | |
| RequirementDocumentItem | I_SupDmndOvwDemand | RequirementDocumentItem | Sales Document Item | |
| RequestedDate | I_SupDmndOvwDemand | RequestedDate | ||
| ProductAvailabilityDate | I_SupDmndOvwDemand | ProductAvailabilityDate | Mat.Avail.Date | |
| RequestedRqmtQtyInBaseUnit | I_SupDmndOvwDemand | RequestedRqmtQtyInBaseUnit | Scheduled Qty | |
| DeliveredQuantityInBaseUnit | I_SupDmndOvwDemand | DeliveredQuantityInBaseUnit | ||
| ConfirmedRqmtQtyInBaseUnit | I_SupDmndOvwDemand | ConfirmedRqmtQtyInBaseUnit | ||
| SalesOrganization | I_SupDmndOvwDemand | SalesOrganization | Sales Organization | |
| DistributionChannel | I_SupDmndOvwDemand | DistributionChannel | RefDistCh-Cust/Mat. | |
| Division | I_SupDmndOvwDemand | Division | Internal Division ID | |
| OrderType | I_SupDmndOvwDemand | OrderType | Order Type | |
| SoldToParty | I_SupDmndOvwDemand | SoldToParty | Sold-to Party | |
| ShipToParty | I_SupDmndOvwDemand | ShipToParty | Ship-To Party (obsolete) | |
| DeliveryGroup | I_SupDmndOvwDemand | DeliveryGroup | Delivery Group | |
| ShippingGroupNumber | I_SupDmndOvwDemand | ShippingGroupNumber | PSST Group | |
| ARunSupplyAssgmtReleaseRule | I_SupDmndOvwDemand | ARunSupplyAssgmtReleaseRule | Release Rule | |
| NetPriceAmount | I_SupDmndOvwDemand | NetPriceAmount | Net Price | |
| DocumentCurrency | I_SupDmndOvwDemand | DocumentCurrency | Document Currency | |
| ARunUUID | I_ARunRelChkPreviewRunAssgmt | ARunUUID | ||
| Plant | I_ARunRelChkPreviewRunAssgmt | Plant | Valuation Area | |
| Material | I_ARunRelChkPreviewRunAssgmt | Material | Vehicle Model | |
| CrossPlantConfigurableProduct | I_SupDmndOvwDemand | CrossPlantConfigurableProduct | Cross-plant CP | |
| SupplyAssignmentStatus | I_ARunRelChkPreviewRunAssgmt | SupplyAssignmentStatus | ||
| RequirementType | I_SupDmndOvwDemand | RequirementType | RequirementType | |
| AssignedSupplyType | I_ARunRelChkPreviewRunAssgmt | AssignedSupplyType | ||
| AssignedQuantityInBaseUnit | I_ARunRelChkPreviewRunAssgmt | AssignedQuantityInBaseUnit | ||
| BaseUnit | I_SupDmndOvwDemand | BaseUnit | Unit of Measure | |
| SupAssgmtExecutionMode | I_ARunRelChkPreviewRunAssgmt | SupAssgmtExecutionMode |
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_ARunRelChkPreviewRunDmndDocs.
-- 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: IARUNDMNDOCSPREV
CREATE VIEW I_ARunRelChkPreviewRunDmndDocs AS
SELECT
_ATPResultRequirement.ATPCheckUUID AS ATPCheckUUID,
_DemandDocument.RequirementDocumentNumber AS RequirementDocumentNumber,
_DemandDocument.RequirementDocumentItem AS RequirementDocumentItem,
_DemandDocument.RequestedDate AS RequestedDate,
_DemandDocument.ProductAvailabilityDate AS ProductAvailabilityDate,
_DemandDocument.RequestedRqmtQtyInBaseUnit AS RequestedRqmtQtyInBaseUnit,
_DemandDocument.DeliveredQuantityInBaseUnit AS DeliveredQuantityInBaseUnit,
_DemandDocument.ConfirmedRqmtQtyInBaseUnit AS ConfirmedRqmtQtyInBaseUnit,
_DemandDocument.SalesOrganization AS SalesOrganization,
_DemandDocument.DistributionChannel AS DistributionChannel,
_DemandDocument.Division AS Division,
_DemandDocument.OrderType AS OrderType,
_DemandDocument.SoldToParty AS SoldToParty,
_DemandDocument.ShipToParty AS ShipToParty,
_DemandDocument.DeliveryGroup AS DeliveryGroup,
_DemandDocument.ShippingGroupNumber AS ShippingGroupNumber,
_DemandDocument.ARunSupplyAssgmtReleaseRule AS ARunSupplyAssgmtReleaseRule,
_DemandDocument.NetPriceAmount AS NetPriceAmount,
_DemandDocument.DocumentCurrency AS DocumentCurrency,
_NormalPreviewAssignment.ARunUUID AS ARunUUID,
_NormalPreviewAssignment.Plant AS Plant,
_NormalPreviewAssignment.Material AS Material,
_DemandDocument.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
_NormalPreviewAssignment.SupplyAssignmentStatus AS SupplyAssignmentStatus,
_DemandDocument.RequirementType AS RequirementType,
_NormalPreviewAssignment.AssignedSupplyType AS AssignedSupplyType,
_NormalPreviewAssignment.AssignedQuantityInBaseUnit AS AssignedQuantityInBaseUnit,
_DemandDocument.BaseUnit AS BaseUnit,
_NormalPreviewAssignment.SupAssgmtExecutionMode AS SupAssgmtExecutionMode
FROM P_ARunRelChkATPResultReqmt AS _ATPResultRequirement
INNER JOIN I_SupDmndOvwDemand AS _DemandDocument ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ARunRelChkPreviewRunAssgmt AS _NormalPreviewAssignment ON /* join condition not captured in parsed metadata */
;
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