P_CollsSumAmtUnion

DDL: P_COLLSSUMAMTUNION Type: view TRANSACTIONAL Package: UDM_COLL_CDS

Summarized Amounts with Union

P_CollsSumAmtUnion is a Transactional CDS View that provides data about "Summarized Amounts with Union" in SAP S/4HANA. It reads from 8 data sources and exposes 34 fields with key fields BusinessPartner, CollectionSegment, ItemCounter, CollectionSegment, ItemCounter. Part of development package UDM_COLL_CDS.

Data Sources (8)

SourceAliasJoin Type
P_CollsSumAmtInPeriod P_CollsSumAmtInPeriod from
P_CollsSumAmtInPeriod P_CollsSumAmtInPeriod union
P_CollsSumAmtInPeriod P_CollsSumAmtInPeriod union
P_CollsSumAmtInPeriod P_CollsSumAmtInPeriod union
P_CollsSumAmtInPeriod P_CollsSumAmtInPeriod union
P_CollsSumAmtInPeriod P_CollsSumAmtInPeriod union
P_CollsSumAmtInPeriod P_CollsSumAmtInPeriod union
P_CollsSumAmtInPeriod P_CollsSumAmtInPeriod union

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PCOLLSUMAMTUN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.viewType #TRANSACTIONAL view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey BusinessPartner view

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner BusinessPartner Issuing Authority
KEY CollectionSegment CollectionSegment Segment
KEY ItemCounter 1
AmountInStrategyCurrency AmountOverdue4
CollStrgyCurrency CollStrgyCurrency
KEY CollectionSegment CollectionSegment Segment
KEY ItemCounter 2
AmountInStrategyCurrency AmountOverdue3
CollStrgyCurrency CollStrgyCurrency
KEY CollectionSegment CollectionSegment Segment
KEY ItemCounter 3
AmountInStrategyCurrency AmountOverdue2
CollStrgyCurrency CollStrgyCurrency
KEY CollectionSegment CollectionSegment Segment
KEY ItemCounter 4
AmountInStrategyCurrency AmountOverdue1
CollStrgyCurrency CollStrgyCurrency
KEY CollectionSegment CollectionSegment Segment
KEY ItemCounter 5
AmountInStrategyCurrency AmountDue1
CollStrgyCurrency CollStrgyCurrency
KEY CollectionSegment CollectionSegment Segment
KEY ItemCounter 6
AmountInStrategyCurrency AmountDue2
CollStrgyCurrency CollStrgyCurrency
KEY CollectionSegment CollectionSegment Segment
KEY ItemCounter 7
AmountInStrategyCurrency AmountDue3
CollStrgyCurrency CollStrgyCurrency
KEY CollectionSegment CollectionSegment Segment
KEY ItemCounter 8
AmountInStrategyCurrency AmountDue4
CollStrgyCurrency CollStrgyCurrency
Criticality 3

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_CollsSumAmtUnion.
-- 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_CollsSumAmtUnion AS
SELECT
  BusinessPartner,
  CollectionSegment,
  1 AS ItemCounter,
  AmountOverdue4 AS AmountInStrategyCurrency,
  CollStrgyCurrency,
  3 AS Criticality
FROM P_CollsSumAmtInPeriod
-- UNION with additional select branch(es): P_CollsSumAmtInPeriod
;