I_SAFTCustomerBalanceMovement

DDL: I_SAFTCUSTOMERBALANCEMOVEMENT SQL: ISAFTGLCM Type: view COMPOSITE

Customer Balance Movement

I_SAFTCustomerBalanceMovement is a Composite CDS View that provides data about "Customer Balance Movement" in SAP S/4HANA. It reads from 1 data source (I_GLAccountYearToDateBalanceC) and exposes 7 fields with key fields Ledger, CompanyCode, Customer, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
I_GLAccountYearToDateBalanceC I_GLAccountYearToDateBalanceC from

Parameters (2)

NameTypeDefault
P_FromPostingDate dats
P_ToPostingDate dats

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ISAFTGLCM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Customer Balance Movement view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Ledger Ledger Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY Customer Customer Sold-to Party
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 I_SAFTCustomerBalanceMovement.
-- 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: ISAFTGLCM
-- Parameters: P_FromPostingDate : dats, P_ToPostingDate : dats

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