P_LstMiRteAssgmtByDocPaytMeth

DDL: P_LSTMIRTEASSGMTBYDOCPAYTMETH SQL: PLMRASSDOCPAYM Type: view COMPOSITE

P_LstMiRteAssgmtByDocPaytMeth is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_LstMiRteMblColltdPaytAssgmt) and exposes 8 fields.

Data Sources (1)

SourceAliasJoin Type
I_LstMiRteMblColltdPaytAssgmt I_LstMiRteMblColltdPaytAssgmt from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PLMRASSDOCPAYM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (8)

KeyFieldSource TableSource FieldDescription
LastMileRouteStopUUID LastMileRouteStopUUID
LastMileRouteUUID LastMileRouteUUID
BillingDocument BillingDocument SD Document
DocumentReferenceID DocumentReferenceID Reference
LastMileRouteCurrency LastMileRouteCurrency
LstMiRteCollectedPaymentType LstMiRteCollectedPaymentType
LstMiRteAssgdPaytColltdAmount
_Route _Route

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_LstMiRteAssgmtByDocPaytMeth.
-- 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: PLMRASSDOCPAYM

CREATE VIEW P_LstMiRteAssgmtByDocPaytMeth AS
SELECT
  LastMileRouteStopUUID,
  LastMileRouteUUID,
  BillingDocument,
  DocumentReferenceID,
  LastMileRouteCurrency,
  LstMiRteCollectedPaymentType,
  sum(LstMiRteAssgdPaytColltdAmount) AS LstMiRteAssgdPaytColltdAmount
FROM I_LstMiRteMblColltdPaytAssgmt
;