I_UnivAllocationSegmentStatus

DDL: I_UNIVALLOCATIONSEGMENTSTATUS Type: view_entity BASIC Package: ODATA_MANAGE_ALLOCATION_V2

Allocation Segment Status

I_UnivAllocationSegmentStatus is a Basic CDS View that provides data about "Allocation Segment Status" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field AllocationStatus. It has 1 association to related views. Part of development package ODATA_MANAGE_ALLOCATION_V2.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_UnivAllocSegmentStatusText _Text

Annotations (7)

NameValueLevelField
EndUserText.label Allocation Segment Status view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
Search.searchable true view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY AllocationStatus
_Text _Text
@EndUserText.label: 'Allocation Segment Status'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM: { viewType: #BASIC }
@Search.searchable: true
@ObjectModel:{
  usageType: {
     dataClass:      #META,
     serviceQuality: #A,
     sizeCategory:   #M } }
define root view entity I_UnivAllocationSegmentStatus
  as select from dd07l
  composition [0..*] of I_UnivAllocSegmentStatusText as _Text
{
      @Search.defaultSearchElement: true
      @Search.ranking: #HIGH
      @ObjectModel.text.association: '_Text'
  key cast( dd07l.domvalue_l as fcoua_segment_status ) as AllocationStatus,

      cast ( case dd07l.domvalue_l
        when 'X' then 1 //green

        else 3
      end as eve_tv_criticality )                      as CriticalityCode,
      
      _Text
}
where
      dd07l.domname  = 'FCOUA_SEGMENT_STATUS'
  and dd07l.as4local = 'A'
  and dd07l.as4vers  = '0000'