P_TrsyLdgrPosAccountingItem

DDL: P_TRSYLDGRPOSACCOUNTINGITEM SQL: PTRLPOSACCITEM Type: view COMPOSITE

Treasury Accounting Item Base

P_TrsyLdgrPosAccountingItem is a Composite CDS View that provides data about "Treasury Accounting Item Base" in SAP S/4HANA. It reads from 1 data source (I_TrsyAccountingItemBase) and exposes 87 fields with key fields TrsyAccountingDocumentUUID, AccountingDocumentItemRef.

Data Sources (1)

SourceAliasJoin Type
I_TrsyAccountingItemBase TractAccitem from

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName PTRLPOSACCITEM view
VDM.viewType #COMPOSITE view
VDM.private true view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Treasury Accounting Item Base view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (87)

KeyFieldSource TableSource FieldDescription
KEY TrsyAccountingDocumentUUID I_TrsyAccountingItemBase TrsyAccountingDocumentUUID DB Object ID
KEY AccountingDocumentItemRef I_TrsyAccountingItemBase AccountingDocumentItemRef Position
TrsyPositionContextUUID I_TrsyAccountingItemBase TrsyPositionContextUUID DB Object ID
TreasuryUpdateType I_TrsyAccountingItemBase TreasuryUpdateType Update Type
IsUsedInPaymentTransaction I_TrsyAccountingItemBase IsUsedInPaymentTransaction Is Used In Payment Transaction
TreasuryGLAccountAssignmentRef I_TrsyAccountingItemBase TreasuryGLAccountAssignmentRef Acct Assignment Ref.
TreasuryGLAccountSymbol I_TrsyAccountingItemBase TreasuryGLAccountSymbol Account Symbol
TreasuryPostingCategory I_TrsyAccountingItemBase TreasuryPostingCategory
PostingKey I_TrsyAccountingItemBase PostingKey Posting Key
GLAccount I_TrsyAccountingItemBase GLAccount General Ledger
AmountInPositionCurrency I_TrsyAccountingItemBase AmountInPositionCurrency
PositionCurrency I_TrsyAccountingItemBase PositionCurrency
AmountInCompanyCodeCurrency I_TrsyAccountingItemBase AmountInCompanyCodeCurrency Local Crcy Amt
CompanyCodeCurrency I_TrsyAccountingItemBase CompanyCodeCurrency Local Currency
TreasuryTransactionFlow I_TrsyAccountingItemBase TreasuryTransactionFlow Flow Number
AccountingDocument I_TrsyAccountingItemBase AccountingDocument Journal Entry
ReverseDocument I_TrsyAccountingItemBase ReverseDocument Reversed With
AccountingDocumentItem I_TrsyAccountingItemBase AccountingDocumentItem Posting View Item
JournalEntryType I_TrsyAccountingItemBase JournalEntryType Journal Entry Type
PaymentDate I_TrsyAccountingItemBase PaymentDate Payment Date
Customer I_TrsyAccountingItemBase Customer Sold-to Party
Supplier I_TrsyAccountingItemBase Supplier Supplier
PaymentTerms I_TrsyAccountingItemBase PaymentTerms Pyt Terms
PaymentMethod I_TrsyAccountingItemBase PaymentMethod Pymt Meth.
PaymentMethodSupplement I_TrsyAccountingItemBase PaymentMethodSupplement Pmnt Meth. Sup.
PaymentBlockingReason I_TrsyAccountingItemBase PaymentBlockingReason Pmnt block
PayerPayee I_TrsyAccountingItemBase PayerPayee Payer/Payee
BPBankAccountInternalID I_TrsyAccountingItemBase BPBankAccountInternalID BP Bank Account
HouseBank I_TrsyAccountingItemBase HouseBank House Bank
HouseBankAccount I_TrsyAccountingItemBase HouseBankAccount House Bank Account
TreasuryPaymentFlowDirection I_TrsyAccountingItemBase TreasuryPaymentFlowDirection Type of SIGN component in row type of a Ranges type
StateCentralBankPaymentReason I_TrsyAccountingItemBase StateCentralBankPaymentReason SCB Ind.
SupplyingCountry I_TrsyAccountingItemBase SupplyingCountry Supplying Ctry/Reg.
AssignmentReference I_TrsyAccountingItemBase AssignmentReference Assignment Reference
JournalEntryItemText I_TrsyAccountingItemBase JournalEntryItemText
BusinessArea I_TrsyAccountingItemBase BusinessArea Business Area
CostCenter I_TrsyAccountingItemBase CostCenter Cost Center
FinancialTransactionType I_TrsyAccountingItemBase FinancialTransactionType Transact. Type
PartnerCompany I_TrsyAccountingItemBase PartnerCompany Trading Partner
Counterparty I_TrsyAccountingItemBase Counterparty Supplier
Issuer I_TrsyAccountingItemBase Issuer User Name
SEPAMandate I_TrsyAccountingItemBase SEPAMandate SEPA Mandate
SpecialGLCode I_TrsyAccountingItemBase SpecialGLCode Special G/L Ind
PaymentReason I_TrsyAccountingItemBase PaymentReason Payment Reason
TreasuryBusinessTransaction
TreasuryValuationArea
ReferenceDocument
ReferenceDocumentContext
PostingDate
PostingFiscalPeriod
FiscalYear
ReversalReferenceDocument
ReversalReferenceDocumentCntxt
ReverseDocumentPostingDate
ReverseDocumentFiscalPeriod
ReverseDocumentFiscalYear
DocumentDate
AccountingPrinciple
TreasuryAcctgPostingCategory
TreasuryBusinessTransCategory
ActivityFinancialTransaction
DocumentHeaderText
ReversalReason
BusinessPlace
TaxSection
TreasuryUserStatisticsUUID
TrsyPositionIdentificationUUID
_TrsyAcctItemDocument _TrsyAcctItemDocument
_TrsyAcctItemPosContext _TrsyAcctItemPosContext
_PostingKey _PostingKey
_PostingKeyWithSpecialGLCode _PostingKeyWithSpecialGLCode
_AccountingDocumentType _AccountingDocumentType
_PaymentMethod _PaymentMethod
_PaymentBlockingReason _PaymentBlockingReason
_Country _Country
_BusinessArea _BusinessArea
_FinancialTransactionType _FinancialTransactionType
_SpecialGLCode _SpecialGLCode
_TreasuryGLAccountAssignRef _TreasuryGLAccountAssignRef
_TreasuryUpdateType _TreasuryUpdateType
_TreasuryGLAccountSymbol _TreasuryGLAccountSymbol
_PartnerCompany _PartnerCompany
_Paymentmethodsupplement _Paymentmethodsupplement
_TreasuryPostingCategory _TreasuryPostingCategory
_PayerPayee _PayerPayee
_IssuerName _IssuerName
_CounterpartyName _CounterpartyName

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_TrsyLdgrPosAccountingItem.
-- 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: PTRLPOSACCITEM

CREATE VIEW P_TrsyLdgrPosAccountingItem AS
SELECT
  TractAccitem.TrsyAccountingDocumentUUID AS TrsyAccountingDocumentUUID,
  TractAccitem.AccountingDocumentItemRef AS AccountingDocumentItemRef,
  TractAccitem.TrsyPositionContextUUID AS TrsyPositionContextUUID,
  TractAccitem.TreasuryUpdateType AS TreasuryUpdateType,
  TractAccitem.IsUsedInPaymentTransaction AS IsUsedInPaymentTransaction,
  TractAccitem.TreasuryGLAccountAssignmentRef AS TreasuryGLAccountAssignmentRef,
  TractAccitem.TreasuryGLAccountSymbol AS TreasuryGLAccountSymbol,
  TractAccitem.TreasuryPostingCategory AS TreasuryPostingCategory,
  TractAccitem.PostingKey AS PostingKey,
  TractAccitem.GLAccount AS GLAccount,
  TractAccitem.AmountInPositionCurrency AS AmountInPositionCurrency,
  TractAccitem.PositionCurrency AS PositionCurrency,
  TractAccitem.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
  TractAccitem.CompanyCodeCurrency AS CompanyCodeCurrency,
  TractAccitem.TreasuryTransactionFlow AS TreasuryTransactionFlow,
  TractAccitem.AccountingDocument AS AccountingDocument,
  TractAccitem.ReverseDocument AS ReverseDocument,
  TractAccitem.AccountingDocumentItem AS AccountingDocumentItem,
  TractAccitem.JournalEntryType AS JournalEntryType,
  TractAccitem.PaymentDate AS PaymentDate,
  TractAccitem.Customer AS Customer,
  TractAccitem.Supplier AS Supplier,
  TractAccitem.PaymentTerms AS PaymentTerms,
  TractAccitem.PaymentMethod AS PaymentMethod,
  TractAccitem.PaymentMethodSupplement AS PaymentMethodSupplement,
  TractAccitem.PaymentBlockingReason AS PaymentBlockingReason,
  TractAccitem.PayerPayee AS PayerPayee,
  TractAccitem.BPBankAccountInternalID AS BPBankAccountInternalID,
  TractAccitem.HouseBank AS HouseBank,
  TractAccitem.HouseBankAccount AS HouseBankAccount,
  TractAccitem.TreasuryPaymentFlowDirection AS TreasuryPaymentFlowDirection,
  TractAccitem.StateCentralBankPaymentReason AS StateCentralBankPaymentReason,
  TractAccitem.SupplyingCountry AS SupplyingCountry,
  TractAccitem.AssignmentReference AS AssignmentReference,
  TractAccitem.JournalEntryItemText AS JournalEntryItemText,
  TractAccitem.BusinessArea AS BusinessArea,
  TractAccitem.CostCenter AS CostCenter,
  TractAccitem.FinancialTransactionType AS FinancialTransactionType,
  TractAccitem.PartnerCompany AS PartnerCompany,
  TractAccitem.Counterparty AS Counterparty,
  TractAccitem.Issuer AS Issuer,
  TractAccitem.SEPAMandate AS SEPAMandate,
  TractAccitem.SpecialGLCode AS SpecialGLCode,
  TractAccitem.PaymentReason AS PaymentReason,
  TractAccitem._TrsyAcctItemDocument.TreasuryBusinessTransaction AS TreasuryBusinessTransaction,
  TractAccitem._TrsyAcctItemDocument.TreasuryValuationArea AS TreasuryValuationArea,
  TractAccitem._TrsyAcctItemDocument.ReferenceDocument AS ReferenceDocument,
  TractAccitem._TrsyAcctItemDocument.ReferenceDocumentContext AS ReferenceDocumentContext,
  TractAccitem._TrsyAcctItemDocument.PostingDate AS PostingDate,
  TractAccitem._TrsyAcctItemDocument.PostingFiscalPeriod AS PostingFiscalPeriod,
  TractAccitem._TrsyAcctItemDocument.FiscalYear AS FiscalYear,
  TractAccitem._TrsyAcctItemDocument.ReversalReferenceDocument AS ReversalReferenceDocument,
  TractAccitem._TrsyAcctItemDocument.ReversalReferenceDocumentCntxt AS ReversalReferenceDocumentCntxt,
  TractAccitem._TrsyAcctItemDocument.ReverseDocumentPostingDate AS ReverseDocumentPostingDate,
  TractAccitem._TrsyAcctItemDocument.ReverseDocumentFiscalPeriod AS ReverseDocumentFiscalPeriod,
  TractAccitem._TrsyAcctItemDocument.ReverseDocumentFiscalYear AS ReverseDocumentFiscalYear,
  TractAccitem._TrsyAcctItemDocument.DocumentDate AS DocumentDate,
  TractAccitem._TrsyAcctItemDocument.AccountingPrinciple AS AccountingPrinciple,
  TractAccitem._TrsyAcctItemDocument.TreasuryAcctgPostingCategory AS TreasuryAcctgPostingCategory,
  TractAccitem._TrsyAcctItemDocument.TreasuryBusinessTransCategory AS TreasuryBusinessTransCategory,
  TractAccitem._TrsyAcctItemDocument.ActivityFinancialTransaction AS ActivityFinancialTransaction,
  TractAccitem._TrsyAcctItemDocument.DocumentHeaderText AS DocumentHeaderText,
  TractAccitem._TrsyAcctItemDocument.ReversalReason AS ReversalReason,
  TractAccitem._TrsyAcctItemDocument.BusinessPlace AS BusinessPlace,
  TractAccitem._TrsyAcctItemDocument.TaxSection AS TaxSection,
  TractAccitem._TrsyAcctItemDocument.TreasuryUserStatisticsUUID AS TreasuryUserStatisticsUUID,
  TractAccitem._TrsyAcctItemPosContext.TrsyPositionIdentificationUUID AS TrsyPositionIdentificationUUID
FROM I_TrsyAccountingItemBase AS TractAccitem
;