FTR_PAYMENT_REASON_SOURCE
SubVal Payment Reason Source
FTR_PAYMENT_REASON_SOURCE is a CDS View that provides data about "SubVal Payment Reason Source" in SAP S/4HANA. It reads from 1 data source (I_Currency) and exposes 26 fields.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Currency | I_Currency | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | SubVal Payment Reason Source | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| BusinessPartner | ||||
| IndustrySystem | ||||
| Industry | ||||
| BusinessPartnerOfficeCountry | ||||
| BPCoCodeCompanyRelationship | ||||
| CompanyCode | ||||
| CompanyCodeCountry | ||||
| PayerPayee | ||||
| FinTransGeneralValuationClass | ||||
| FinancialInstrProductCategory | ||||
| FinancialInstrumentProductType | ||||
| SecurityAccount | ||||
| Portfolio | ||||
| TreasuryFinanceProject | ||||
| FinancialInstrumentAssignment | ||||
| FinancialInstrumentReference | ||||
| FinancialInstrCharacteristic | ||||
| SecurityClass | ||||
| FinancialInstrTransactionType | ||||
| FinTransFlowType | ||||
| AmountInPaymentCurrency | ||||
| PaymentCurrency | Valuation Crcy | |||
| AmountInLocalCurrency | ||||
| LocalCurrency | Valuation Crcy | |||
| PaymentReasonChanged | ||||
| PaymentReason |
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 FTR_PAYMENT_REASON_SOURCE.
-- 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.
CREATE VIEW FTR_PAYMENT_REASON_SOURCE AS
SELECT
cast ('BusinessPa' as bu_partner preserving type ) AS BusinessPartner,
cast ('Z123' as bu_istype preserving type ) AS IndustrySystem,
cast ('Z123456789' as bu_indsect preserving type ) AS Industry,
cast ('XYZ' as bp_cntr_hd preserving type ) AS BusinessPartnerOfficeCountry,
cast ( 'A' as bp_ccom_re preserving type ) AS BPCoCodeCompanyRelationship,
cast ( 'Z999' as fis_bukrs preserving type ) AS CompanyCode,
cast ( 'ZZZ' as land1 preserving type ) AS CompanyCodeCountry,
cast ('PayerPayee' as tb_rpzahl_new preserving type ) AS PayerPayee,
cast ( '9999' as tpm_com_val_class preserving type ) AS FinTransGeneralValuationClass,
cast ( '000' as ftr_gen_fin_instr_prod_categ preserving type ) AS FinancialInstrProductCategory,
cast ( 'ZZZ' as vvsart preserving type ) AS FinancialInstrumentProductType,
cast ( 'ZSEACCOUNT' as ftr_gen_security_account preserving type ) AS SecurityAccount,
cast ( 'ZPORT12345' as rportb preserving type ) AS Portfolio,
cast ( 'Z99999999999999999' as dzuonr preserving type ) AS TreasuryFinanceProject,
cast ( 'Z99999999999999999' as ftr_gen_fin_instr_assignment preserving type ) AS FinancialInstrumentAssignment,
cast ( 'Z999999999999999' as ftr_gen_fin_instr_internal_ref preserving type) AS FinancialInstrumentReference,
cast ( 'Z999999999999999999999999' as ftr_gen_fin_instr_char preserving type ) AS FinancialInstrCharacteristic,
cast ( 'Z123456789012' as ftr_gen_security_class preserving type ) AS SecurityClass,
cast ( 'ZYX' as ftr_gen_transaction_type preserving type ) AS FinancialInstrTransactionType,
cast ( 'ZZZZ' as tb_sfhazba preserving type ) AS FinTransFlowType,
cast ( 000000000000000000000.00 as ftr_payment_amount ) AS AmountInPaymentCurrency,
cast ( Currency as ftr_flow_payment_amount_crcy preserving type ) AS PaymentCurrency,
cast ( 000000000000000000000.00 as ftr_payt_amt_in_local_currency ) AS AmountInLocalCurrency,
cast ( Currency as ftr_flow_payment_amount_crcy preserving type ) AS LocalCurrency,
cast ( '0' as ftr_payment_reason_changed preserving type ) AS PaymentReasonChanged,
cast ( 'ZZZZ' as farp_payt_rsn preserving type ) AS PaymentReason
FROM I_Currency
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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