I_AllocationTable

DDL: I_ALLOCATIONTABLE SQL: IALLOCATIONTABLE Type: view BASIC

Allocation Table

I_AllocationTable is a Basic CDS View that provides data about "Allocation Table" in SAP S/4HANA. It reads from 1 data source (auko) and exposes 23 fields with key field AllocationTable. It has 11 associations to related views.

Data Sources (1)

SourceAliasJoin Type
auko auko from

Associations (11)

CardinalityTargetAliasCondition
[1..1] I_AllocationTableType _AllocationTableType $projection.AllocationTableType = _AllocationTableType.AllocationTableType
[1..1] I_PurchasingOrganization _PurchasingOrganization $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
[1..1] I_PurchasingGroup _PurchasingGroup $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup
[1..1] I_AllocTableActivityStatus _AllocTableActivityStatus $projection.AllocTableActivityStatus = _AllocTableActivityStatus.AllocTableActivityStatus
[1..1] I_AllocTableMaintenanceStatus _AllocTableMaintenanceStatus $projection.MaintenanceStatus = _AllocTableMaintenanceStatus.MaintenanceStatus
[1..1] I_AllocTableCreatingAppl _CreatingApplication $projection.AllocTableCreatingApplication = _CreatingApplication.AllocTableCreatingApplication
[0..*] I_AllocationTableItem _AllocationTableItem $projection.AllocationTable = _AllocationTableItem.AllocationTable
[0..1] I_AllocationTableDeliveryPhase _DefaultDeliveryPhase $projection.AllocationTable = _DefaultDeliveryPhase.AllocationTable and _DefaultDeliveryPhase.AllocationTableItem = '00000' and _DefaultDeliveryPhase.AllocationTableItemRcpntGrp = '00000' and _DefaultDeliveryPhase.AllocationTableItemRecipient = '00000' and _DefaultDeliveryPhase.AllocationTableDeliveryPhase = '001'
[0..1] I_AllocTableDistrCtrDelivPhase _DefaultDistrCtrDelivPhase $projection.AllocationTable = _DefaultDistrCtrDelivPhase.AllocationTable and _DefaultDistrCtrDelivPhase.AllocationTableItem = '00000' and _DefaultDistrCtrDelivPhase.AllocationTableDeliveryPhase = '001' and _DefaultDistrCtrDelivPhase.DistributionCenter = ''
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IALLOCATIONTABLE view
EndUserText.label Allocation Table view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.compositionRoot true view
ObjectModel.representativeKey AllocationTable view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY AllocationTable abeln Alloc. Table
AllocationTableDescription Description
AllocationTableType Alloc. tbl type
PurchasingOrganization ekorg Purchasing Org.
PurchasingGroup ekgrp Sub. purchasing grp
AllocTableActivityStatus Activity status
MaintenanceStatus pstak Maint. Status
AllocTableCreatingApplication Application
CreationDate erdat Entered On
CreatedByUser ernam User Name
LastChangeDate aedat Obsolete
LastChangedByUser aenam User Name
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_AllocationTableType _AllocationTableType
_CreatingApplication _CreatingApplication
_PurchasingOrganization _PurchasingOrganization
_PurchasingGroup _PurchasingGroup
_AllocTableActivityStatus _AllocTableActivityStatus
_AllocTableMaintenanceStatus _AllocTableMaintenanceStatus
_AllocationTableItem _AllocationTableItem
_DefaultDeliveryPhase _DefaultDeliveryPhase
_DefaultDistrCtrDelivPhase _DefaultDistrCtrDelivPhase

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_AllocationTable.
-- 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: IALLOCATIONTABLE

CREATE VIEW I_AllocationTable AS
SELECT
  abeln AS AllocationTable,
  cast( bezch as allocationtabledescription preserving type ) AS AllocationTableDescription,
  cast( aufar as allocationtabletype preserving type ) AS AllocationTableType,
  ekorg AS PurchasingOrganization,
  ekgrp AS PurchasingGroup,
  cast( astak as alloctableactivitystatus preserving type ) AS AllocTableActivityStatus,
  pstak AS MaintenanceStatus,
  cast( ervon as alloctablecreatingapplication preserving type ) AS AllocTableCreatingApplication,
  erdat AS CreationDate,
  ernam AS CreatedByUser,
  aedat AS LastChangeDate,
  aenam AS LastChangedByUser
FROM auko
LEFT OUTER JOIN I_AllocationTableType AS _AllocationTableType ON AllocationTableType = _AllocationTableType.AllocationTableType  -- association [1..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization  -- association [1..1]
LEFT OUTER JOIN I_PurchasingGroup AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup  -- association [1..1]
LEFT OUTER JOIN I_AllocTableActivityStatus AS _AllocTableActivityStatus ON AllocTableActivityStatus = _AllocTableActivityStatus.AllocTableActivityStatus  -- association [1..1]
LEFT OUTER JOIN I_AllocTableMaintenanceStatus AS _AllocTableMaintenanceStatus ON MaintenanceStatus = _AllocTableMaintenanceStatus.MaintenanceStatus  -- association [1..1]
LEFT OUTER JOIN I_AllocTableCreatingAppl AS _CreatingApplication ON AllocTableCreatingApplication = _CreatingApplication.AllocTableCreatingApplication  -- association [1..1]
LEFT OUTER JOIN I_AllocationTableItem AS _AllocationTableItem ON AllocationTable = _AllocationTableItem.AllocationTable  -- association [0..*]
LEFT OUTER JOIN I_AllocationTableDeliveryPhase AS _DefaultDeliveryPhase ON AllocationTable = _DefaultDeliveryPhase.AllocationTable AND _DefaultDeliveryPhase.AllocationTableItem = '00000' AND _DefaultDeliveryPhase.AllocationTableItemRcpntGrp = '00000' AND _DefaultDeliveryPhase.AllocationTableItemRecipient = '00000' AND _DefaultDeliveryPhase.AllocationTableDeliveryPhase = '001'  -- association [0..1]
LEFT OUTER JOIN I_AllocTableDistrCtrDelivPhase AS _DefaultDistrCtrDelivPhase ON AllocationTable = _DefaultDistrCtrDelivPhase.AllocationTable AND _DefaultDistrCtrDelivPhase.AllocationTableItem = '00000' AND _DefaultDistrCtrDelivPhase.AllocationTableDeliveryPhase = '001' AND _DefaultDistrCtrDelivPhase.DistributionCenter = ''  -- 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]
;