A_TrsyPosFlow
Treasury Position Flow
A_TrsyPosFlow is a Composite CDS View that provides data about "Treasury Position Flow" in SAP S/4HANA. It reads from 1 data source (P_TrsyPosFlow) and exposes 121 fields with key fields TreasuryTransactionFlow, BusinessTransactionDocUUID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_TrsyPosFlow | P_TrsyPosFlow | from |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ATRSYPOSFLOW | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Treasury Position Flow | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.deleteEnabled | false | view | |
| ObjectModel.updateEnabled | false | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| OData.publish | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view |
Fields (121)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TreasuryTransactionFlow | TreasuryTransactionFlow | ||
| KEY | BusinessTransactionDocUUID | BusinessTransactionDocUUID | ||
| TreasuryPosition | TreasuryPosition | |||
| TreasuryBusinessTransaction | TreasuryBusinessTransaction | |||
| TreasuryUpdateTypeName | TreasuryUpdateTypeName | |||
| TreasuryUpdateType | TreasuryUpdateType | |||
| AmountInPositionCurrency | AmountInPositionCurrency | |||
| PositionCurrency | PositionCurrency | |||
| AmountInValuationCurrency | AmountInValuationCurrency | |||
| ValuationCurrency | ValuationCurrency | |||
| TreasuryPositionLedgerDate | TreasuryPositionLedgerDate | |||
| TreasuryPositionTransferGroup | TreasuryPositionTransferGroup | |||
| TreasuryPositionTransferFactor | TreasuryPositionTransferFactor | |||
| TrsyPosQuantityChangeCategory | TrsyPosQuantityChangeCategory | |||
| TrsyPosAmountChangeCategory | TrsyPosAmountChangeCategory | |||
| QuantityInPieces | ||||
| IndexCleanAmountInPositionCrcy | IndexCleanAmountInPositionCrcy | |||
| NominalAmountInNominalCurrency | NominalAmountInNominalCurrency | |||
| OriglNominalAmtInNominalCrcy | OriglNominalAmtInNominalCrcy | |||
| NominalCurrency | NominalCurrency | |||
| CalculationDate | CalculationDate | |||
| CalcDateIsAsEndDateInclusive | CalcDateIsAsEndDateInclusive | |||
| DueDate | DueDate | Promised For | ||
| CalculationPeriodStartDate | CalculationPeriodStartDate | |||
| CalculationPeriodEndDate | CalculationPeriodEndDate | |||
| EffectiveInterestRate | EffectiveInterestRate | |||
| EffctvIntrstRateRdmptnSched | EffctvIntrstRateRdmptnSched | |||
| NextEffectiveInterestRate | NextEffectiveInterestRate | |||
| FixedRedemptionSchedule | FixedRedemptionSchedule | |||
| CalculationBasis | CalculationBasis | |||
| FinInstrProductGroup | FinInstrProductGroup | |||
| TreasuryBusinessTransStatus | TreasuryBusinessTransStatus | |||
| TrsyIntragroupTransacStatus | TrsyIntragroupTransacStatus | |||
| TreasuryBusinessTransCategory | TreasuryBusinessTransCategory | |||
| OriglTrsyBusinessTransaction | OriglTrsyBusinessTransaction | |||
| TrsyDerivedBusTransacIsUpdated | TrsyDerivedBusTransacIsUpdated | |||
| TreasuryPosAssetLiabilityCode | TreasuryPosAssetLiabilityCode | |||
| TrsyPosTransfSourceTargetCode | TrsyPosTransfSourceTargetCode | |||
| TreasuryValuationArea | TreasuryValuationArea | |||
| TreasuryValuationAreaName | TreasuryValuationAreaName | |||
| TreasuryValuationClass | TreasuryValuationClass | |||
| TreasuryValuationClassName | TreasuryValuationClassName | |||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| FinancialInstrumentProductType | FinancialInstrumentProductType | |||
| SecurityAccount | SecurityAccount | |||
| SecurityClass | SecurityClass | |||
| SecurityClassName | SecurityClassName | |||
| SecurityClassDescription | SecurityClassDescription | |||
| FinancialInstrValClassName | FinancialInstrValClassName | |||
| TreasuryPositionLot | TreasuryPositionLot | |||
| SecurityAccountGroup | SecurityAccountGroup | |||
| LoanContract | LoanContract | |||
| LoanContractName | LoanContractName | |||
| TreasuryPositionAccount | TreasuryPositionAccount | |||
| TreasuryPositionLongShortCode | TreasuryPositionLongShortCode | |||
| Fund | Fund | Sender Fund | ||
| GrantID | GrantID | Sender Grant | ||
| CostCenter | CostCenter | Cost Center | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| WBSElementExternalID | WBSElementExternalID | WBS Element External ID | ||
| WBSDescription | WBSDescription | WBS Element Name | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| TrsyPosCustomDiffntnTerm1 | TrsyPosCustomDiffntnTerm1 | |||
| TrsyPosCustomDiffntnTerm1Name | TrsyPosCustomDiffntnTerm1Name | |||
| TrsyPosCustomDiffntnTerm2 | TrsyPosCustomDiffntnTerm2 | |||
| TrsyPosCustomDiffntnTerm2Name | TrsyPosCustomDiffntnTerm2Name | |||
| TrsyPosCustomDiffntnTerm3 | TrsyPosCustomDiffntnTerm3 | |||
| TrsyPosCustomDiffntnTerm3Name | TrsyPosCustomDiffntnTerm3Name | |||
| TrsyPosCustomDiffntnTerm4 | TrsyPosCustomDiffntnTerm4 | |||
| TrsyPosCustomDiffntnTerm4Name | TrsyPosCustomDiffntnTerm4Name | |||
| TrsyPosCustomDiffntnTerm5 | TrsyPosCustomDiffntnTerm5 | |||
| TrsyPosCustomDiffntnTerm5Name | TrsyPosCustomDiffntnTerm5Name | |||
| CentralClearingAccount | CentralClearingAccount | |||
| CentralClearingAccountName | CentralClearingAccountName | |||
| CompanyCodeName | CompanyCodeName | Company Name | ||
| SecurityAccountName | SecurityAccountName | |||
| SecurityAccountGroupName | SecurityAccountGroupName | |||
| ActivityFinancialTransaction | ActivityFinancialTransaction | |||
| FinancialInstrTransactionType | FinancialInstrTransactionType | |||
| TreasuryFacilityCompanyCode | TreasuryFacilityCompanyCode | |||
| TreasuryFacility | TreasuryFacility | |||
| TreasuryMasterAgreement | ||||
| TreasuryFinanceProject | TreasuryFinanceProject | |||
| Counterparty | Counterparty | Supplier | ||
| LetterOfCredit | LetterOfCredit | |||
| FinancialInstrumentStatus | FinancialInstrumentStatus | |||
| Portfolio | Portfolio | Portfolio | ||
| PortfolioName | PortfolioName | |||
| Issuer | Issuer | User Name | ||
| TrsyPosQtyChangeCategoryName | TrsyPosQtyChangeCategoryName | |||
| TreasuryPosChangeCategoryName | TreasuryPosChangeCategoryName | |||
| DifferentiationPortfolio | DifferentiationPortfolio | |||
| DifferentiationPortfolioName | DifferentiationPortfolioName | |||
| FinancialTransaction | FinancialTransaction | Transaction | ||
| FinancialInstrActivityCategory | FinancialInstrActivityCategory | |||
| FinancialInstrCharacteristic | FinancialInstrCharacteristic | Characteristics | ||
| FinancialInstrumentReference | FinancialInstrumentReference | |||
| FinancialInstrumentAssignment | FinancialInstrumentAssignment | |||
| ConditionItemValidityStartDate | ConditionItemValidityStartDate | |||
| CalcPeriodEndDateIsInclusive | CalcPeriodEndDateIsInclusive | |||
| InterestCalculationMethod | InterestCalculationMethod | |||
| DebitGLAccount | DebitGLAccount | G/L Account | ||
| CreditGLAccount | CreditGLAccount | |||
| DebitCustomer | DebitCustomer | |||
| CreditCustomer | CreditCustomer | |||
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| TreasuryGLAccountAssignmentRef | TreasuryGLAccountAssignmentRef | |||
| ReferenceDocument | ReferenceDocument | Reference Document | ||
| ReferenceDocumentContext | ReferenceDocumentContext | Reference Document Context | ||
| ReverseDocumentFiscalYear | ReverseDocumentFiscalYear | Year | ||
| ReverseDocumentFiscalPeriod | ReverseDocumentFiscalPeriod | |||
| ReverseDocumentPostingDate | ReverseDocumentPostingDate | |||
| ReversalReferenceDocument | ReversalReferenceDocument | Reversal Reference Document | ||
| ReversalReferenceDocumentCntxt | ReversalReferenceDocumentCntxt | Reversal Reference Document Context | ||
| AccountingDocument | AccountingDocument | Journal Entry | ||
| ReverseDocument | ReverseDocument | Reversed With | ||
| FinancialExposureItem | FinancialExposureItem | |||
| FinancialExposureSubItem | FinancialExposureSubItem | |||
| TreasuryAccountingCode | TreasuryAccountingCode |
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 A_TrsyPosFlow.
-- 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: ATRSYPOSFLOW
CREATE VIEW A_TrsyPosFlow AS
SELECT
TreasuryTransactionFlow,
BusinessTransactionDocUUID,
TreasuryPosition,
TreasuryBusinessTransaction,
TreasuryUpdateTypeName,
TreasuryUpdateType,
AmountInPositionCurrency,
PositionCurrency,
AmountInValuationCurrency,
ValuationCurrency,
TreasuryPositionLedgerDate,
TreasuryPositionTransferGroup,
TreasuryPositionTransferFactor,
TrsyPosQuantityChangeCategory,
TrsyPosAmountChangeCategory,
cast( round(QuantityInPieces, 6) as tpm_units) AS QuantityInPieces,
IndexCleanAmountInPositionCrcy,
NominalAmountInNominalCurrency,
OriglNominalAmtInNominalCrcy,
NominalCurrency,
CalculationDate,
CalcDateIsAsEndDateInclusive,
DueDate,
CalculationPeriodStartDate,
CalculationPeriodEndDate,
EffectiveInterestRate,
EffctvIntrstRateRdmptnSched,
NextEffectiveInterestRate,
FixedRedemptionSchedule,
CalculationBasis,
FinInstrProductGroup,
TreasuryBusinessTransStatus,
TrsyIntragroupTransacStatus,
TreasuryBusinessTransCategory,
OriglTrsyBusinessTransaction,
TrsyDerivedBusTransacIsUpdated,
TreasuryPosAssetLiabilityCode,
TrsyPosTransfSourceTargetCode,
TreasuryValuationArea,
TreasuryValuationAreaName,
TreasuryValuationClass,
TreasuryValuationClassName,
CompanyCode,
FinancialInstrumentProductType,
SecurityAccount,
SecurityClass,
SecurityClassName,
SecurityClassDescription,
FinancialInstrValClassName,
TreasuryPositionLot,
SecurityAccountGroup,
LoanContract,
LoanContractName,
TreasuryPositionAccount,
TreasuryPositionLongShortCode,
Fund,
GrantID,
CostCenter,
ProfitCenter,
WBSElementExternalID,
WBSDescription,
FunctionalArea,
TrsyPosCustomDiffntnTerm1,
TrsyPosCustomDiffntnTerm1Name,
TrsyPosCustomDiffntnTerm2,
TrsyPosCustomDiffntnTerm2Name,
TrsyPosCustomDiffntnTerm3,
TrsyPosCustomDiffntnTerm3Name,
TrsyPosCustomDiffntnTerm4,
TrsyPosCustomDiffntnTerm4Name,
TrsyPosCustomDiffntnTerm5,
TrsyPosCustomDiffntnTerm5Name,
CentralClearingAccount,
CentralClearingAccountName,
CompanyCodeName,
SecurityAccountName,
SecurityAccountGroupName,
ActivityFinancialTransaction,
FinancialInstrTransactionType,
TreasuryFacilityCompanyCode,
TreasuryFacility,
' ' AS TreasuryMasterAgreement,
TreasuryFinanceProject,
Counterparty,
LetterOfCredit,
FinancialInstrumentStatus,
Portfolio,
PortfolioName,
Issuer,
TrsyPosQtyChangeCategoryName,
TreasuryPosChangeCategoryName,
DifferentiationPortfolio,
DifferentiationPortfolioName,
FinancialTransaction,
FinancialInstrActivityCategory,
FinancialInstrCharacteristic,
FinancialInstrumentReference,
FinancialInstrumentAssignment,
ConditionItemValidityStartDate,
CalcPeriodEndDateIsInclusive,
InterestCalculationMethod,
DebitGLAccount,
CreditGLAccount,
DebitCustomer,
CreditCustomer,
FiscalYear,
FiscalPeriod,
PostingDate,
TreasuryGLAccountAssignmentRef,
ReferenceDocument,
ReferenceDocumentContext,
ReverseDocumentFiscalYear,
ReverseDocumentFiscalPeriod,
ReverseDocumentPostingDate,
ReversalReferenceDocument,
ReversalReferenceDocumentCntxt,
AccountingDocument,
ReverseDocument,
FinancialExposureItem,
FinancialExposureSubItem,
TreasuryAccountingCode
FROM P_TrsyPosFlow
;
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