I_SupDmndAllDocAssgmtCube

DDL: I_SUPDMNDALLDOCASSGMTCUBE Type: view COMPOSITE

Cube View for Assignment for all Modes

I_SupDmndAllDocAssgmtCube is a Composite CDS View (Cube) that provides data about "Cube View for Assignment for all Modes" in SAP S/4HANA. It reads from 1 data source (I_SupDmndAllDocAssgmt) and exposes 59 fields with key fields Plant, Material, StorageLocation, Batch, RequirementType. It has 15 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SupDmndAllDocAssgmt Assgmt from

Associations (15)

CardinalityTargetAliasCondition
[0..1] I_ProductText _ProductText $projection.Material = _ProductText.Product and _ProductText.Language = $session.system_language
[0..1] I_ProductGroupText _ProductGroupText $projection.MaterialGroup = _ProductGroupText.MaterialGroup and _ProductGroupText.Language = $session.system_language
[0..1] I_ProductTypeText _ProductTypeText $projection.MaterialType = _ProductTypeText.ProductType and _ProductTypeText.Language = $session.system_language
[0..1] I_SalesOrganizationText _SalesOrgText $projection.SalesOrganization = _SalesOrgText.SalesOrganization and _SalesOrgText.Language = $session.system_language
[0..1] I_DistributionChannelText _DistrChnl $projection.DistributionChannel = _DistrChnl.DistributionChannel and _DistrChnl.Language = $session.system_language
[0..1] I_DivisionText _Divn $projection.Division = _Divn.Division and _Divn.Language = $session.system_language
[0..1] I_SalesDistrictText _SalesDist $projection.SalesDistrict = _SalesDist.SalesDistrict and _SalesDist.Language = $session.system_language
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_UnitOfMeasure _BaseUnit $projection.BaseUnit = _BaseUnit.UnitOfMeasure
[0..1] I_SupDmndAllDocRqmtTypeT _RqmtText $projection.RequirementType = _RqmtText.RequirementType and _RqmtText.Language = $session.system_language
[0..1] I_SupDmndAllDocSupTypeT _SupText $projection.AssignedSupplyType = _SupText.AssignedSupplyType and _SupText.Language = $session.system_language
[0..1] I_SupDmndAllDocSupSourceT _SupSrceText $projection.SupAssgmtSource = _SupSrceText.SupAssgmtSource and _SupSrceText.Language = $session.system_language
[0..1] I_ARunSupDlyHrznText _SupDlyHrznText $projection.ARunSupDlyHrznInWeeks = _SupDlyHrznText.ARunSupDlyHrznInWeeks and _SupDlyHrznText.Language = $session.system_language

Annotations (16)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
Analytics.dataCategory #CUBE view
Analytics.internalName #LOCAL view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.sqlViewName ISUPDMNDADASGMTC 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
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Cube View for Assignment for all Modes view

Fields (59)

KeyFieldSource TableSource FieldDescription
KEY Plant I_SupDmndAllDocAssgmt Plant Valuation Area
KEY Material I_SupDmndAllDocAssgmt Material Product
KEY StorageLocation I_SupDmndAllDocAssgmt StorageLocation StorageLocation
KEY Batch I_SupDmndAllDocAssgmt Batch Lot No.
KEY RequirementType I_SupDmndAllDocAssgmt RequirementType Requirement Type
KEY RequirementDocumentNumber I_SupDmndAllDocAssgmt RequirementDocumentNumber Requirement Document Number
KEY RequirementDocumentItem I_SupDmndAllDocAssgmt RequirementDocumentItem Requirement Document Item
KEY SupProtTimeBucketUUID I_SupDmndAllDocAssgmt SupProtTimeBucketUUID
KEY AssignedSupplyType I_SupDmndAllDocAssgmt AssignedSupplyType Supply Type
KEY SupplyNumber I_SupDmndAllDocAssgmt SupplyNumber Supply Document No.
KEY SupplyItem I_SupDmndAllDocAssgmt SupplyItem Supply Document Item
KEY SupplyScheduleLine I_SupDmndAllDocAssgmt SupplyScheduleLine Supply Schedule Line
KEY RequestedDate I_SupDmndAllDocAssgmt RequestedDate Requested Date
KEY ProductAvailabilityDate I_SupDmndAllDocAssgmt ProductAvailabilityDate Delivery Date
KEY SupplyDeliveryDate I_SupDmndAllDocAssgmt SupplyDeliveryDate Supply Delivery Date
KEY SupplyAssignmentStatus I_SupDmndAllDocAssgmt SupplyAssignmentStatus Supply Assignment Status
KEY ARunUUID I_SupDmndAllDocAssgmt ARunUUID
RequestedDeliveryDate I_SupDmndAllDocAssgmt RequestedDeliveryDate Requested Delivery Date
ARunSupDlyHrznInWeeks ARunSupDlyHrznInWeeks Mat. Avail Date - Supply Delivery Date
SupAssgmtSource SupAssgmtSource Supply Source
CalendarYear I_SupDmndAllDocAssgmt CalendarYear Year
CalendarMonth I_SupDmndAllDocAssgmt CalendarMonth Month
CalendarMonthName I_SupDmndAllDocAssgmt CalendarMonthName Month
CalendarWeek I_SupDmndAllDocAssgmt CalendarWeek Week
CalendarDay I_SupDmndAllDocAssgmt CalendarDay Day
AssignedQuantityInBaseUnit I_SupDmndAllDocAssgmt AssignedQuantityInBaseUnit Total Assigned Quantity
NormalAssignedQuantityInBsUnt I_SupDmndAllDocAssgmt NormalAssignedQuantityInBsUnt Normal Assigned Quantity
PreviewAssignedQuantityInBsUnt I_SupDmndAllDocAssgmt PreviewAssignedQuantityInBsUnt Preview Assigned Quantity
ARunTmpAssignedQuantityInBsUnt I_SupDmndAllDocAssgmt ARunTmpAssignedQuantityInBsUnt Temporary Assigned Quantity
BaseUnit I_SupDmndAllDocAssgmt BaseUnit Unit of Measure
MaterialGroup I_SupDmndAllDocAssgmt MaterialGroup Product Group
MaterialType I_SupDmndAllDocAssgmt MaterialType Product Type
CrossPlantConfigurableProduct I_SupDmndAllDocAssgmt CrossPlantConfigurableProduct Generic Product
SupplyProtectionName I_SupDmndAllDocAssgmt SupplyProtectionName Supply Protection Name
SalesOrganization I_SupDmndAllDocAssgmt SalesOrganization Sales Organization
DistributionChannel I_SupDmndAllDocAssgmt DistributionChannel RefDistCh-Cust/Mat.
Division I_SupDmndAllDocAssgmt Division Internal Division ID
SalesDistrict I_SupDmndAllDocAssgmt SalesDistrict Sales District
Customer I_SupDmndAllDocAssgmt Customer Sold-to Party
CompanyCode I_SupDmndAllDocAssgmt CompanyCode Receiver Company Code
SupAssgmtAggrgQtyUnit
NetPriceAmount I_SupDmndAllDocAssgmt NetPriceAmount Net Price
DocumentCurrency I_SupDmndAllDocAssgmt DocumentCurrency Document Currency
RequirementSegment I_SupDmndAllDocAssgmt RequirementSegment Req. Segment
_ProductText _ProductText
_ProductGroupText _ProductGroupText
_ProductTypeText _ProductTypeText
_SupSrceText _SupSrceText
_SalesOrgText _SalesOrgText
_DistrChnl _DistrChnl
_Divn _Divn
_SalesDist _SalesDist
_Plant _Plant
_CompanyCode _CompanyCode
_Customer _Customer
_BaseUnit _BaseUnit
_SupText _SupText
_RqmtText _RqmtText
_SupDlyHrznText _SupDlyHrznText

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_SupDmndAllDocAssgmtCube.
-- 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_SupDmndAllDocAssgmtCube AS
SELECT
  Assgmt.Plant AS Plant,
  Assgmt.Material AS Material,
  Assgmt.StorageLocation AS StorageLocation,
  Assgmt.Batch AS Batch,
  Assgmt.RequirementType AS RequirementType,
  Assgmt.RequirementDocumentNumber AS RequirementDocumentNumber,
  Assgmt.RequirementDocumentItem AS RequirementDocumentItem,
  Assgmt.SupProtTimeBucketUUID AS SupProtTimeBucketUUID,
  Assgmt.AssignedSupplyType AS AssignedSupplyType,
  Assgmt.SupplyNumber AS SupplyNumber,
  Assgmt.SupplyItem AS SupplyItem,
  Assgmt.SupplyScheduleLine AS SupplyScheduleLine,
  Assgmt.RequestedDate AS RequestedDate,
  Assgmt.ProductAvailabilityDate AS ProductAvailabilityDate,
  Assgmt.SupplyDeliveryDate AS SupplyDeliveryDate,
  Assgmt.SupplyAssignmentStatus AS SupplyAssignmentStatus,
  Assgmt.ARunUUID AS ARunUUID,
  Assgmt.RequestedDeliveryDate AS RequestedDeliveryDate,
  ARunSupDlyHrznInWeeks,
  SupAssgmtSource,
  Assgmt.CalendarYear AS CalendarYear,
  Assgmt.CalendarMonth AS CalendarMonth,
  Assgmt.CalendarMonthName AS CalendarMonthName,
  Assgmt.CalendarWeek AS CalendarWeek,
  Assgmt.CalendarDay AS CalendarDay,
  Assgmt.AssignedQuantityInBaseUnit AS AssignedQuantityInBaseUnit,
  Assgmt.NormalAssignedQuantityInBsUnt AS NormalAssignedQuantityInBsUnt,
  Assgmt.PreviewAssignedQuantityInBsUnt AS PreviewAssignedQuantityInBsUnt,
  Assgmt.ARunTmpAssignedQuantityInBsUnt AS ARunTmpAssignedQuantityInBsUnt,
  Assgmt.BaseUnit AS BaseUnit,
  Assgmt.MaterialGroup AS MaterialGroup,
  Assgmt.MaterialType AS MaterialType,
  Assgmt.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
  Assgmt.SupplyProtectionName AS SupplyProtectionName,
  Assgmt.SalesOrganization AS SalesOrganization,
  Assgmt.DistributionChannel AS DistributionChannel,
  Assgmt.Division AS Division,
  Assgmt.SalesDistrict AS SalesDistrict,
  Assgmt.Customer AS Customer,
  Assgmt.CompanyCode AS CompanyCode,
  cast( ' ' as meins ) AS SupAssgmtAggrgQtyUnit,
  Assgmt.NetPriceAmount AS NetPriceAmount,
  Assgmt.DocumentCurrency AS DocumentCurrency,
  Assgmt.RequirementSegment AS RequirementSegment
FROM I_SupDmndAllDocAssgmt AS Assgmt
LEFT OUTER JOIN I_ProductText AS _ProductText ON Material = _ProductText.Product AND _ProductText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_ProductGroupText AS _ProductGroupText ON MaterialGroup = _ProductGroupText.MaterialGroup AND _ProductGroupText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_ProductTypeText AS _ProductTypeText ON MaterialType = _ProductTypeText.ProductType AND _ProductTypeText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_SalesOrganizationText AS _SalesOrgText ON SalesOrganization = _SalesOrgText.SalesOrganization AND _SalesOrgText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_DistributionChannelText AS _DistrChnl ON DistributionChannel = _DistrChnl.DistributionChannel AND _DistrChnl.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_DivisionText AS _Divn ON Division = _Divn.Division AND _Divn.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_SalesDistrictText AS _SalesDist ON SalesDistrict = _SalesDist.SalesDistrict AND _SalesDist.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_SupDmndAllDocRqmtTypeT AS _RqmtText ON RequirementType = _RqmtText.RequirementType AND _RqmtText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_SupDmndAllDocSupTypeT AS _SupText ON AssignedSupplyType = _SupText.AssignedSupplyType AND _SupText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_SupDmndAllDocSupSourceT AS _SupSrceText ON SupAssgmtSource = _SupSrceText.SupAssgmtSource AND _SupSrceText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_ARunSupDlyHrznText AS _SupDlyHrznText ON ARunSupDlyHrznInWeeks = _SupDlyHrznText.ARunSupDlyHrznInWeeks AND _SupDlyHrznText.Language = $session.system_language  -- association [0..1]
;