P_Trdtflow
P_Trdtflow is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (trdt_flow) and exposes 25 fields with key field TreasuryTransactionFlow.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| trdt_flow | trdtflow | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | PTRDTFLOW | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TreasuryTransactionFlow | trdt_flow | flow_number | Flow Number |
| AssignmentReference | trdt_flow | alloc_nmbr | Assignment | |
| FinancialInstrActivityCategory | trdt_flow | sfgzustt | Activity Cat. | |
| DirectionOfTransaction | trdt_flow | rkondgr | Direction | |
| HouseBank | trdt_flow | house_bank | House Bank | |
| HouseBankAccount | trdt_flow | house_bank_acc | House Bank Acct | |
| PaymentDate | trdt_flow | payment_date | Pymt Date | |
| PaymentReason | trdt_flow | payment_reason | Reason Code | |
| ConditionItemValidityStartDate | ptrdtsecflow | ConditionItemValidityStartDate | ||
| FinancialInstrCharacteristic | ptrdtsecflow | FinancialInstrCharacteristic | Characteristics | |
| FinancialInstrumentReference | ptrdtsecflow | FinancialInstrumentReference | ||
| CalcPeriodEndDateIsInclusive | ptrdtsecflow | CalcPeriodEndDateIsInclusive | ||
| SourceOfFlow | ptrdtsecflow | SourceOfFlow | ||
| InterestCalculationMethod | ptrdtsecflow | InterestCalculationMethod | ||
| FinancialInstrumentAssignment | ptrdtsecflow | FinancialInstrumentAssignment | ||
| NumberOfDays | ptrdtsecflow | NumberOfDays | Number of Days | |
| TreasuryFacilityCompanyCode | _FinancialTransaction | TreasuryFacilityCompanyCode | ||
| Portfolio | _FinancialTransaction | Portfolio | Portfolio | |
| PortfolioName | ||||
| TreasuryFacility | _FinancialTransaction | TreasuryFacility | ||
| TreasuryFinanceProject | _FinancialTransaction | TreasuryFinanceProject | ||
| Counterparty | _FinancialTransaction | Counterparty | Supplier | |
| FinancialInstrumentStatus | _FinancialTransaction | FinancialInstrumentStatus | ||
| FinancialInstrTransactionType | _FinancialTransaction | FinancialInstrTransactionType | ||
| FinancialTransaction | _FinancialTransaction | FinancialTransaction | Transaction |
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 P_Trdtflow.
-- 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: PTRDTFLOW
CREATE VIEW P_Trdtflow AS
SELECT
trdtflow.flow_number AS TreasuryTransactionFlow,
trdtflow.alloc_nmbr AS AssignmentReference,
trdtflow.sfgzustt AS FinancialInstrActivityCategory,
trdtflow.rkondgr AS DirectionOfTransaction,
trdtflow.house_bank AS HouseBank,
trdtflow.house_bank_acc AS HouseBankAccount,
trdtflow.payment_date AS PaymentDate,
trdtflow.payment_reason AS PaymentReason,
ptrdtsecflow.ConditionItemValidityStartDate AS ConditionItemValidityStartDate,
ptrdtsecflow.FinancialInstrCharacteristic AS FinancialInstrCharacteristic,
ptrdtsecflow.FinancialInstrumentReference AS FinancialInstrumentReference,
ptrdtsecflow.CalcPeriodEndDateIsInclusive AS CalcPeriodEndDateIsInclusive,
ptrdtsecflow.SourceOfFlow AS SourceOfFlow,
ptrdtsecflow.InterestCalculationMethod AS InterestCalculationMethod,
ptrdtsecflow.FinancialInstrumentAssignment AS FinancialInstrumentAssignment,
ptrdtsecflow.NumberOfDays AS NumberOfDays,
_FinancialTransaction.TreasuryFacilityCompanyCode AS TreasuryFacilityCompanyCode,
_FinancialTransaction.Portfolio AS Portfolio,
_FinancialTransaction._Portfolio._TreasuryPortfolioText[1: Language = $session.system_language].PortfolioName AS PortfolioName,
_FinancialTransaction.TreasuryFacility AS TreasuryFacility,
_FinancialTransaction.TreasuryFinanceProject AS TreasuryFinanceProject,
_FinancialTransaction.Counterparty AS Counterparty,
_FinancialTransaction.FinancialInstrumentStatus AS FinancialInstrumentStatus,
_FinancialTransaction.FinancialInstrTransactionType AS FinancialInstrTransactionType,
_FinancialTransaction.FinancialTransaction AS FinancialTransaction
FROM trdt_flow AS trdtflow
;
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