I_TrsyAccountingItemDebit
Treasury Accounting Item Debit
I_TrsyAccountingItemDebit is a Basic CDS View that provides data about "Treasury Accounting Item Debit" in SAP S/4HANA. It reads from 1 data source (I_TrsyAccountingItemBase) and exposes 24 fields with key fields TrsyAccountingDocumentUUID, AccountingDocumentItemRef.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_TrsyAccountingItemBase | I_TrsyAccountingItemBase | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | ITRSYACCTITEMDBT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Treasury Accounting Item Debit | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TrsyAccountingDocumentUUID | TrsyAccountingDocumentUUID | DB Object ID | |
| KEY | AccountingDocumentItemRef | AccountingDocumentItemRef | Position | |
| TrsyPositionContextUUID | TrsyPositionContextUUID | DB Object ID | ||
| TreasuryGLAccountAssignmentRef | TreasuryGLAccountAssignmentRef | Acct Assignment Ref. | ||
| TreasuryPostingCategory | TreasuryPostingCategory | |||
| DebitGLAccount | General Ledger | |||
| AmountInPositionCurrency | AmountInPositionCurrency | |||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| TreasuryTransactionFlow | TreasuryTransactionFlow | Flow Number | ||
| AccountingDocument | AccountingDocument | Journal Entry | ||
| ReverseDocument | ReverseDocument | Reversed With | ||
| DebitCustomer | Sold-to Party | |||
| TreasuryBusinessTransaction | _TrsyAcctItemDocument | TreasuryBusinessTransaction | ||
| TreasuryValuationArea | _TrsyAcctItemDocument | TreasuryValuationArea | ||
| ReferenceDocument | _TrsyAcctItemDocument | ReferenceDocument | Reference Document | |
| ReferenceDocumentContext | _TrsyAcctItemDocument | ReferenceDocumentContext | Reference Document Context | |
| PostingDate | _TrsyAcctItemDocument | PostingDate | Posting Date for GR | |
| PostingFiscalPeriod | _TrsyAcctItemDocument | PostingFiscalPeriod | Period | |
| FiscalYear | _TrsyAcctItemDocument | FiscalYear | G/L Fiscal Year | |
| ReversalReferenceDocument | _TrsyAcctItemDocument | ReversalReferenceDocument | Reversal Reference Document | |
| ReversalReferenceDocumentCntxt | _TrsyAcctItemDocument | ReversalReferenceDocumentCntxt | Reversal Reference Document Context | |
| ReverseDocumentPostingDate | _TrsyAcctItemDocument | ReverseDocumentPostingDate | ||
| ReverseDocumentFiscalPeriod | _TrsyAcctItemDocument | ReverseDocumentFiscalPeriod | ||
| ReverseDocumentFiscalYear | _TrsyAcctItemDocument | ReverseDocumentFiscalYear | Year |
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_TrsyAccountingItemDebit.
-- 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: ITRSYACCTITEMDBT
CREATE VIEW I_TrsyAccountingItemDebit AS
SELECT
TrsyAccountingDocumentUUID,
AccountingDocumentItemRef,
TrsyPositionContextUUID,
TreasuryGLAccountAssignmentRef,
TreasuryPostingCategory,
cast (GLAccount as ftr_gen_gl_account_debit preserving type) AS DebitGLAccount,
AmountInPositionCurrency,
AmountInCompanyCodeCurrency,
TreasuryTransactionFlow,
AccountingDocument,
ReverseDocument,
cast (Customer as ftr_gen_customer_debit preserving type) AS DebitCustomer,
_TrsyAcctItemDocument.TreasuryBusinessTransaction AS TreasuryBusinessTransaction,
_TrsyAcctItemDocument.TreasuryValuationArea AS TreasuryValuationArea,
_TrsyAcctItemDocument.ReferenceDocument AS ReferenceDocument,
_TrsyAcctItemDocument.ReferenceDocumentContext AS ReferenceDocumentContext,
_TrsyAcctItemDocument.PostingDate AS PostingDate,
_TrsyAcctItemDocument.PostingFiscalPeriod AS PostingFiscalPeriod,
_TrsyAcctItemDocument.FiscalYear AS FiscalYear,
_TrsyAcctItemDocument.ReversalReferenceDocument AS ReversalReferenceDocument,
_TrsyAcctItemDocument.ReversalReferenceDocumentCntxt AS ReversalReferenceDocumentCntxt,
_TrsyAcctItemDocument.ReverseDocumentPostingDate AS ReverseDocumentPostingDate,
_TrsyAcctItemDocument.ReverseDocumentFiscalPeriod AS ReverseDocumentFiscalPeriod,
_TrsyAcctItemDocument.ReverseDocumentFiscalYear AS ReverseDocumentFiscalYear
FROM I_TrsyAccountingItemBase
;
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