P_FINS_GL_OPENITEM_AMOUNT
P_FINS_GL_OPENITEM_AMOUNT is a Basic CDS View in SAP S/4HANA. It reads from 7 data sources and exposes 16 fields with key fields CompanyCode, GLAccount, FiscalYear, AccountingDocumentNumber, ItemNumber.
Data Sources (7)
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFINSGLOIAMT | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | rbukrs | Company Code | |
| KEY | GLAccount | racct | GL Account From | |
| KEY | FiscalYear | acdoca | gjahr | Settlement Year |
| KEY | AccountingDocumentNumber | acdoca | belnr | SD Document |
| KEY | ItemNumber | awitem | Ref. Doc. Line Item | |
| PostingDate | bkpf | budat | Posting Date | |
| LedgerGroup | bkpf | ldgrp | Target Ledger Group | |
| GLAccountName | skat | txt50 | Status Name | |
| GLAccountType | ska1 | glaccount_type | G/L Account Type | |
| CompanyCodeCurrency | t001 | waers | Transaction Currency | |
| CompanyCodeName | t001 | butxt | Posting Text | |
| BalanceAmountInCompanyCodeCrcy | acdoca | hsl | Local Crcy Amt | |
| GLAccountAuthorizationGroup | begru | AuthorizGroup | ||
| AlternativeGLAccount | altkt | Group Account Number | ||
| AlternativeGLAccountName | alttxt | txt50 | Status Name | |
| ChartOfAccounts | t001 | ktopl | G/L Chart of Accounts |
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_FINS_GL_OPENITEM_AMOUNT.
-- 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: PFINSGLOIAMT
CREATE VIEW P_FINS_GL_OPENITEM_AMOUNT AS
SELECT
rbukrs AS CompanyCode,
racct AS GLAccount,
acdoca.gjahr AS FiscalYear,
acdoca.belnr AS AccountingDocumentNumber,
awitem AS ItemNumber,
bkpf.budat AS PostingDate,
bkpf.ldgrp AS LedgerGroup,
skat.txt50 AS GLAccountName,
ska1.glaccount_type AS GLAccountType,
t001.waers AS CompanyCodeCurrency,
t001.butxt AS CompanyCodeName,
acdoca.hsl AS BalanceAmountInCompanyCodeCrcy,
begru AS GLAccountAuthorizationGroup,
altkt AS AlternativeGLAccount,
alttxt.txt50 AS AlternativeGLAccountName,
t001.ktopl AS ChartOfAccounts
FROM acdoca
INNER JOIN bkpf ON /* join condition not captured in parsed metadata */
INNER JOIN P_FINS_REPRESENTIVE_LEDGER AS ledger ON /* join condition not captured in parsed metadata */
INNER JOIN t001 ON /* join condition not captured in parsed metadata */
INNER JOIN skb1 ON /* join condition not captured in parsed metadata */
INNER JOIN skat ON /* join condition not captured in parsed metadata */
INNER JOIN ska1 ON /* join condition not captured in parsed metadata */
;
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