C_SupAssgmtDmndMntrAssgmtDets

DDL: C_SUPASSGMTDMNDMNTRASSGMTDETS Type: view CONSUMPTION Package: ARUN_DEMAND_MONITOR

Supply Assignment Demand Monitor Assignments Details

C_SupAssgmtDmndMntrAssgmtDets is a Consumption CDS View that provides data about "Supply Assignment Demand Monitor Assignments Details" in SAP S/4HANA. It reads from 1 data source (I_SupAssgmtDmndMntrAssgmtDets) and exposes 63 fields with key fields ARunUUID, SupplyNumber, SupplyItem, SupplyScheduleLine, Batch. It has 6 associations to related views. Part of development package ARUN_DEMAND_MONITOR.

Data Sources (1)

SourceAliasJoin Type
I_SupAssgmtDmndMntrAssgmtDets Assgmt from

Associations (6)

CardinalityTargetAliasCondition
[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
[0..1] I_SupDmndAssgdSupTypeText _SupText $projection.AssignedSupplyType = _SupText.AssignedSupplyType and _SupText.Language = $session.system_language
[0..1] I_ARunStatusText _ARunStsTxt $projection.SupplyAssignmentStatus = _ARunStsTxt.SupplyAssignmentStatus and _ARunStsTxt.Language = $session.system_language
[0..1] I_ProductText _ProductText $projection.Material = _ProductText.Product and _ProductText.Language = $session.system_language
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant

Annotations (15)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ClientHandling.type #INHERITED view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.sqlViewName CSADMNDMNTDETS 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
EndUserText.label Supply Assignment Demand Monitor Assignments Details view
UI.headerInfo.typeName Assignment Details view
UI.headerInfo.typeNamePlural view
UI.headerInfo.title.value AssignedSupplyTypeName view

Fields (63)

KeyFieldSource TableSource FieldDescription
KEY ARunUUID ARunUUID
KEY SupplyNumber SupplyNumber Supply Document Number
KEY SupplyItem SupplyItem Supply Document Item
KEY SupplyScheduleLine SupplyScheduleLine Supply Schedule Line
KEY Batch Batch Lot No.
KEY StorageLocation StorageLocation StorageLocation
KEY AssignedSupplyType AssignedSupplyType Supply Type
KEY ARunDocumentItemUniqueID ARunDocumentItemUniqueID Requirement Document/Item
KEY RequirementType RequirementType Requirement Type
KEY Material Material Product
KEY Plant Plant Valuation Area
KEY SupplyAssignmentStatus SupplyAssignmentStatus Supply Assignment Status
SupplyDeliveryDate SupplyDeliveryDate Supply Delivery Date
RequirementDocumentNumber RequirementDocumentNumber
RequirementDocumentItem RequirementDocumentItem
AssignedQuantityInBaseUnit AssignedQuantityInBaseUnit Assigned Quantity
BaseUnit BaseUnit Unit of Measure
RequirementSegment RequirementSegment Req. Segment
StockSegment StockSegment Stock Segment
InternalComment
QtyToBeUnassignedInPct
ToBeUnassignedQtyInBaseUnit
RqmtDocItemsAreSelected
RqmtDocItemInclsnListValue
RqmtDocItemExclsnListValue
SupAssignmentsAreSelected
SupAssgmtInclusionListValue
SupAssgmtExclusionListValue
RequestedDeliveryDate _Demand RequestedDeliveryDate Requested Delivery Date
Customer _Demand Customer Sold-to Party
Issue
SitnDefinitionID
SupAssgmtSupAvailySts _Demand SupAssgmtSupAvailySts
FashionCancelDate _Demand FashionCancelDate
FashionCancelDateHorizon _Demand FashionCancelDateHorizon
MaterialGroup _Demand MaterialGroup Product Group
CrossPlantConfigurableProduct _Demand CrossPlantConfigurableProduct Cross-plant CP
SalesOrganization _Demand SalesOrganization Sales Organization
DistributionChannel _Demand DistributionChannel RefDistCh-Cust/Mat.
Division _Demand Division Internal Division ID
SalesDistrict _Demand SalesDistrict Sales District
CompanyCode _Demand CompanyCode Receiver Company Code
CustomerGroup _Demand CustomerGroup Customer Group
ProductSeason _Demand ProductSeason Season
ProductSeasonYear _Demand ProductSeasonYear Season Year
ProductCollection _Demand ProductCollection Collection
ProductTheme _Demand ProductTheme Theme
PurchasingDocument _Demand PurchasingDocument Purchasing Document
Supplier _Demand Supplier Supplier
PurchaseOrder _Demand PurchasingDocument Purchasing Document
AssignedSupplyTypeName _SupText AssignedSupplyTypeName
RequirementTypeName _RqmtText RequirementTypeName
SupplyAssignmentStatusName _ARunStsTxt SupplyAssignmentStatusName
ProductName _ProductText ProductName Description
PlantName _Plant PlantName Plant Name
_RqmtText _RqmtText
_SupText _SupText
_ARunStsTxt _ARunStsTxt
_ProductText _ProductText
_Plant _Plant
_BaseUnit _BaseUnit
_Demand _Demand
_DmndMntr _DmndMntr

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_SupAssgmtDmndMntrAssgmtDets.
-- 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 C_SupAssgmtDmndMntrAssgmtDets AS
SELECT
  ARunUUID,
  SupplyNumber,
  SupplyItem,
  SupplyScheduleLine,
  Batch,
  StorageLocation,
  AssignedSupplyType,
  ARunDocumentItemUniqueID,
  RequirementType,
  Material,
  Plant,
  SupplyAssignmentStatus,
  SupplyDeliveryDate,
  RequirementDocumentNumber,
  RequirementDocumentItem,
  AssignedQuantityInBaseUnit,
  BaseUnit,
  RequirementSegment,
  StockSegment,
  cast ('' as abap.char( 120 )) AS InternalComment,
  cast ( '000' as arun_dalpct_by ) AS QtyToBeUnassignedInPct,
  cast( 0 as arun_dalmng_by) AS ToBeUnassignedQtyInBaseUnit,
  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,
  _Demand.RequestedDeliveryDate AS RequestedDeliveryDate,
  _Demand.Customer AS Customer,
  cast('' as abap.char( 4 )) AS Issue,
  cast( '' as sit2_de_st_id ) AS SitnDefinitionID,
  _Demand.SupAssgmtSupAvailySts AS SupAssgmtSupAvailySts,
  _Demand.FashionCancelDate AS FashionCancelDate,
  _Demand.FashionCancelDateHorizon AS FashionCancelDateHorizon,
  _Demand.MaterialGroup AS MaterialGroup,
  _Demand.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
  _Demand.SalesOrganization AS SalesOrganization,
  _Demand.DistributionChannel AS DistributionChannel,
  _Demand.Division AS Division,
  _Demand.SalesDistrict AS SalesDistrict,
  _Demand.CompanyCode AS CompanyCode,
  _Demand.CustomerGroup AS CustomerGroup,
  _Demand.ProductSeason AS ProductSeason,
  _Demand.ProductSeasonYear AS ProductSeasonYear,
  _Demand.ProductCollection AS ProductCollection,
  _Demand.ProductTheme AS ProductTheme,
  _Demand.PurchasingDocument AS PurchasingDocument,
  _Demand.Supplier AS Supplier,
  _Demand.PurchasingDocument AS PurchaseOrder,
  _SupText.AssignedSupplyTypeName AS AssignedSupplyTypeName,
  _RqmtText.RequirementTypeName AS RequirementTypeName,
  _ARunStsTxt.SupplyAssignmentStatusName AS SupplyAssignmentStatusName,
  _ProductText.ProductName AS ProductName,
  _Plant.PlantName AS PlantName
FROM I_SupAssgmtDmndMntrAssgmtDets AS Assgmt
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_SupDmndAssgdSupTypeText AS _SupText ON AssignedSupplyType = _SupText.AssignedSupplyType AND _SupText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_ARunStatusText AS _ARunStsTxt ON SupplyAssignmentStatus = _ARunStsTxt.SupplyAssignmentStatus AND _ARunStsTxt.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_ProductText AS _ProductText ON Material = _ProductText.Product AND _ProductText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
;