R_FinTransDistributorFlow
Reuse of distributor flows
R_FinTransDistributorFlow is a Basic CDS View that provides data about "Reuse of distributor flows" in SAP S/4HANA. It reads from 2 data sources (trdt_flow, trdt_trdbustrans) and exposes 34 fields with key fields BusinessTransactionDocUUID, TreasuryTransactionFlow.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| trdt_flow | trdflow | from |
| trdt_trdbustrans | trdtrans | inner |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RTRDFLOW | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | false | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Metadata.allowExtensions | false | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| EndUserText.label | Reuse of distributor flows | view |
Fields (34)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessTransactionDocUUID | trdt_flow | bustrans_os_guid | DB Object ID |
| KEY | TreasuryTransactionFlow | trdt_flow | flow_number | Flow Number |
| CompanyCode | trdt_flow | company_code | Company Code | |
| TreasuryUpdateType | trdt_flow | dis_flowtype | Update Type | |
| TreasuryPosAssetLiabilityCode | ||||
| FinancialInstrumentProductType | trdt_flow | product_type | Product Type | |
| FinancialInstrTransactionType | trdt_flow | transaction_type | Transactn Type | |
| FinancialInstrValuationClass | trdt_flow | com_val_class | Gen. Valn Class | |
| TreasuryValuationClass | trdt_flow | valuation_class | Valuation Class | |
| SecurityClass | trdt_flow | security_id | Security Class | |
| SecurityAccount | trdt_flow | security_account | Securities Acct | |
| SecurityAccountGroup | trdt_flow | account_group | Sec.AcctGrp | |
| DifferentiationPortfolio | trdt_flow | portfolio | Portfolio | |
| Trader | trdt_flow | trader | Trader | |
| FinancialTransaction | trdt_flow | deal_number | Transaction | |
| FinancialInstrumentActivity | trdt_flow | rfhazu | Activity | |
| NominalCurrency | trdt_flow | nominal_curr | Nominal Crcy | |
| NominalAmountInNominalCurrency | trdt_flow | nominal_amt | Nominal Amount | |
| PositionCurrency | trdt_flow | position_curr | Transaction Currency | |
| AmountInPositionCurrency | trdt_flow | position_amt | Transact.Crcy Amount | |
| PaymentCurrency | trdt_flow | payment_curr | Payment Crcy | |
| AmountInPaymentCurrency | trdt_flow | payment_amt | Payout Amount | |
| HouseBank | trdt_flow | house_bank | House Bank | |
| HouseBankAccount | trdt_flow | house_bank_acc | House Bank Acct | |
| PaymentDate | trdt_flow | payment_date | Pymt Date | |
| Counterparty | ||||
| TreasuryBusinessTransaction | trdt_trdbustrans | bustransid | Bus. Trans. ID | |
| FinancialInstrActivityCategory | trdt_flow | sfgzustt | Activity Cat. | |
| CalculationDate | trdt_flow | calculation_date | Calculat. date | |
| CalcDateIsAsEndDateInclusive | trdt_flow | calc_date_incl | Inclusive Ind. | |
| FinancialTransactionDirection | trdt_flow | rkondgr | Direction | |
| CashFlowCalculationCategory | updatetype | sberfima | Calc. Category | |
| CashFlowDirection | ||||
| PaymentReason | trdt_flow | payment_reason | Reason Code |
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_FinTransDistributorFlow.
-- 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: RTRDFLOW
CREATE VIEW R_FinTransDistributorFlow AS
SELECT
trdflow.bustrans_os_guid AS BusinessTransactionDocUUID,
trdflow.flow_number AS TreasuryTransactionFlow,
trdflow.company_code AS CompanyCode,
trdflow.dis_flowtype AS TreasuryUpdateType,
cast(trdflow.active_passive as ftr_gen_asset_liab_indicator) AS TreasuryPosAssetLiabilityCode,
trdflow.product_type AS FinancialInstrumentProductType,
trdflow.transaction_type AS FinancialInstrTransactionType,
trdflow.com_val_class AS FinancialInstrValuationClass,
trdflow.valuation_class AS TreasuryValuationClass,
trdflow.security_id AS SecurityClass,
trdflow.security_account AS SecurityAccount,
trdflow.account_group AS SecurityAccountGroup,
trdflow.portfolio AS DifferentiationPortfolio,
trdflow.trader AS Trader,
trdflow.deal_number AS FinancialTransaction,
trdflow.rfhazu AS FinancialInstrumentActivity,
trdflow.nominal_curr AS NominalCurrency,
trdflow.nominal_amt AS NominalAmountInNominalCurrency,
trdflow.position_curr AS PositionCurrency,
trdflow.position_amt AS AmountInPositionCurrency,
trdflow.payment_curr AS PaymentCurrency,
trdflow.payment_amt AS AmountInPaymentCurrency,
trdflow.house_bank AS HouseBank,
trdflow.house_bank_acc AS HouseBankAccount,
trdflow.payment_date AS PaymentDate,
cast( trdflow.counterparty as rkontrah_new ) AS Counterparty,
trdtrans.bustransid AS TreasuryBusinessTransaction,
trdflow.sfgzustt AS FinancialInstrActivityCategory,
trdflow.calculation_date AS CalculationDate,
trdflow.calc_date_incl AS CalcDateIsAsEndDateInclusive,
trdflow.rkondgr AS FinancialTransactionDirection,
updatetype.sberfima AS CashFlowCalculationCategory,
cast( trdflow.sign as fclm_direction ) AS CashFlowDirection,
trdflow.payment_reason AS PaymentReason
FROM trdt_flow AS trdflow
INNER JOIN trdt_trdbustrans AS trdtrans ON /* join condition not captured in parsed metadata */
;
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