I_InternalOrderSystemStatus

DDL: I_INTERNALORDERSYSTEMSTATUS SQL: IFIINDORDSYSSTS Type: view BASIC

Internal Order System Status

I_InternalOrderSystemStatus is a Basic CDS View (Dimension) that provides data about "Internal Order System Status" in SAP S/4HANA. It has 2 associations to related views.

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_InternalOrderSystemStatusT _Text $projection.ControllingObjectStatus = _Text.SystemStatus
[0..1] I_ControllingObject _ControllingObject $projection.ControllingObject = _ControllingObject.ControllingObject

Annotations (15)

NameValueLevelField
EndUserText.label Internal Order System Status view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IFIINDORDSYSSTS view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey ControllingObjectStatus view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.allowExtensions true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ControllingObject jest objnr
KEY ControllingObjectStatus jest stat
StatusIsInactive jest inact
StatusObjectStatusChangeNumber jest chgnr
ControllingArea aufk kokrs
_Text _Text
_ControllingObject _ControllingObject
@EndUserText.label: 'Internal Order System Status'
@Analytics: { dataCategory: #DIMENSION, dataExtraction.enabled: true }
@Analytics.internalName:#LOCAL
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IFIINDORDSYSSTS'
@AbapCatalog.preserveKey:true 
@AbapCatalog.compiler.compareFilter:true 
@AccessControl.authorizationCheck: #CHECK //Inserted by VDM CDS Suite Plugin

@ObjectModel.representativeKey: 'ControllingObjectStatus'
@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@Metadata.allowExtensions:true

define view I_InternalOrderSystemStatus
  as select from(
           jest
      join aufk on jest.objnr = aufk.objnr
  )
  association [0..*] to I_InternalOrderSystemStatusT as _Text              on $projection.ControllingObjectStatus = _Text.SystemStatus
  association [0..1] to I_ControllingObject          as _ControllingObject on $projection.ControllingObject = _ControllingObject.ControllingObject
{
      @ObjectModel.foreignKey.association: '_ControllingObject'
  key jest.objnr as ControllingObject,
      @ObjectModel.text.association: '_Text'
  key jest.stat  as ControllingObjectStatus,
      jest.inact as StatusIsInactive,
      jest.chgnr as StatusObjectStatusChangeNumber,
      aufk.kokrs as ControllingArea,
      
      _Text,
      _ControllingObject
}
where
  (
       jest.stat  = 'I0001' //Status: Created

    or jest.stat  = 'I0002' //Status: Released

    or jest.stat  = 'I0045' //Status: Technically completed

    or jest.stat  = 'I0046'
  ) //Status: Closed

  //   or jest.stat = 'I0076' )     //Status: Deletion Flag

  and  jest.inact = ' '
  and  ( aufk.autyp = '01' or aufk.autyp = '02' )