Deprecated
This CDS view is deprecated in S/4HANA. Use NoSuccessor instead. View all deprecated CDS views →

P_SAFTGLSupplierBalanceMov

DDL: P_SAFTGLSUPPLIERBALANCEMOV SQL: PSAFTGLSBM Type: view COMPOSITE

P_SAFTGLSupplierBalanceMov is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_GLAccountYearToDateBalanceC) and exposes 7 fields with key fields Ledger, CompanyCode, Supplier, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
I_GLAccountYearToDateBalanceC I_GLAccountYearToDateBalanceC from

Parameters (2)

NameTypeDefault
P_FromPostingDate abap.dats
P_ToPostingDate abap.dats

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName PSAFTGLSBM 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 #P view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor NoSuccessor view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Ledger Ledger Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY Supplier Supplier Supplier
KEY FiscalYear FiscalYear G/L Fiscal Year
CompanyCodeCurrency CompanyCodeCurrency Local Currency
CreditAmountInCoCodeCrcy
DebitAmountInCoCodeCrcy

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

CREATE VIEW P_SAFTGLSupplierBalanceMov AS
SELECT
  Ledger,
  CompanyCode,
  Supplier,
  FiscalYear,
  CompanyCodeCurrency,
  sum(CreditAmountInCoCodeCrcy) AS CreditAmountInCoCodeCrcy,
  sum(DebitAmountInCoCodeCrcy) AS DebitAmountInCoCodeCrcy
FROM I_GLAccountYearToDateBalanceC
;