I_REAdjustmentRule

DDL: I_READJUSTMENTRULE SQL: IREADJRULE Type: view BASIC

Adjustment Rule

I_REAdjustmentRule is a Basic CDS View that provides data about "Adjustment Rule" in SAP S/4HANA. It reads from 1 data source (tivajrule) and exposes 34 fields with key field REAdjustmentRule. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
tivajrule tivajrule from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_RECurrencyTranslationRule _RECurrencyTranslationRule $projection.RECurrencyTranslationRule = _RECurrencyTranslationRule.RECurrencyTranslationRule
[0..1] I_REConditionType _REConditionType $projection.REConditionType = _REConditionType.REConditionType
[0..1] I_REAdjustmentBlockReason _REAdjustmentBlockReason $projection.REAdjustmentMethod = _REAdjustmentBlockReason.REAdjustmentMethod and $projection.REAdjustmentBlockReason = _REAdjustmentBlockReason.REAdjustmentBlockReason
[1..1] I_REAdjustmentMethod _REAdjustmentMethod $projection.REAdjustmentMethod = _REAdjustmentMethod.REAdjustmentMethod
[0..*] I_REAdjustmentRuleText _Text

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IREADJRULE view
ObjectModel.representativeKey REAdjustmentRule view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Adjustment Rule view

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY REAdjustmentRule adjmrule Adjustment Rule
REAdjustmentMethod adjmmeth Adj. Method
RERuleIsChangeable rulechangeable Entry status
REAdjustmentRuleIsCombined isrulecomb Combined Rule
REAdjustmentRuleIsPartlyCmbnd ispartcomb Only Pt Cb Rule
REIsRuleApprovalRequired approval ReadyToPrc Appr.
REIsActvtnWithoutApprvl actifnoappr Act. w/o App.
REIsDueDateChangeable dtchangeable Date Changeable
REAdjustmentPercentPassedValue percentagepass Pass-On %
REHasRentalObjectIncrease userorateinc Con.Inc.% of RO
REAdjustmentDirection adjmdirection Adj. Direction
REAdjustmentChangeDirection changedirection Change Direct.
REAdjustmentFrequency rhythm Posting Freqncy
REFrequencyUnit Adj. Freq. Unit
REIsIntervalFromFrqcyStart rhythmbegin Frequency Start
REIsSimulationRule simulationrule Simulation Only
RERuleHasNoDocument nodocument No Adj. Doc.
REAdjustmentSubsqntCondition adjmcotype Infl.Subs.Cond.
REAdjustmentIsOnNextNotice nextadjmnotice On Notice Date
REAdjustmentBase adjmbase Adj.Basis
REAdjustmentIsAutoDefault autodefault Aut.DefaultOnly
REAdjustmentIsNotifRequired announce Notif.Required
RERuleSortOrder ruleorder Sequence
REAdjustmentIsTimeDependent timedeptype Time-Dependency
REAdjustmentDueDateIsMandatory ddupmandatory Due Date Reqrd
REAdjustmentIsNotRetroActive noretroactive No Retro. Adj.
REAdjustmentBlockReason blockreason Lock Reason
RECurrencyTranslationRule ctrule CrcyTranslRule
REConditionType depcondtype Dep.Cond.Type
_RECurrencyTranslationRule _RECurrencyTranslationRule
_REAdjustmentMethod _REAdjustmentMethod
_REConditionType _REConditionType
_REAdjustmentBlockReason _REAdjustmentBlockReason
_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_REAdjustmentRule.
-- 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: IREADJRULE

CREATE VIEW I_REAdjustmentRule AS
SELECT
  adjmrule AS REAdjustmentRule,
  adjmmeth AS REAdjustmentMethod,
  rulechangeable AS RERuleIsChangeable,
  isrulecomb AS REAdjustmentRuleIsCombined,
  ispartcomb AS REAdjustmentRuleIsPartlyCmbnd,
  approval AS REIsRuleApprovalRequired,
  actifnoappr AS REIsActvtnWithoutApprvl,
  dtchangeable AS REIsDueDateChangeable,
  percentagepass AS REAdjustmentPercentPassedValue,
  userorateinc AS REHasRentalObjectIncrease,
  adjmdirection AS REAdjustmentDirection,
  changedirection AS REAdjustmentChangeDirection,
  rhythm AS REAdjustmentFrequency,
  cast ( rhythmunit as recdvdmfrequencyunit ) AS REFrequencyUnit,
  rhythmbegin AS REIsIntervalFromFrqcyStart,
  simulationrule AS REIsSimulationRule,
  nodocument AS RERuleHasNoDocument,
  adjmcotype AS REAdjustmentSubsqntCondition,
  nextadjmnotice AS REAdjustmentIsOnNextNotice,
  adjmbase AS REAdjustmentBase,
  autodefault AS REAdjustmentIsAutoDefault,
  announce AS REAdjustmentIsNotifRequired,
  ruleorder AS RERuleSortOrder,
  timedeptype AS REAdjustmentIsTimeDependent,
  ddupmandatory AS REAdjustmentDueDateIsMandatory,
  noretroactive AS REAdjustmentIsNotRetroActive,
  blockreason AS REAdjustmentBlockReason,
  ctrule AS RECurrencyTranslationRule,
  depcondtype AS REConditionType
FROM tivajrule
LEFT OUTER JOIN I_RECurrencyTranslationRule AS _RECurrencyTranslationRule ON RECurrencyTranslationRule = _RECurrencyTranslationRule.RECurrencyTranslationRule  -- association [0..1]
LEFT OUTER JOIN I_REConditionType AS _REConditionType ON REConditionType = _REConditionType.REConditionType  -- association [0..1]
LEFT OUTER JOIN I_REAdjustmentBlockReason AS _REAdjustmentBlockReason ON REAdjustmentMethod = _REAdjustmentBlockReason.REAdjustmentMethod AND REAdjustmentBlockReason = _REAdjustmentBlockReason.REAdjustmentBlockReason  -- association [0..1]
LEFT OUTER JOIN I_REAdjustmentMethod AS _REAdjustmentMethod ON REAdjustmentMethod = _REAdjustmentMethod.REAdjustmentMethod  -- association [1..1]
LEFT OUTER JOIN I_REAdjustmentRuleText AS _Text ON /* condition not available in parsed metadata */  -- association [0..*]
;