C_RSHOperationSimlnStatusVH

DDL: C_RSHOPERATIONSIMLNSTATUSVH SQL: CRSHOPSIMSTATVH Type: view CONSUMPTION

Operation Simulation Status Value Help

C_RSHOperationSimlnStatusVH is a Consumption CDS View that provides data about "Operation Simulation Status Value Help" in SAP S/4HANA. It reads from 1 data source (I_RSHGetDomainText) and exposes 2 fields with key field MaintOrdOpSimulationStatus.

Data Sources (1)

SourceAliasJoin Type
I_RSHGetDomainText I_RSHGetDomainText from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CRSHOPSIMSTATVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Operation Simulation Status Value Help view
ObjectModel.representativeKey MaintOrdOpSimulationStatus view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.resultSet.sizeCategory #XS view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY MaintOrdOpSimulationStatus
MaintOrdOpSimulationStatusText
@AbapCatalog.sqlViewName: 'CRSHOPSIMSTATVH' 
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Operation Simulation Status Value Help'
@ObjectModel.representativeKey: 'MaintOrdOpSimulationStatus'
@VDM.viewType: #CONSUMPTION
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.resultSet.sizeCategory: #XS

define view C_RSHOperationSimlnStatusVH
  as select from I_RSHGetDomainText
{

      //Scheduling status key

      @UI.hidden: true
      @ObjectModel.text.element:  [ 'MaintOrdOpSimulationStatusText' ]
  key cast (I_RSHGetDomainText.DomainValue as rsh_eam_processing_status )                               as MaintOrdOpSimulationStatus,

      //Scheduling Status text

      cast(I_RSHGetDomainText.DomainText as rsh_eam_oper_sim_status_text preserving type )              as MaintOrdOpSimulationStatusText

}
where
  I_RSHGetDomainText.DomainValueName = 'RSH_OPERATION_SIM_STATUS'
and DomainValue <> '30' //Don't return any text for success  

//and DomainValue <> '12'

//and DomainValue <> '22'

//and DomainValue <> '23'

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_RSHGETDOMAINTEXT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/