I_RblsFinancingDoc

DDL: I_RBLSFINANCINGDOC Type: view_entity BASIC Package: FTRF_FINCG_DOCUMENT_BO

Receivables Financing Document

I_RblsFinancingDoc is a Basic CDS View that provides data about "Receivables Financing Document" in SAP S/4HANA. It reads from 1 data source (ftrf_fdoc) and exposes 30 fields with key field RblsFinancingDocumentUUID. It has 8 associations to related views. Part of development package FTRF_FINCG_DOCUMENT_BO.

Data Sources (1)

SourceAliasJoin Type
ftrf_fdoc ftrf_fdoc from

Associations (8)

CardinalityTargetAliasCondition
[1..1] I_Supplier _Funder $projection.ReceivablesFinancingFunder = _Funder.Supplier
[1..1] I_Currency _Currency $projection.TransactionCurrency = _Currency.Currency
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_UserContactCard _CreatedBy $projection.CreatedByUser = _CreatedBy.ContactCardID
[0..1] I_UserContactCard _LastChangedBy $projection.LastChangedByUser = _LastChangedBy.ContactCardID
[1..1] I_RblsFinancingDocStatus _FinancingDocStatus $projection.RblsFinancingDocStatus = _FinancingDocStatus.RblsFinancingDocStatus
[1..1] I_ReceivablesFinancingType _FinancingType $projection.ReceivablesFinancingType = _FinancingType.ReceivablesFinancingType
[1..1] I_RblsFinancingApplication _Application $projection.ReceivablePayableApplication = _Application.ReceivablePayableApplication

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Receivables Financing Document view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY RblsFinancingDocumentUUID document_uuid UUID
ReceivablesFinancingDocument document_id Snapshot ID
RblsFinancingDocExternalID document_external_id
ReceivablesFinancingType financing_type
RblsFinancingDocStatus document_status Status
RblsFinancingDocumentDate document_date Reversal Doc Date
RblsFinancingAgreementUUID agrmt_uuid
ReceivablesFinancingFunder funder_id
BankIdentification funder_bank_account_id
ReceivablePayableApplication application UI Application
CompanyCode company_code Company Code
TransactionCurrency transaction_currency Transaction Currency
RblsFinancingPrepaymentAmt prepayment_amount
ReceivablesFinancingFeeAmount financing_fee_amount
RblsFinancingFeePercent financing_fee_pct
RblsFinancingMaturityPaytAmt maturity_payment_amount
RblsFinancingMaturityDueDate maturity_payment_date
CreatedByUser created_by Version Created By
CreationDateTime created_at Uploaded On
LastChangedByUser last_changed_by Username
LastChangedAtDateTime last_changed_at Timestamp
RblsFincgBizPurposeIsCompleted xblocked Purpose Completed
_Funder _Funder
_Currency _Currency
_CompanyCode _CompanyCode
_CreatedBy _CreatedBy
_LastChangedBy _LastChangedBy
_FinancingDocStatus _FinancingDocStatus
_FinancingType _FinancingType
_Application _Application

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_RblsFinancingDoc.
-- 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.

CREATE VIEW I_RblsFinancingDoc AS
SELECT
  document_uuid AS RblsFinancingDocumentUUID,
  document_id AS ReceivablesFinancingDocument,
  document_external_id AS RblsFinancingDocExternalID,
  financing_type AS ReceivablesFinancingType,
  document_status AS RblsFinancingDocStatus,
  document_date AS RblsFinancingDocumentDate,
  agrmt_uuid AS RblsFinancingAgreementUUID,
  funder_id AS ReceivablesFinancingFunder,
  funder_bank_account_id AS BankIdentification,
  application AS ReceivablePayableApplication,
  company_code AS CompanyCode,
  transaction_currency AS TransactionCurrency,
  prepayment_amount AS RblsFinancingPrepaymentAmt,
  financing_fee_amount AS ReceivablesFinancingFeeAmount,
  financing_fee_pct AS RblsFinancingFeePercent,
  maturity_payment_amount AS RblsFinancingMaturityPaytAmt,
  maturity_payment_date AS RblsFinancingMaturityDueDate,
  created_by AS CreatedByUser,
  created_at AS CreationDateTime,
  last_changed_by AS LastChangedByUser,
  last_changed_at AS LastChangedAtDateTime,
  xblocked AS RblsFincgBizPurposeIsCompleted
FROM ftrf_fdoc
LEFT OUTER JOIN I_Supplier AS _Funder ON ReceivablesFinancingFunder = _Funder.Supplier  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON TransactionCurrency = _Currency.Currency  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_UserContactCard AS _CreatedBy ON CreatedByUser = _CreatedBy.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _LastChangedBy ON LastChangedByUser = _LastChangedBy.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_RblsFinancingDocStatus AS _FinancingDocStatus ON RblsFinancingDocStatus = _FinancingDocStatus.RblsFinancingDocStatus  -- association [1..1]
LEFT OUTER JOIN I_ReceivablesFinancingType AS _FinancingType ON ReceivablesFinancingType = _FinancingType.ReceivablesFinancingType  -- association [1..1]
LEFT OUTER JOIN I_RblsFinancingApplication AS _Application ON ReceivablePayableApplication = _Application.ReceivablePayableApplication  -- association [1..1]
;