I_REPaymentCashFlow

DDL: I_REPAYMENTCASHFLOW SQL: IRECDCFPAY Type: view BASIC

Real Estate Payment Related Cash Flow

I_REPaymentCashFlow is a Basic CDS View that provides data about "Real Estate Payment Related Cash Flow" in SAP S/4HANA. It reads from 1 data source (vicdcfpay) and exposes 126 fields with key field PayRelatedCashFlowRecordUUID. It has 23 associations to related views.

Data Sources (1)

SourceAliasJoin Type
vicdcfpay vicdcfpay from

Associations (23)

CardinalityTargetAliasCondition
[1..1] I_REContract _REContract $projection.InternalRealEstateNumber = _REContract.InternalRealEstateNumber
[1..1] I_RECondition _RECondition $projection.REConditionUUID = _RECondition.REConditionUUID
[0..1] I_REConditionType _REConditionType $projection.REConditionType = _REConditionType.REConditionType
[0..1] I_REDocumentHeader _REDocumentHeader $projection.REDocumentReferenceUUID = _REDocumentHeader.RealEstateDocumentUUID
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _ChangedByUser $projection.LastChangedByUser = _ChangedByUser.UserID
[1..*] I_REPostingTerm _REPostingTerm $projection.InternalRealEstateNumber = _REPostingTerm.InternalRealEstateNumber and $projection.REPostingTerm = _REPostingTerm.RETermNumber
[1..*] I_RERhythmTerm _RERhythmTerm $projection.InternalRealEstateNumber = _RERhythmTerm.InternalRealEstateNumber and $projection.RERhythmTerm = _RERhythmTerm.RETermNumber
[0..1] I_RETaxType _RETaxType $projection.TaxCountry = _RETaxType.Country and $projection.RETaxType = _RETaxType.RETaxType
[0..1] I_RETaxGroup _RETaxGroup $projection.TaxGroup = _RETaxGroup.TaxGroup
[0..1] I_Country _TaxCountry $projection.TaxCountry = _TaxCountry.Country
[0..1] I_REFlowType _REFlowType $projection.REFlowType = _REFlowType.REFlowType
[0..1] I_REFlowType _REOriglFlowType $projection.REOriginalFlowType = _REOriglFlowType.REFlowType
[0..1] I_RERelshpOriglToFlowType _RERelshpOriglToFlowType $projection.RERelshpOriglToFlowType = _RERelshpOriglToFlowType.RERelshpOriglToFlowType
[0..1] I_REFlowType _REBookedFlowType $projection.REBookedFlowType = _REBookedFlowType.REFlowType
[0..1] I_RERelshpOriglToFlowType _RERelshpBookedToFlowType $projection.RERelshpBookedToFlowType = _RERelshpBookedToFlowType.RERelshpOriglToFlowType
[0..1] I_PlanningLevel _PlanningLevel $projection.PlanningLevel = _PlanningLevel.PlanningLevel
[0..1] I_REProRataMethod _REProRateMethod $projection.REProRataMethod = _REProRateMethod.REProRataMethod
[0..1] I_RECashFlowItemOrigin _RECashFlowItemOrigin $projection.CashFlowItemOrigin = _RECashFlowItemOrigin.CashFlowItemOrigin
[0..1] I_RECashFlowPostingStatus _RECashFlowPostingStatus $projection.CashFlowPostingStatus = _RECashFlowPostingStatus.CashFlowPostingStatus
[0..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[0..1] I_REAdvancePaytRlvtStatus _REAdvancePaytRlvtStatus $projection.REAdvancePaymentRelevantStatus = _REAdvancePaytRlvtStatus.REAdvancePaymentRelevantStatus
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IRECDCFPAY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Real Estate Payment Related Cash Flow view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (126)

KeyFieldSource TableSource FieldDescription
KEY PayRelatedCashFlowRecordUUID cfpayguid GUID
REConditionUUID condguid Condition
ValidityStartDate condvalidfrom Valid From
REDocumentReferenceUUID refguid Reference GUID
InternalRealEstateNumber intreno Source Object
CreatedByUser rerf Entered By
CreationDate derf First Enterd On
CreationTime terf Time of Entry
RESourceOfCreation reher Source.In.Entry
LastChangedByUser rbear Last Changed By
LastChangeDate dbear Last Processing
LastChangeTime tbear Last Edited At
RESourceOfChange rbher Editing Source
RECashFlowPositionAmount bbwhr Posit.-changing amnt
FinTransFlowNomAmt Nominal amount
CalculationPeriodStartDate dbervon CalculationFrom
CalcPeriodStartDateIsExclusive sexclvon Exclusive Start
CalcPeriodStartDateIsMonthEnd sultvon Mth-End StartDt
CalculationPeriodEndDate dberbis Calculation To
CalcPeriodEndDateIsInclusive sinclbis Incl. End Date
CalcPeriodEndDateIsMonthEnd sultbis Month-End EndDt
CalculationDate dvalut Calculat. date
CalcDateIsAsEndDateInclusive sincl Inclusive Ind.
CalculationDateIsMonthEnd svult Month-End Calc.
PaymentDueDate dfaell Due on
DueDateIsMonthEnd sfult Month-End DueDt
NextWorkingDateForPayDueDate ddispo Payment date
NumberOfDays atage Number of Days
NumberOfCalculationDays apertage No.Days in Per.
InterestBaseDaysMethod stgbasis Base Days Meth.
InterestCalculationMethod szbmeth Int.calc.method
REBeginOfPeriodDate dbperiod Period start
PeriodStartDateIsExclusive spaexcl Exclusive Start
PeriodStartDateIsMonthEnd spault MonEndIndStPer
REEndOfPeriodDate deperiod Period end
PeriodEndDateIsInclusive speincl InclusiveEndPer
PeriodEndDateIsMonthEnd speult MthEndPerEnd
REConditionCurrency swhrkond Currency
REUnitPrice bkond Condition amnt
REProRataMethod Pro Rata Temp.
REPaymentStatus ssalbas Indicator for debit position/incoming pmnt (internal FiMa)
CashFlowConditionGroup skondgrp Cond. group
RECashFlowLoclNetAmount lcnetamount Net local curr.
RECashFlowLoclGrossAmount lcgrossamount LC amount
RECashFlowLoclTaxAmount lctaxamount Sls/Prch.Tax LC
RECashFlowLoclCurrency localcurr Local Currency
RECashFlowConditionNetAmount ccnetamount Net CndCrcy
RECashFlowConditionGrossAmount ccgrossamount Gross CndCrcy
RECashFlowConditionTaxAmount cctaxamount Tax in CndCrcy
RECashFlowConditionCurrency condcurr Currency
RETaxType taxtype Tax Type
TaxGroup taxgroup Tax Group
TaxJurisdiction txjcd Tax Jurisdict.
REIsConditionGrossAmount isgross Gross
TaxCountry taxcountry Tax Ctry/Reg.
CashFlowItemOrigin wherefrom Origin
REFlowType flowtype Update Type
REOriginalFlowType Orig. Flow Type
RERelshpOriglToFlowType Relatnshp Type
CashFlowPostingStatus Status
PlanningLevel fdlev Planning Level
IsToBeArchived fdelete Deletion Indic.
REOriglDueDate origduedate Orig. Due Date
BusinessPartner partner With Partner
REPartnerStatusObject partnerobjnr Object Number
REConditionType condtype Condition Type
REPostingTerm termnopy Posting Term
RERhythmTerm termnorh Frequency Term
REAdjustmentNumber termnoaj Adjust. Term
REOrgAssignmentTerm termnooa Org. Term
RESalesTerm termnosr Sales Term
REPeakSalesTerm termnomr Peak Sales Term
REWithholdingTaxTerm termnowt WT Term
REOriglExDueDate origexduedate Orig. Due Date
REAdvancePaymentRelevantStatus seapstatus AP Status
PostingDate postingdate Posting Date for GR
DocumentDate documentdate Journal Entry Date
ExchangeRateDate valuationdate Valuation Date
REReversalForUUID reversal_for Reversal GUID
REReversalByUUID reversal_by Revrsd by GUID
REFollowUpPostingUUID followup_for FUP GUID
REBookedFlowType Flow Type
RERelshpBookedToFlowType Relatnshp Type
RETaxCalcDate taxdate Taxation Date
REModifiedDueDate modduedate Modif. Due Date
RECalcDueDate calcduedate Calc. Due Date
SplitCashFlowRecordUUID cfsplitforguid GUID
RecordIsBasisForSplit cfsplitbasis Split Basis
REConditionSplitNumber cdsplitno Split Number
CompanyCode companycode Receiver Company Code
CashPlanningGroup cmcfgroup Planning group
RECurrencyTranslationRule ctrule CrcyTranslRule
RETrnsltnRuleLoclNetAmount ctlcnetamount Net in LC
RETrnsltnRuleLoclGrossAmount ctlcgrossamount Gross in LC
RETrnsltnRuleLoclTaxAmount ctlctaxamount LC Tax Amount
ExchangeRate ctrate Exchange Rate
REOriginExchangeRate ctrateorig Exchange Rate
REIsPostInConditionCurrency ctpostcdcurr Post in CndCrcy
REPlndTranslationDate ctdatereq Plan.Trsl.Date
REActlTranslationDate ctdateact Actual TrslDate
REOriglActlTranslationDate ctdateactorig Actual TrslDate
REIsTranslationDateFrmCashFlow ctdatefromcfpos From Cash Flow
REStatusObject objnrcond Object Number
_REContract _REContract
_RECondition _RECondition
_REConditionType _REConditionType
_REDocumentHeader _REDocumentHeader
_RERhythmTerm _RERhythmTerm
_REPostingTerm _REPostingTerm
_CreatedByUser _CreatedByUser
_ChangedByUser _ChangedByUser
_RETaxType _RETaxType
_RETaxGroup _RETaxGroup
_TaxCountry _TaxCountry
_REFlowType _REFlowType
_REOriglFlowType _REOriglFlowType
_PlanningLevel _PlanningLevel
_REProRateMethod _REProRateMethod
_RECashFlowItemOrigin _RECashFlowItemOrigin
_RERelshpOriglToFlowType _RERelshpOriglToFlowType
_RECashFlowPostingStatus _RECashFlowPostingStatus
_BusinessPartner _BusinessPartner
_REAdvancePaytRlvtStatus _REAdvancePaytRlvtStatus
_CompanyCode _CompanyCode
_REBookedFlowType _REBookedFlowType
_RERelshpBookedToFlowType _RERelshpBookedToFlowType

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_REPaymentCashFlow.
-- 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: IRECDCFPAY

CREATE VIEW I_REPaymentCashFlow AS
SELECT
  cfpayguid AS PayRelatedCashFlowRecordUUID,
  condguid AS REConditionUUID,
  condvalidfrom AS ValidityStartDate,
  refguid AS REDocumentReferenceUUID,
  intreno AS InternalRealEstateNumber,
  rerf AS CreatedByUser,
  derf AS CreationDate,
  terf AS CreationTime,
  reher AS RESourceOfCreation,
  rbear AS LastChangedByUser,
  dbear AS LastChangeDate,
  tbear AS LastChangeTime,
  rbher AS RESourceOfChange,
  bbwhr AS RECashFlowPositionAmount,
  cast ( bnwhr as recfvdmnetamt ) AS FinTransFlowNomAmt,
  dbervon AS CalculationPeriodStartDate,
  sexclvon AS CalcPeriodStartDateIsExclusive,
  sultvon AS CalcPeriodStartDateIsMonthEnd,
  dberbis AS CalculationPeriodEndDate,
  sinclbis AS CalcPeriodEndDateIsInclusive,
  sultbis AS CalcPeriodEndDateIsMonthEnd,
  dvalut AS CalculationDate,
  sincl AS CalcDateIsAsEndDateInclusive,
  svult AS CalculationDateIsMonthEnd,
  dfaell AS PaymentDueDate,
  sfult AS DueDateIsMonthEnd,
  ddispo AS NextWorkingDateForPayDueDate,
  atage AS NumberOfDays,
  apertage AS NumberOfCalculationDays,
  stgbasis AS InterestBaseDaysMethod,
  szbmeth AS InterestCalculationMethod,
  dbperiod AS REBeginOfPeriodDate,
  spaexcl AS PeriodStartDateIsExclusive,
  spault AS PeriodStartDateIsMonthEnd,
  deperiod AS REEndOfPeriodDate,
  speincl AS PeriodEndDateIsInclusive,
  speult AS PeriodEndDateIsMonthEnd,
  swhrkond AS REConditionCurrency,
  bkond AS REUnitPrice,
  cast ( szeitant as recdvdmprorate ) AS REProRataMethod,
  ssalbas AS REPaymentStatus,
  skondgrp AS CashFlowConditionGroup,
  lcnetamount AS RECashFlowLoclNetAmount,
  lcgrossamount AS RECashFlowLoclGrossAmount,
  lctaxamount AS RECashFlowLoclTaxAmount,
  localcurr AS RECashFlowLoclCurrency,
  ccnetamount AS RECashFlowConditionNetAmount,
  ccgrossamount AS RECashFlowConditionGrossAmount,
  cctaxamount AS RECashFlowConditionTaxAmount,
  condcurr AS RECashFlowConditionCurrency,
  taxtype AS RETaxType,
  TaxGroup,
  txjcd AS TaxJurisdiction,
  isgross AS REIsConditionGrossAmount,
  TaxCountry,
  wherefrom AS CashFlowItemOrigin,
  flowtype AS REFlowType,
  cast ( origflowtype as recdoflowtype) AS REOriginalFlowType,
  cast ( refflowrel as recdorefflowrel ) AS RERelshpOriglToFlowType,
  cast( cfstatus as recfvdmcfstatus) AS CashFlowPostingStatus,
  fdlev AS PlanningLevel,
  fdelete AS IsToBeArchived,
  origduedate AS REOriglDueDate,
  partner AS BusinessPartner,
  partnerobjnr AS REPartnerStatusObject,
  condtype AS REConditionType,
  termnopy AS REPostingTerm,
  termnorh AS RERhythmTerm,
  termnoaj AS REAdjustmentNumber,
  termnooa AS REOrgAssignmentTerm,
  termnosr AS RESalesTerm,
  termnomr AS REPeakSalesTerm,
  termnowt AS REWithholdingTaxTerm,
  origexduedate AS REOriglExDueDate,
  seapstatus AS REAdvancePaymentRelevantStatus,
  PostingDate,
  DocumentDate,
  valuationdate AS ExchangeRateDate,
  reversal_for AS REReversalForUUID,
  reversal_by AS REReversalByUUID,
  followup_for AS REFollowUpPostingUUID,
  cast( book_flowtype as recdbflowtype ) AS REBookedFlowType,
  cast( book_refflowrel as recdbrefflowrel ) AS RERelshpBookedToFlowType,
  taxdate AS RETaxCalcDate,
  modduedate AS REModifiedDueDate,
  calcduedate AS RECalcDueDate,
  cfsplitforguid AS SplitCashFlowRecordUUID,
  cfsplitbasis AS RecordIsBasisForSplit,
  cdsplitno AS REConditionSplitNumber,
  CompanyCode,
  cmcfgroup AS CashPlanningGroup,
  ctrule AS RECurrencyTranslationRule,
  ctlcnetamount AS RETrnsltnRuleLoclNetAmount,
  ctlcgrossamount AS RETrnsltnRuleLoclGrossAmount,
  ctlctaxamount AS RETrnsltnRuleLoclTaxAmount,
  ctrate AS ExchangeRate,
  ctrateorig AS REOriginExchangeRate,
  ctpostcdcurr AS REIsPostInConditionCurrency,
  ctdatereq AS REPlndTranslationDate,
  ctdateact AS REActlTranslationDate,
  ctdateactorig AS REOriglActlTranslationDate,
  ctdatefromcfpos AS REIsTranslationDateFrmCashFlow,
  objnrcond AS REStatusObject
FROM vicdcfpay
LEFT OUTER JOIN I_REContract AS _REContract ON InternalRealEstateNumber = _REContract.InternalRealEstateNumber  -- association [1..1]
LEFT OUTER JOIN I_RECondition AS _RECondition ON REConditionUUID = _RECondition.REConditionUUID  -- association [1..1]
LEFT OUTER JOIN I_REConditionType AS _REConditionType ON REConditionType = _REConditionType.REConditionType  -- association [0..1]
LEFT OUTER JOIN I_REDocumentHeader AS _REDocumentHeader ON REDocumentReferenceUUID = _REDocumentHeader.RealEstateDocumentUUID  -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _ChangedByUser ON LastChangedByUser = _ChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_REPostingTerm AS _REPostingTerm ON InternalRealEstateNumber = _REPostingTerm.InternalRealEstateNumber AND REPostingTerm = _REPostingTerm.RETermNumber  -- association [1..*]
LEFT OUTER JOIN I_RERhythmTerm AS _RERhythmTerm ON InternalRealEstateNumber = _RERhythmTerm.InternalRealEstateNumber AND RERhythmTerm = _RERhythmTerm.RETermNumber  -- association [1..*]
LEFT OUTER JOIN I_RETaxType AS _RETaxType ON TaxCountry = _RETaxType.Country AND RETaxType = _RETaxType.RETaxType  -- association [0..1]
LEFT OUTER JOIN I_RETaxGroup AS _RETaxGroup ON TaxGroup = _RETaxGroup.TaxGroup  -- association [0..1]
LEFT OUTER JOIN I_Country AS _TaxCountry ON TaxCountry = _TaxCountry.Country  -- association [0..1]
LEFT OUTER JOIN I_REFlowType AS _REFlowType ON REFlowType = _REFlowType.REFlowType  -- association [0..1]
LEFT OUTER JOIN I_REFlowType AS _REOriglFlowType ON REOriginalFlowType = _REOriglFlowType.REFlowType  -- association [0..1]
LEFT OUTER JOIN I_RERelshpOriglToFlowType AS _RERelshpOriglToFlowType ON RERelshpOriglToFlowType = _RERelshpOriglToFlowType.RERelshpOriglToFlowType  -- association [0..1]
LEFT OUTER JOIN I_REFlowType AS _REBookedFlowType ON REBookedFlowType = _REBookedFlowType.REFlowType  -- association [0..1]
LEFT OUTER JOIN I_RERelshpOriglToFlowType AS _RERelshpBookedToFlowType ON RERelshpBookedToFlowType = _RERelshpBookedToFlowType.RERelshpOriglToFlowType  -- association [0..1]
LEFT OUTER JOIN I_PlanningLevel AS _PlanningLevel ON PlanningLevel = _PlanningLevel.PlanningLevel  -- association [0..1]
LEFT OUTER JOIN I_REProRataMethod AS _REProRateMethod ON REProRataMethod = _REProRateMethod.REProRataMethod  -- association [0..1]
LEFT OUTER JOIN I_RECashFlowItemOrigin AS _RECashFlowItemOrigin ON CashFlowItemOrigin = _RECashFlowItemOrigin.CashFlowItemOrigin  -- association [0..1]
LEFT OUTER JOIN I_RECashFlowPostingStatus AS _RECashFlowPostingStatus ON CashFlowPostingStatus = _RECashFlowPostingStatus.CashFlowPostingStatus  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_REAdvancePaytRlvtStatus AS _REAdvancePaytRlvtStatus ON REAdvancePaymentRelevantStatus = _REAdvancePaytRlvtStatus.REAdvancePaymentRelevantStatus  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
;