P_CshPosLim

DDL: P_CSHPOSLIM SQL: PCSHPOSLIM Type: view COMPOSITE

P_CshPosLim is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_BankAccountOverdraftLimit) and exposes 3 fields with key fields BankAccountInternalID, OverdraftLimitCurrency.

Data Sources (1)

SourceAliasJoin Type
I_BankAccountOverdraftLimit I_BankAccountOverdraftLimit from

Parameters (2)

NameTypeDefault
P_KeyDate sydate
P_Interval integer

Annotations (6)

NameValueLevelField
VDM.private true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName PCSHPOSLIM view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY BankAccountInternalID BankAccountInternalID Technical ID
KEY OverdraftLimitCurrency OverdraftLimitCurrency Transaction Currency
OverdraftLimitAmount

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_CshPosLim.
-- 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: PCSHPOSLIM
-- Parameters: P_KeyDate : sydate, P_Interval : integer

CREATE VIEW P_CshPosLim AS
SELECT
  BankAccountInternalID,
  OverdraftLimitCurrency,
  sum(OverdraftLimitAmount) AS OverdraftLimitAmount
FROM I_BankAccountOverdraftLimit
;