R_FinancialTransactionFacility

DDL: R_FINANCIALTRANSACTIONFACILITY SQL: RFINTRANSFCITY Type: view BASIC

Fin Trans Facility Information

R_FinancialTransactionFacility is a Basic CDS View that provides data about "Fin Trans Facility Information" in SAP S/4HANA. It reads from 2 data sources (vtb_asgn_limit, vtb_asgn_relat) and exposes 13 fields with key fields company_codeendasCompanyCode, deal_numberendasFinancialTransaction.

Data Sources (2)

SourceAliasJoin Type
vtb_asgn_limit Limit from
vtb_asgn_relat Relat inner

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName RFINTRANSFCITY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Fin Trans Facility Information view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
Metadata.allowExtensions false view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #BASIC view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY company_codeendasCompanyCode
KEY deal_numberendasFinancialTransaction
SyndicatedCounterparty vtb_asgn_relat partner With Partner
CreditLineAssignmentObject
CreditLineAssgmtObjectCategory vtb_asgn_relat relat_obj_cat Assignment Obj.Cat.
TermStartDate vtb_asgn_relat start_date Valn start date
TermEndDate vtb_asgn_relat end_date Valn End date
CreditLineIdentifier vtb_asgn_relat credit_line Credit Line
CrdtLineRefcdAssgmtObj
CreditLineValidFromDate vtb_asgn_limit limit_date Limit Eff. From
CreditLineCurrency vtb_asgn_limit limit_currency Limit Currency
CreditLineChangeAmount
CreditLinePositionAmount

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 R_FinancialTransactionFacility.
-- 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: RFINTRANSFCITY

CREATE VIEW R_FinancialTransactionFacility AS
SELECT
  case Relat.relat_obj_cat when 'FAC' then substring(Relat.relat_obj,1,4) else Relat.company_code end as CompanyCode AS company_codeendasCompanyCode,
  case Relat.relat_obj_cat when 'FAC' then substring(Relat.relat_obj,5,13) else Relat.deal_number end as FinancialTransaction AS deal_numberendasFinancialTransaction,
  Relat.partner AS SyndicatedCounterparty,
  cast(Relat.relat_obj as crdt_line_assgmt_obj preserving type ) AS CreditLineAssignmentObject,
  Relat.relat_obj_cat AS CreditLineAssgmtObjectCategory,
  Relat.start_date AS TermStartDate,
  Relat.end_date AS TermEndDate,
  Relat.credit_line AS CreditLineIdentifier,
  cast(Relat.ref_obj as crdt_line_refcd_assgmt_obj preserving type ) AS CrdtLineRefcdAssgmtObj,
  Limit.limit_date AS CreditLineValidFromDate,
  Limit.limit_currency AS CreditLineCurrency,
  cast(Limit.limit_chg_amount as credit_line_change_amt preserving type ) AS CreditLineChangeAmount,
  cast(Limit.limit_pos_amount as credit_line_position_amt preserving type ) AS CreditLinePositionAmount
FROM vtb_asgn_limit AS Limit
INNER JOIN vtb_asgn_relat AS Relat ON /* join condition not captured in parsed metadata */
;