I_MaintOperationExecStageCode

DDL: I_MAINTOPERATIONEXECSTAGECODE SQL: IMAINOPEXESTAGEC Type: view BASIC

Maint. Operation Execution Stage Code

I_MaintOperationExecStageCode is a Basic CDS View that provides data about "Maint. Operation Execution Stage Code" in SAP S/4HANA. It reads from 1 data source (P_MaintOperationExecStageCode) and exposes 5 fields with key field MaintOperationExecStageCode. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_MaintOperationExecStageCode P_MaintOperationExecStageCode from

Associations (2)

CardinalityTargetAliasCondition
[1..*] I_MaintOpExecStageCodeText _MaintOpExecStageCodeText $projection.MaintOperationExecStageCode = _MaintOpExecStageCodeText.MaintOperationExecStageCode
[0..*] I_MaintenanceEnhancementSwitch _switch _switch.MaintenanceEnhancementSwitch = 'ASM_FIELDSCOPING' and _switch.MaintEnhancementSwitchIsActive = 'X'

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IMAINOPEXESTAGEC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Maint. Operation Execution Stage Code view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey MaintOperationExecStageCode view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY MaintOperationExecStageCode MaintOperationExecStageCode Execution Stage
MaintOpExecStageGroupCode MaintOpExecStageGroupCode Stage Group
CodeIsInactiveendasCodeIsInactive
SequenceNumber SequenceNumber Sort sequence
_MaintOpExecStageCodeText _MaintOpExecStageCodeText

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_MaintOperationExecStageCode.
-- 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: IMAINOPEXESTAGEC

CREATE VIEW I_MaintOperationExecStageCode AS
SELECT
  MaintOperationExecStageCode,
  MaintOpExecStageGroupCode,
  case when ( _switch.MaintEnhancementSwitchIsActive is not null and MaintOperationExecStageCode = '40SCOPE' ) then '' else P_MaintOperationExecStageCode.CodeIsInactive end as CodeIsInactive AS CodeIsInactiveendasCodeIsInactive,
  SequenceNumber
FROM P_MaintOperationExecStageCode
LEFT OUTER JOIN I_MaintOpExecStageCodeText AS _MaintOpExecStageCodeText ON MaintOperationExecStageCode = _MaintOpExecStageCodeText.MaintOperationExecStageCode  -- association [1..*]
LEFT OUTER JOIN I_MaintenanceEnhancementSwitch AS _switch ON _switch.MaintenanceEnhancementSwitch = 'ASM_FIELDSCOPING' AND _switch.MaintEnhancementSwitchIsActive = 'X'  -- association [0..*]
;