I_REConditionChangeReason

DDL: I_RECONDITIONCHANGEREASON SQL: IRECHGRSN Type: view BASIC

Reason for Change

I_REConditionChangeReason is a Basic CDS View (Dimension) that provides data about "Reason for Change" in SAP S/4HANA. It reads from 1 data source (tivcdchgreas) and exposes 4 fields with key fields REConditionType, REReasonForChange. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
tivcdchgreas tivcdchgreas from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_RECndnChangeReasonText _Text $projection.REConditionType = _Text.REConditionType and $projection.REReasonForChange = _Text.REReasonForChange

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IRECHGRSN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view
EndUserText.label Reason for Change view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY REConditionType condtype Condition Type
KEY REReasonForChange chgreason Change Reason
REChgIsNotRelevantForFrequency notadjmrhrel NotRel.Adj.Frq.
_Text _Text

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_REConditionChangeReason.
-- 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: IRECHGRSN

CREATE VIEW I_REConditionChangeReason AS
SELECT
  condtype AS REConditionType,
  chgreason AS REReasonForChange,
  notadjmrhrel AS REChgIsNotRelevantForFrequency
FROM tivcdchgreas
LEFT OUTER JOIN I_RECndnChangeReasonText AS _Text ON REConditionType = _Text.REConditionType AND REReasonForChange = _Text.REReasonForChange  -- association [0..*]
;