C_SiteObjPgAllocationTable

DDL: C_SITEOBJPGALLOCATIONTABLE Type: view CONSUMPTION Package: RFM_SITE_OP

Site Object Page - Allocation Table

C_SiteObjPgAllocationTable is a Consumption CDS View that provides data about "Site Object Page - Allocation Table" in SAP S/4HANA. It reads from 1 data source (I_AllocationTableRecipient) and exposes 12 fields with key fields Site, AllocationTable. It has 1 association to related views. Part of development package RFM_SITE_OP.

Data Sources (1)

SourceAliasJoin Type
I_AllocationTableRecipient I_AllocationTableRecipient from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_NrOfProductsOfAllocTblBySite _AllocationTableProducts $projection.AllocationTable = _AllocationTableProducts.AllocationTable and $projection.Site = _AllocationTableProducts.Site

Annotations (13)

NameValueLevelField
EndUserText.label Site Object Page - Allocation Table view
AbapCatalog.sqlViewName CSTEOBJPGALLOC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.semanticKey AllocationTable view
ObjectModel.representativeKey AllocationTable view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY Site Site Plant
KEY AllocationTable AllocationTable Alloc. Table
AllocationTableDescription _AllocationTable AllocationTableDescription
NumberOfProducts
AllocTableActivityStatus _AllocationTable AllocTableActivityStatus
MaintenanceStatus _AllocationTable MaintenanceStatus Maint. status
DeliveryDate
AllocationTableType _AllocationTable AllocationTableType
_AllocationTable _AllocationTable
_AllocTableActivityStatus _AllocationTable _AllocTableActivityStatus
_AllocTableMaintenanceStatus _AllocationTable _AllocTableMaintenanceStatus
_AllocationTableType _AllocationTable _AllocationTableType

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_SiteObjPgAllocationTable.
-- 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_SiteObjPgAllocationTable AS
SELECT
  Site,
  AllocationTable,
  _AllocationTable.AllocationTableDescription AS AllocationTableDescription,
  cast(coalesce(_AllocationTableProducts.NumberOfProducts, 0) as numberofproducts preserving type) AS NumberOfProducts,
  _AllocationTable.AllocTableActivityStatus AS AllocTableActivityStatus,
  _AllocationTable.MaintenanceStatus AS MaintenanceStatus,
  _AllocationTable._DefaultDeliveryPhase.DeliveryDate AS DeliveryDate,
  _AllocationTable.AllocationTableType AS AllocationTableType,
  _AllocationTable._AllocTableActivityStatus AS _AllocTableActivityStatus,
  _AllocationTable._AllocTableMaintenanceStatus AS _AllocTableMaintenanceStatus,
  _AllocationTable._AllocationTableType AS _AllocationTableType
FROM I_AllocationTableRecipient
LEFT OUTER JOIN I_NrOfProductsOfAllocTblBySite AS _AllocationTableProducts ON AllocationTable = _AllocationTableProducts.AllocationTable AND Site = _AllocationTableProducts.Site  -- association [1..1]
;