I_RESalesReportingFrqcyAssgmt

DDL: I_RESALESREPORTINGFRQCYASSGMT SQL: IRESALESRPTGFRQC Type: view BASIC Package: VDM_RE_SR

RE Sales Reporting Frequency Assigment

I_RESalesReportingFrqcyAssgmt is a Basic CDS View that provides data about "RE Sales Reporting Frequency Assigment" in SAP S/4HANA. It reads from 1 data source (visrtmrprh) and exposes 16 fields with key fields InternalRealEstateNumber, RESalesReportingTermNumber, ValidityStartDate, RESalesRhythmType. It has 3 associations to related views. Part of development package VDM_RE_SR.

Data Sources (1)

SourceAliasJoin Type
visrtmrprh _SalesRuleReportingFrqcyAssgmt from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_REKeyAssgmt _REKeyAssgmt $projection.InternalRealEstateNumber = _REKeyAssgmt.InternalRealEstateNumber
[0..1] I_RESalesRhythmType _RESalesRhythmType $projection.RESalesRhythmType = _RESalesRhythmType.RESalesRhythmType
[0..1] I_REFixedPeriod _REFixedPeriod $projection.REFixedPeriod = _REFixedPeriod.REFixedPeriod

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IRESALESRPTGFRQC view
AbapCatalog.dataMaintenance #RESTRICTED view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.representativeKey RESalesReportingTermNumber view
VDM.viewType #BASIC view
EndUserText.label RE Sales Reporting Frequency Assigment view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY InternalRealEstateNumber intreno Source Object
KEY RESalesReportingTermNumber rptermno RepRuleNo.
KEY ValidityStartDate rpvalidfrom Valid From
KEY RESalesRhythmType rhythmtype Frequency Type
REFrequencyStartDate rhytmbegin Frequency Start
RENumberOfFrequencyUnits Reporting Frequency
REFrequencyUnit Frequency Unit
REFixedPeriod fixper Fixed Periods
RESalesReportingTolerance tolerance Weight Tolerance
RESalesReportingToleranceUnit tolerancein Tolerance in
RESalesRptgToleranceCalendar calendar Workdays only
REFrequencyExcludedStartDate rhytmbeginexcl Exclusion Start
REFrequencyExcludedEndDate Exclusion End
_REKeyAssgmt _REKeyAssgmt
_RESalesRhythmType _RESalesRhythmType
_REFixedPeriod _REFixedPeriod

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_RESalesReportingFrqcyAssgmt.
-- 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: IRESALESRPTGFRQC

CREATE VIEW I_RESalesReportingFrqcyAssgmt AS
SELECT
  intreno AS InternalRealEstateNumber,
  rptermno AS RESalesReportingTermNumber,
  rpvalidfrom AS ValidityStartDate,
  rhythmtype AS RESalesRhythmType,
  rhytmbegin AS REFrequencyStartDate,
  cast( frequency as recdvdmfrequency preserving type ) AS RENumberOfFrequencyUnits,
  cast( frequencyunit as recdvdmfrequencyunit ) AS REFrequencyUnit,
  fixper AS REFixedPeriod,
  tolerance AS RESalesReportingTolerance,
  tolerancein AS RESalesReportingToleranceUnit,
  calendar AS RESalesRptgToleranceCalendar,
  rhytmbeginexcl AS REFrequencyExcludedStartDate,
  cast( rhytmendexcl as rebdvdmvalidto ) AS REFrequencyExcludedEndDate
FROM visrtmrprh AS _SalesRuleReportingFrqcyAssgmt
LEFT OUTER JOIN I_REKeyAssgmt AS _REKeyAssgmt ON InternalRealEstateNumber = _REKeyAssgmt.InternalRealEstateNumber  -- association [1..1]
LEFT OUTER JOIN I_RESalesRhythmType AS _RESalesRhythmType ON RESalesRhythmType = _RESalesRhythmType.RESalesRhythmType  -- association [0..1]
LEFT OUTER JOIN I_REFixedPeriod AS _REFixedPeriod ON REFixedPeriod = _REFixedPeriod.REFixedPeriod  -- association [0..1]
;