P_AcctgPrncpGLAccountLineItem

DDL: P_ACCTGPRNCPGLACCOUNTLINEITEM SQL: PACCPRINCGLLI Type: view BASIC

P_AcctgPrncpGLAccountLineItem is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (I_GLAccountLineItem, I_LedgerCompanyCodeCrcyRoles) and exposes 8 fields with key fields Ledger, CompanyCode, AccountingPrinciple, SubLedgerAcctLineItemType.

Data Sources (2)

SourceAliasJoin Type
I_GLAccountLineItem I_GLAccountLineItem from
I_LedgerCompanyCodeCrcyRoles I_LedgerCompanyCodeCrcyRoles inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PACCPRINCGLLI view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #BASIC view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Ledger I_GLAccountLineItem Ledger Ledger
KEY CompanyCode I_GLAccountLineItem CompanyCode Receiver Company Code
KEY AccountingPrinciple AccountingPrinciple AP Ledger/CoCode
KEY SubLedgerAcctLineItemType SubLedgerAcctLineItemType SLALineItemType
_Ledger I_GLAccountLineItem _Ledger
_CompanyCode I_GLAccountLineItem _CompanyCode
_AccountingPrinciple _AccountingPrinciple
_SubLedgerAccLineItemType _SubLedgerAccLineItemType

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_AcctgPrncpGLAccountLineItem.
-- 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: PACCPRINCGLLI

CREATE VIEW P_AcctgPrncpGLAccountLineItem AS
SELECT
  I_GLAccountLineItem.Ledger AS Ledger,
  I_GLAccountLineItem.CompanyCode AS CompanyCode,
  AccountingPrinciple,
  SubLedgerAcctLineItemType,
  I_GLAccountLineItem._Ledger AS _Ledger,
  I_GLAccountLineItem._CompanyCode AS _CompanyCode
FROM I_GLAccountLineItem
INNER JOIN I_LedgerCompanyCodeCrcyRoles ON /* join condition not captured in parsed metadata */
;