I_TrsyDistributorBusTrans

DDL: I_TRSYDISTRIBUTORBUSTRANS Type: view_entity BASIC Package: FTR_TREASURY_LEDGER_CORE

Trsy Distributor Business Transactions

I_TrsyDistributorBusTrans is a Basic CDS View that provides data about "Trsy Distributor Business Transactions" in SAP S/4HANA. It reads from 1 data source (trdt_trdbustrans) and exposes 18 fields. It has 1 association to related views. Part of development package FTR_TREASURY_LEDGER_CORE.

Data Sources (1)

SourceAliasJoin Type
trdt_trdbustrans trdttrdtbustrans from

Associations (1)

CardinalityTargetAliasCondition
[1..1] P_Trdtflow ptrdtflow trdttrdtbustrans.os_guid = ptrdtflow.bustrans_os_guid

Annotations (6)

NameValueLevelField
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Trsy Distributor Business Transactions view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (18)

KeyFieldSource TableSource FieldDescription
TreasuryBusinessTransCategory
TreasuryBusinessTransaction
TreasuryTransactionFlow ptrdtflow TreasuryTransactionFlow
HouseBank ptrdtflow HouseBank House Bank
HouseBankAccount ptrdtflow HouseBankAccount House Bank Account
PaymentDate ptrdtflow PaymentDate Payment Date
FinancialInstrActivityCategory ptrdtflow FinancialInstrActivityCategory
PaymentReason ptrdtflow PaymentReason Payment Reason
ConditionItemValidityStartDate ptrdtflow ConditionItemValidityStartDate
NumberOfDays ptrdtflow NumberOfDays Number of Days
FinancialInstrCharacteristic ptrdtflow FinancialInstrCharacteristic Characteristics
FinancialInstrumentReference ptrdtflow FinancialInstrumentReference
CalcPeriodEndDateIsInclusive ptrdtflow CalcPeriodEndDateIsInclusive
InterestCalculationMethod ptrdtflow InterestCalculationMethod
FinancialInstrumentAssignment ptrdtflow FinancialInstrumentAssignment
ActivityFinancialTransaction
CompanyCode trdt_trdbustrans company_code Company Code
_FinancialTransaction _FinancialTransaction

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_TrsyDistributorBusTrans.
-- 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 I_TrsyDistributorBusTrans AS
SELECT
  cast(trdttrdtbustrans.bustranscat as ftr_gen_business_trans_categ preserving type ) AS TreasuryBusinessTransCategory,
  cast(trdttrdtbustrans.bustransid as ftr_gen_business_transaction preserving type ) AS TreasuryBusinessTransaction,
  ptrdtflow.TreasuryTransactionFlow AS TreasuryTransactionFlow,
  ptrdtflow.HouseBank AS HouseBank,
  ptrdtflow.HouseBankAccount AS HouseBankAccount,
  ptrdtflow.PaymentDate AS PaymentDate,
  ptrdtflow.FinancialInstrActivityCategory AS FinancialInstrActivityCategory,
  ptrdtflow.PaymentReason AS PaymentReason,
  ptrdtflow.ConditionItemValidityStartDate AS ConditionItemValidityStartDate,
  ptrdtflow.NumberOfDays AS NumberOfDays,
  ptrdtflow.FinancialInstrCharacteristic AS FinancialInstrCharacteristic,
  ptrdtflow.FinancialInstrumentReference AS FinancialInstrumentReference,
  ptrdtflow.CalcPeriodEndDateIsInclusive AS CalcPeriodEndDateIsInclusive,
  ptrdtflow.InterestCalculationMethod AS InterestCalculationMethod,
  ptrdtflow.FinancialInstrumentAssignment AS FinancialInstrumentAssignment,
  cast( trdttrdtbustrans.deal_number as ftr_gen_activity_deal preserving type ) AS ActivityFinancialTransaction,
  trdttrdtbustrans.company_code AS CompanyCode
FROM trdt_trdbustrans AS trdttrdtbustrans
LEFT OUTER JOIN P_Trdtflow AS ptrdtflow ON trdttrdtbustrans.os_guid = ptrdtflow.bustrans_os_guid  -- association [1..1]
;