P_ShrtTrmCshPosLatestBalDate

DDL: P_SHRTTRMCSHPOSLATESTBALDATE Type: view_entity COMPOSITE Package: FCLM_CP_SHORTTERM

Latest Balance Date of Bank Account

P_ShrtTrmCshPosLatestBalDate is a Composite CDS View that provides data about "Latest Balance Date of Bank Account" in SAP S/4HANA. It reads from 1 data source (I_CalendarDate) and exposes 4 fields with key fields CalendarDate, BankAccountInternalID, CashBalanceType. Part of development package FCLM_CP_SHORTTERM.

Data Sources (1)

SourceAliasJoin Type
I_CalendarDate calendarDate from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CalendarDate I_CalendarDate CalendarDate Calendar Date
KEY BankAccountInternalID balance BankAccountInternalID Technical ID
KEY CashBalanceType balance CashBalanceType
CashBalanceDate

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_ShrtTrmCshPosLatestBalDate.
-- 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.

CREATE VIEW P_ShrtTrmCshPosLatestBalDate AS
SELECT
  calendarDate.CalendarDate AS CalendarDate,
  balance.BankAccountInternalID AS BankAccountInternalID,
  balance.CashBalanceType AS CashBalanceType,
  max(balance.CashBalanceDate) AS CashBalanceDate
FROM I_CalendarDate AS calendarDate
;