P_NO_SAFTGLBALANCE4

DDL: P_NO_SAFTGLBALANCE4 SQL: PNOSAFTGLBAL4 Type: view COMPOSITE Package: GLO_FIN_IS_SAFT_NO

SAFT General Ledger Balance

P_NO_SAFTGLBALANCE4 is a Composite CDS View that provides data about "SAFT General Ledger Balance" in SAP S/4HANA. It reads from 2 data sources (P_NO_SAFTGLBALANCE0, P_NO_SAFTGLBALANCE3) and exposes 7 fields with key fields Ledger, CompanyCode. Part of development package GLO_FIN_IS_SAFT_NO.

Data Sources (2)

SourceAliasJoin Type
P_NO_SAFTGLBALANCE0 P_NO_SAFTGLBALANCE0 inner
P_NO_SAFTGLBALANCE3 P_NO_SAFTGLBALANCE3 from

Parameters (2)

NameTypeDefault
P_FromPostingDate abap.dats
P_ToPostingDate abap.dats

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PNOSAFTGLBAL4 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Ledger b Ledger Ledger
KEY CompanyCode b CompanyCode Receiver Company Code
Customer b Customer Sold-to Party
Supplier b Supplier Supplier
ChartOfAccounts b ChartOfAccounts Node Class
CompanyCodeCurrency b CompanyCodeCurrency Local Currency
EndingBalanceAmtInCoCodeCrcy

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_NO_SAFTGLBALANCE4.
-- 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: PNOSAFTGLBAL4
-- Parameters: P_FromPostingDate : abap.dats, P_ToPostingDate : abap.dats

CREATE VIEW P_NO_SAFTGLBALANCE4 AS
SELECT
  b.Ledger AS Ledger,
  b.CompanyCode AS CompanyCode,
  b.Customer AS Customer,
  b.Supplier AS Supplier,
  b.ChartOfAccounts AS ChartOfAccounts,
  b.CompanyCodeCurrency AS CompanyCodeCurrency,
  sum( b.EndingBalanceAmtInCoCodeCrcy ) AS EndingBalanceAmtInCoCodeCrcy
FROM P_NO_SAFTGLBALANCE3
INNER JOIN P_NO_SAFTGLBALANCE0 ON /* join condition not captured in parsed metadata */
;