I_REStandardNoticePeriodRule

DDL: I_RESTANDARDNOTICEPERIODRULE SQL: IRENTRULSTD Type: view BASIC

Standard Notice Period Rule

I_REStandardNoticePeriodRule is a Basic CDS View that provides data about "Standard Notice Period Rule" in SAP S/4HANA. It reads from 1 data source (tivtmntrulepr) and exposes 20 fields with key fields RENoticeRule, RENoticeSequenceNo. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
tivtmntrulepr tivtmntrulepr from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_RENoticeRule _RENoticeRule $projection.RENoticeRule = _RENoticeRule.RENoticeRule
[0..1] I_RECalendarOrWorkDay _RECalendarOrWorkDay $projection.REGracePeriodCalOrWorkDays = _RECalendarOrWorkDay.RECalendarOrWorkDay
[0..1] I_FactoryCalendar _FactoryCalendar $projection.RENoticePeriodCalendar = _FactoryCalendar.FactoryCalendar
[0..1] I_REPeriodEndRhythmType _REPeriodEndRhythmType $projection.REPeriodEndRhythmType = _REPeriodEndRhythmType.REPeriodEndRhythmType
[0..1] I_RENoticeType _RENoticeType $projection.RENoticeType = _RENoticeType.RENoticeType
[0..1] I_RENoticeRuleType _RENoticeRuleType $projection.RENoticeRuleType = _RENoticeRuleType.RENoticeRuleType

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IRENTRULSTD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Standard Notice Period Rule 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

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY RENoticeRule ntrule Notice Rule
KEY RENoticeSequenceNo ntruleno Sequence no.
RETermPeriodInYears ntlimityears Term in Years
RETermPeriodInMonths ntlimitmonths Term in Months
RETermPeriodInDays ntlimitdays Term in Days
REPeriodEndRhythmType ntrhythmtype Notice Per
RENoticePeriodInMonths ntpermonths Notice-Months
RENoticePeriodInWeeks ntperweeks Notice - Weeks
RENoticePeriodInDays ntperdays Notice Days
RENoticeGracePeriod ntpergracedays Grace Period
REGracePeriodCalOrWorkDays ntpercdwd Calend.or Bus.
RENoticePeriodCalendar ntpercalendar Calendar C/B
RENoticeType
RENoticeRuleType
_RENoticeRule _RENoticeRule
_RECalendarOrWorkDay _RECalendarOrWorkDay
_FactoryCalendar _FactoryCalendar
_REPeriodEndRhythmType _REPeriodEndRhythmType
_RENoticeType _RENoticeType
_RENoticeRuleType _RENoticeRuleType

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_REStandardNoticePeriodRule.
-- 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: IRENTRULSTD

CREATE VIEW I_REStandardNoticePeriodRule AS
SELECT
  ntrule AS RENoticeRule,
  ntruleno AS RENoticeSequenceNo,
  ntlimityears AS RETermPeriodInYears,
  ntlimitmonths AS RETermPeriodInMonths,
  ntlimitdays AS RETermPeriodInDays,
  ntrhythmtype AS REPeriodEndRhythmType,
  ntpermonths AS RENoticePeriodInMonths,
  ntperweeks AS RENoticePeriodInWeeks,
  ntperdays AS RENoticePeriodInDays,
  ntpergracedays AS RENoticeGracePeriod,
  ntpercdwd AS REGracePeriodCalOrWorkDays,
  ntpercalendar AS RENoticePeriodCalendar,
  cast( '1' as retmnttype ) AS RENoticeType,
  cast( '1' as retmntruletype) AS RENoticeRuleType
FROM tivtmntrulepr
LEFT OUTER JOIN I_RENoticeRule AS _RENoticeRule ON RENoticeRule = _RENoticeRule.RENoticeRule  -- association [0..1]
LEFT OUTER JOIN I_RECalendarOrWorkDay AS _RECalendarOrWorkDay ON REGracePeriodCalOrWorkDays = _RECalendarOrWorkDay.RECalendarOrWorkDay  -- association [0..1]
LEFT OUTER JOIN I_FactoryCalendar AS _FactoryCalendar ON RENoticePeriodCalendar = _FactoryCalendar.FactoryCalendar  -- association [0..1]
LEFT OUTER JOIN I_REPeriodEndRhythmType AS _REPeriodEndRhythmType ON REPeriodEndRhythmType = _REPeriodEndRhythmType.REPeriodEndRhythmType  -- association [0..1]
LEFT OUTER JOIN I_RENoticeType AS _RENoticeType ON RENoticeType = _RENoticeType.RENoticeType  -- association [0..1]
LEFT OUTER JOIN I_RENoticeRuleType AS _RENoticeRuleType ON RENoticeRuleType = _RENoticeRuleType.RENoticeRuleType  -- association [0..1]
;