I_AllocationTableItem
Allocation Table Item
I_AllocationTableItem is a Basic CDS View that provides data about "Allocation Table Item" in SAP S/4HANA. It reads from 1 data source (aupo) and exposes 35 fields with key fields AllocationTable, AllocationTableItem. It has 12 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| aupo | aupo | from |
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_AllocationTable | _AllocationTable | $projection.AllocationTable = _AllocationTable.AllocationTable |
| [0..*] | I_AllocationTableItemRcpntGrp | _AllocationTableItemRcpntGrp | $projection.AllocationTable = _AllocationTableItemRcpntGrp.AllocationTable and $projection.AllocationTableItem = _AllocationTableItemRcpntGrp.AllocationTableItem |
| [0..*] | I_AllocationTableItemRecipient | _AllocationTableItemRecipient | $projection.AllocationTable = _AllocationTableItemRecipient.AllocationTable and $projection.AllocationTableItem = _AllocationTableItemRecipient.AllocationTableItem |
| [0..*] | I_AllocTableItemSuplgDistrCtr | _AllocTableItemSuplgDistrCtr | $projection.AllocationTable = _AllocTableItemSuplgDistrCtr.AllocationTable and $projection.AllocationTableItem = _AllocTableItemSuplgDistrCtr.AllocationTableItem |
| [0..1] | I_UnitOfMeasure | _QuantityUnit | $projection.QuantityUnit = _QuantityUnit.UnitOfMeasure |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [1..1] | I_Product | _Product | $projection.Product = _Product.Product |
| [0..1] | I_MaterialGroup | _MaterialGroup | $projection.MaterialGroup = _MaterialGroup.MaterialGroup |
| [0..1] | I_RetailPromotion | _RetailPromotion | $projection.RetailPromotion = _RetailPromotion.RetailPromotion |
| [0..1] | I_AllocTableBlockingReason | _AllocTableBlockingReason | $projection.AllocTblItmBlockReason = _AllocTableBlockingReason.AllocTblBlockReason |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IALLOCTBLITEM | view | |
| EndUserText.label | Allocation Table Item | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | AllocationTableItem | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AllocationTable | abeln | Alloc. Table | |
| KEY | AllocationTableItem | abelp | Item | |
| PurchaseContract | rfktn | Contract | ||
| PurchaseContractItem | rfktp | Item | ||
| PurchaseOrder | Source PurchDoc | |||
| RetailPromotion | aktnr | Promotion | ||
| Product | Vehicle Model | |||
| DistributionCenter | vzwrk | Distr. Center | ||
| Supplier | lifnr | Vendor no. | ||
| PlannedQuantity | pmnge | Plan Quantity | ||
| ConfirmedQuantity | imnge | Confirmed Qty | ||
| QuantityUnit | aufme | Unit of Measure | ||
| AllocationStrategy | astra | Alloc. Strategy | ||
| MaterialGroup | matkl | Product Sold Group | ||
| InboundDelivery | vbeln | SD Sched. Agmt | ||
| InboundDeliveryItem | vbelp | Schd. Agmt Item | ||
| AllocTableCreatingApplication | ervon | Application | ||
| AllocTblItemOfConfigblProduct | sapos | Superior item | ||
| ArticleCategory | attyp | Trdg Goods Cat. | ||
| AllocTblItmBlockReason | sperr | Posting Block | ||
| CreationDate | erdat | Entered On | ||
| CreatedByUser | ernam | User Name | ||
| LastChangeDate | aedat | Obsolete | ||
| LastChangedByUser | aenam | User Name | ||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _QuantityUnit | _QuantityUnit | |||
| _Supplier | _Supplier | |||
| _Product | _Product | |||
| _MaterialGroup | _MaterialGroup | |||
| _RetailPromotion | _RetailPromotion | |||
| _AllocTableBlockingReason | _AllocTableBlockingReason | |||
| _AllocationTable | _AllocationTable | |||
| _AllocTableItemSuplgDistrCtr | _AllocTableItemSuplgDistrCtr | |||
| _AllocationTableItemRcpntGrp | _AllocationTableItemRcpntGrp |
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_AllocationTableItem.
-- 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.
-- SQL view name: IALLOCTBLITEM
CREATE VIEW I_AllocationTableItem AS
SELECT
abeln AS AllocationTable,
abelp AS AllocationTableItem,
rfktn AS PurchaseContract,
rfktp AS PurchaseContractItem,
cast(ebeln as vdm_purchaseorder preserving type) AS PurchaseOrder,
aktnr AS RetailPromotion,
cast(matnr as productnumber preserving type) AS Product,
vzwrk AS DistributionCenter,
lifnr AS Supplier,
pmnge AS PlannedQuantity,
imnge AS ConfirmedQuantity,
aufme AS QuantityUnit,
astra AS AllocationStrategy,
matkl AS MaterialGroup,
vbeln AS InboundDelivery,
vbelp AS InboundDeliveryItem,
ervon AS AllocTableCreatingApplication,
sapos AS AllocTblItemOfConfigblProduct,
attyp AS ArticleCategory,
sperr AS AllocTblItmBlockReason,
erdat AS CreationDate,
ernam AS CreatedByUser,
aedat AS LastChangeDate,
aenam AS LastChangedByUser
FROM aupo
LEFT OUTER JOIN I_AllocationTable AS _AllocationTable ON AllocationTable = _AllocationTable.AllocationTable -- association [1..1]
LEFT OUTER JOIN I_AllocationTableItemRcpntGrp AS _AllocationTableItemRcpntGrp ON AllocationTable = _AllocationTableItemRcpntGrp.AllocationTable AND AllocationTableItem = _AllocationTableItemRcpntGrp.AllocationTableItem -- association [0..*]
LEFT OUTER JOIN I_AllocationTableItemRecipient AS _AllocationTableItemRecipient ON AllocationTable = _AllocationTableItemRecipient.AllocationTable AND AllocationTableItem = _AllocationTableItemRecipient.AllocationTableItem -- association [0..*]
LEFT OUTER JOIN I_AllocTableItemSuplgDistrCtr AS _AllocTableItemSuplgDistrCtr ON AllocationTable = _AllocTableItemSuplgDistrCtr.AllocationTable AND AllocationTableItem = _AllocTableItemSuplgDistrCtr.AllocationTableItem -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasure AS _QuantityUnit ON QuantityUnit = _QuantityUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product -- association [1..1]
LEFT OUTER JOIN I_MaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup -- association [0..1]
LEFT OUTER JOIN I_RetailPromotion AS _RetailPromotion ON RetailPromotion = _RetailPromotion.RetailPromotion -- association [0..1]
LEFT OUTER JOIN I_AllocTableBlockingReason AS _AllocTableBlockingReason ON AllocTblItmBlockReason = _AllocTableBlockingReason.AllocTblBlockReason -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID -- association [0..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