I_Ftr_Facility_Vh
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
| Category | Financial Transaction Data |
|---|---|
| Data Category | DIMENSION |
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
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
SAP API Hub
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | Financial Operations |
| Application Component | FIN-FSCM-TRM-2CL |
| Capabilities | Analytical Dimension,Association Target for Defining CDS Entities |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Not Released |
| Package | Financial 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
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| vtbfha | FinancialTransaction | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CompanyCode | _CompanyCode | _CompanyCode.CompanyCode = $projection.CompanyCode |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA