I_ARunAllDmndAssgmt

DDL: I_ARUNALLDMNDASSGMT Type: view BASIC

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)

SourceAliasJoin Type
arun_bdbs arun_bdbs from
arun_preview arun_preview union_all
arun_sdo_alldoc arun_sdo_alldoc union_all

Annotations (10)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;