I_Ftr_Facility_Vh

DDL: I_FTR_FACILITY_VH SQL: IFTRFACILITYVH Type: view BASIC Package: FTTR_CORE

Facilities

I_Ftr_Facility_Vh (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Financial Operations

I_Ftr_Facility_Vh is a Basic CDS View (Dimension) that provides data about "Facilities" in SAP S/4HANA. It reads from 1 data source (vtbfha) and exposes 27 fields with key fields CompanyCode, FinancialTransaction. It has 1 association to related views. Part of development package FTTR_CORE.

SAP Help Documentation

CategoryFinancial Transaction Data
Data CategoryDIMENSION
Purpose
This CDS view is used in the app Credit Line Analysis - Review Booklet for the value help of a facility transaction. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: AUTHORIZATIONOBJECT_ID AUTHORIZATIONOBJECT_TEXT T_DEAL_PD Authorization for Product/Transaction Types

Structure
Important Fields Important fields in this view include the following: FIELD_NAME IS_KEY DATA_ELEMENT LABEL QUICK_INFO CompanyCode X BUKRS Company Code Company Code FinancialTransaction X TB_RFHA Transaction Financial Transaction FinancialInstrProductCategory FTR_GEN_FIN_INSTR_PROD_CATEG Product Category Financial Instrument Product Category TreasuryMasterAgreement TB_RMAID Master Agreement Master Agreement FinancialInstrumentStatus TB_SAKTIV Active Status Active Status of Transaction or Activity Counterparty RKONTRAH_NEW Counterparty Counterparty Number TransactionCurrency TB_WGSCHFT Transaction Currency Transaction Currency TreasuryFinanceProject TB_TFPROJ Finance Project Finance Project TreasuryFacility TB_FACILITYNR Facility Transaction Number of Facility TreasuryFacilityCompanyCode TB_FACILITYBUKRS CoCd of Facility Company Code of Facility FinancialInstrumentAssignment FTR_GEN_FIN_INSTR_ASSIGNMENT Free Assignment Free Assignment of Financial Transaction FinancialInstrumentReference FTR_GEN_FIN_INSTR_INTERNAL_REF Free Internal Ref. Free Internal Reference of Financial Transaction FinancialInstrCharacteristic FTR_GEN_FIN_INSTR_CHAR Free Charact. Free Characteristic of Financial Transaction Portfolio RPORTB Portfolio Portfolio FinancialInstrTransactionType FTR_GEN_TRANSACTION_TYPE Transaction Type Financial Instrument Transaction Type FinancialInstrumentProductType VVSART Product Type Product Type CreatedByUser TB_CRUSER Entered By Entered By BusinessArea GSBER Business Area Business Area CostCenter KOSTL Cost Center Cost Center TermStartDate TB_DBLFZ Term Start Term Start TermEndDate TB_DELFZ Term End Term End HedgingClassification TOE_HEDGING_CLASSIFICATION Hedging Classificatn Hedging Classification FinInstrumentIncomingCurrency TB_WGSCHF2 Incoming Currency Currency of Incoming Side FinInstrumentOutgoingCurrency TB_WGSCHF1 Outgoing Currency Currency of Outgoing Side ProfitCenter PRCTR Profit Center Profit Center WBSElementInternalID PS_S4_PSPNR WBS Internal ID WBS Element

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessFinancial Operations
Application ComponentFIN-FSCM-TRM-2CL
CapabilitiesAnalytical Dimension,Association Target for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageFinancial Operations for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view is used in the app Credit Line Analysis - Review Booklet for the value help of a facility transaction.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
vtbfha FinancialTransaction from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode _CompanyCode.CompanyCode = $projection.CompanyCode

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IFTRFACILITYVH view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Facilities view
ObjectModel.representativeKey FinancialTransaction view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode vtbfha bukrs Company Code
KEY FinancialTransaction vtbfha rfha Financial Transaction
FinancialInstrProductCategory Financial Instrument Product Category
TreasuryMasterAgreement vtbfha rmaid Master Agreement
FinancialInstrumentStatus vtbfha saktiv Active Status of Transaction or Activity
Counterparty Counterparty Number
TransactionCurrency vtbfha wgschft Transaction Currency
TreasuryFinanceProject vtbfha zuonr Finance Project
TreasuryFacility vtbfha facilitynr Transaction Number of Facility
TreasuryFacilityCompanyCode vtbfha facilitybukrs Company Code of Facility
FinancialInstrumentAssignment Free Assignment of Financial Transaction
FinancialInstrumentReference Free Internal Reference of Financial Transaction
FinancialInstrCharacteristic Free Characteristic of Financial Transaction
Portfolio vtbfha rportb Portfolio
FinancialInstrTransactionType Financial Instrument Transaction Type
FinancialInstrumentProductType vtbfha sgsart Product Type
CreatedByUser vtbfha cruser Entered By
BusinessArea vtbfha rbusa Business Area
CostCenter vtbfha rcntr Cost Center
TermStartDate vtbfha dblfz Term Start
TermEndDate vtbfha delfz Term End
HedgingClassification vtbfha hedge_class Hedging Classification
FinInstrumentIncomingCurrency vtbfha wgschft2 Currency of Incoming Side
FinInstrumentOutgoingCurrency vtbfha wgschft1 Currency of Outgoing Side
ProfitCenter vtbfha prctr Profit Centers
WBSElementInternalID WBS Element
_CompanyCode _CompanyCode

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_Ftr_Facility_Vh.
-- 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: IFTRFACILITYVH

CREATE VIEW I_Ftr_Facility_Vh AS
SELECT
  FinancialTransaction.bukrs AS CompanyCode,
  FinancialTransaction.rfha AS FinancialTransaction,
  cast(FinancialTransaction.sanlf as ftr_gen_fin_instr_prod_categ) AS FinancialInstrProductCategory,
  FinancialTransaction.rmaid AS TreasuryMasterAgreement,
  FinancialTransaction.saktiv AS FinancialInstrumentStatus,
  cast(FinancialTransaction.kontrh as rkontrah_new) AS Counterparty,
  FinancialTransaction.wgschft AS TransactionCurrency,
  FinancialTransaction.zuonr AS TreasuryFinanceProject,
  FinancialTransaction.facilitynr AS TreasuryFacility,
  FinancialTransaction.facilitybukrs AS TreasuryFacilityCompanyCode,
  cast(FinancialTransaction.zuond as ftr_gen_fin_instr_assignment) AS FinancialInstrumentAssignment,
  cast(FinancialTransaction.refer as ftr_gen_fin_instr_internal_ref) AS FinancialInstrumentReference,
  cast(FinancialTransaction.merkm as ftr_gen_fin_instr_char) AS FinancialInstrCharacteristic,
  FinancialTransaction.rportb AS Portfolio,
  cast(FinancialTransaction.sfhaart as ftr_gen_transaction_type) AS FinancialInstrTransactionType,
  FinancialTransaction.sgsart AS FinancialInstrumentProductType,
  FinancialTransaction.cruser AS CreatedByUser,
  FinancialTransaction.rbusa AS BusinessArea,
  FinancialTransaction.rcntr AS CostCenter,
  FinancialTransaction.dblfz AS TermStartDate,
  FinancialTransaction.delfz AS TermEndDate,
  FinancialTransaction.hedge_class AS HedgingClassification,
  FinancialTransaction.wgschft2 AS FinInstrumentIncomingCurrency,
  FinancialTransaction.wgschft1 AS FinInstrumentOutgoingCurrency,
  FinancialTransaction.prctr AS ProfitCenter,
  cast( FinancialTransaction.ps_posid as ps_s4_pspnr ) AS WBSElementInternalID
FROM vtbfha AS FinancialTransaction
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON _CompanyCode.CompanyCode = CompanyCode  -- association [1..1]
;