C_SiteObjPgAllocationTable
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)
| Source | Alias | Join Type |
|---|---|---|
| I_AllocationTableRecipient | I_AllocationTableRecipient | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_NrOfProductsOfAllocTblBySite | _AllocationTableProducts | $projection.AllocationTable = _AllocationTableProducts.AllocationTable and $projection.Site = _AllocationTableProducts.Site |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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