I_GHOAllocationStatus

DDL: I_GHOALLOCATIONSTATUS Type: view_entity COMPOSITE

Allocation Status

I_GHOAllocationStatus is a Composite CDS View that provides data about "Allocation Status" in SAP S/4HANA. It reads from 1 data source (I_GHOAllocBusinessKey) and exposes 16 fields with key field AllocationRunID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_GHOAllocBusinessKey I_GHOAllocBusinessKey from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_ReadDomainFixedValues _AllocStatusDesc _AllocStatusDesc.SAPDataDictionaryDomain = 'GHO_OVERALL_ALLOC_STATUS' and _AllocStatusDesc.DomainValue = $projection.AllocationOverallStatus
[0..1] I_GHOAllocOverallStatusSearch _AllocStatusTextSearch $projection.AllocationOverallStatus = _AllocStatusTextSearch.AllocationOverallStatus

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Allocation Status view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY AllocationRunID AllocationRunID
GHONetworkID GHONetworkID Netw Object ID
NetworkMedium NetworkMedium Medium ID
AllocationFrequencyCode AllocationFrequencyCode Frequency ID
ProdnAllocUTCDteTme ProdnAllocUTCDteTme
ProductionAllocationDate ProductionAllocationDate
ProductionAllocationTime ProductionAllocationTime
ProductionAllocationType ProductionAllocationType Allocation Type
NetworkAllocationPurpose NetworkAllocationPurpose Allocation Purpose
ProdnAllocBusinessStatus ProdnAllocBusinessStatus
NetworkAllocationStatus NetworkAllocationStatus
UserStatusProfile UserStatusProfile
_AllocStatusDesc _AllocStatusDesc
_JobWorklist _JobWorklist
_UserStatusProfile _UserStatusProfile
_AllocStatusTextSearch _AllocStatusTextSearch

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_GHOAllocationStatus.
-- 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_GHOAllocationStatus AS
SELECT
  AllocationRunID,
  GHONetworkID,
  NetworkMedium,
  AllocationFrequencyCode,
  ProdnAllocUTCDteTme,
  ProductionAllocationDate,
  ProductionAllocationTime,
  ProductionAllocationType,
  NetworkAllocationPurpose,
  ProdnAllocBusinessStatus,
  NetworkAllocationStatus,
  UserStatusProfile
FROM I_GHOAllocBusinessKey
LEFT OUTER JOIN I_ReadDomainFixedValues AS _AllocStatusDesc ON _AllocStatusDesc.SAPDataDictionaryDomain = 'GHO_OVERALL_ALLOC_STATUS' AND _AllocStatusDesc.DomainValue = AllocationOverallStatus  -- association [0..*]
LEFT OUTER JOIN I_GHOAllocOverallStatusSearch AS _AllocStatusTextSearch ON AllocationOverallStatus = _AllocStatusTextSearch.AllocationOverallStatus  -- association [0..1]
;