I_ARunAllDmndAssgmt
Assignment Qty at Demand level
I_ARunAllDmndAssgmt is a Basic CDS View that provides data about "Assignment Qty at Demand level" in SAP S/4HANA. It reads from 3 data sources (arun_bdbs, arun_preview, arun_sdo_alldoc) and exposes 41 fields.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| arun_bdbs | arun_bdbs | from |
| arun_preview | arun_preview | union_all |
| arun_sdo_alldoc | arun_sdo_alldoc | union_all |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | IASSGNDMNDQTY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| EndUserText.label | Assignment Qty at Demand level | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| Plant | plant | Valuation Area | ||
| Material | material | Vehicle Model | ||
| RequirementType | req_ind | Requirement Type | ||
| SupProtTimeBucketUUID | Time Bucket UUID | |||
| AssignedQuantityInBaseUnit | alloc_qty | Assigned Qty | ||
| NormalAssignedQuantityInBsUnt | alloc_qty | Assigned Qty | ||
| PreviewAssignedQuantityInBsUnt | Assigned Qty | |||
| ARunTmpAssignedQuantityInBsUnt | Assigned Qty | |||
| dec123endasFixedQuantityInBaseUnit | ||||
| dec123endasOnHoldQuantityInBaseUnit | ||||
| dec123endasReadyForReleaseQtyInBaseUnit | ||||
| dec123endasARunPhysSupAssgdQtyInBsUnt | ||||
| BaseUnit | material_baseunit | Base Unit | ||
| RequestedDate | requested_date | Requested date | ||
| Material | material | Vehicle Model | ||
| RequirementType | req_ind | Requirement Type | ||
| SupProtTimeBucketUUID | Time Bucket UUID | |||
| AssignedQuantityInBaseUnit | alloc_qty | Assigned Qty | ||
| NormalAssignedQuantityInBsUnt | Assigned Qty | |||
| PreviewAssignedQuantityInBsUnt | Assigned Qty | |||
| ARunTmpAssignedQuantityInBsUnt | Assigned Qty | |||
| dec123endasFixedQuantityInBaseUnit | ||||
| dec123endasOnHoldQuantityInBaseUnit | ||||
| dec123endasReadyForReleaseQtyInBaseUnit | ||||
| dec123endasARunPhysSupAssgdQtyInBsUnt | ||||
| BaseUnit | material_baseunit | Base Unit | ||
| RequestedDate | requested_date | Requested date | ||
| Material | material | Vehicle Model | ||
| RequirementType | req_ind | Requirement Type | ||
| SupProtTimeBucketUUID | sup_uuid | Time Bucket UUID | ||
| AssignedQuantityInBaseUnit | alloc_qty | Assigned Qty | ||
| NormalAssignedQuantityInBsUnt | Assigned Qty | |||
| PreviewAssignedQuantityInBsUnt | Assigned Qty | |||
| ARunTmpAssignedQuantityInBsUnt | Assigned Qty | |||
| dec123endasFixedQuantityInBaseUnit | ||||
| dec123endasOnHoldQuantityInBaseUnit | ||||
| dec123endasReadyForReleaseQtyInBaseUnit | ||||
| dec123endasARunPhysSupAssgdQtyInBsUnt | ||||
| BaseUnit | material_baseunit | Base Unit | ||
| RequestedDate | requested_date | Requested date | ||
| ProductAvailabilityDate | material_avail_date | Mat.Avail.Date |
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_ARunAllDmndAssgmt.
-- 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.
CREATE VIEW I_ARunAllDmndAssgmt AS
SELECT
Plant,
Material,
req_ind AS RequirementType,
hextobin( '00000000000000000000000000000000' ) AS SupProtTimeBucketUUID,
alloc_qty AS AssignedQuantityInBaseUnit,
alloc_qty AS NormalAssignedQuantityInBsUnt,
cast( 0 as abap.dec( 12, 3 ) ) AS PreviewAssignedQuantityInBsUnt,
cast( 0 as abap.dec( 12, 3 ) ) AS ARunTmpAssignedQuantityInBsUnt,
case when arun_status = 'F' then alloc_qty else cast( 0 as abap.dec( 12, 3 ) ) end as FixedQuantityInBaseUnit AS dec123endasFixedQuantityInBaseUnit,
case when arun_status = 'H' then alloc_qty else cast( 0 as abap.dec( 12, 3 ) ) end as OnHoldQuantityInBaseUnit AS dec123endasOnHoldQuantityInBaseUnit,
case when arun_status = 'O' then alloc_qty else cast( 0 as abap.dec( 12, 3 ) ) end as ReadyForReleaseQtyInBaseUnit AS dec123endasReadyForReleaseQtyInBaseUnit,
case when stock_source = 'S' or stock_source = 'C' then alloc_qty else cast( 0 as abap.dec( 12, 3 ) ) end as ARunPhysSupAssgdQtyInBsUnt AS dec123endasARunPhysSupAssgdQtyInBsUnt,
material_baseunit AS BaseUnit,
requested_date AS RequestedDate,
material_avail_date AS ProductAvailabilityDate
FROM arun_bdbs
-- UNION ALL with additional select branch(es): arun_preview, arun_sdo_alldoc
;
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