P_SFONonTrcblCompByLdngResv

DDL: P_SFONONTRCBLCOMPBYLDNGRESV Type: view_entity CONSUMPTION

P_SFONonTrcblCompByLdngResv is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_SFONonTrcblCompLdngResv) and exposes 8 fields with key fields Reservation, ReservationItem, RecordType, OpActyNtwkInstance, OpActyNtwkElement.

Data Sources (1)

SourceAliasJoin Type
P_SFONonTrcblCompLdngResv SFONonTraceableComponent from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Reservation P_SFONonTrcblCompLdngResv LeadingReservation Reservation
KEY ReservationItem P_SFONonTrcblCompLdngResv LeadingReservationItem Reservation Item
KEY RecordType P_SFONonTrcblCompLdngResv LeadingReservationRecordType Reservation Record Type
KEY OpActyNtwkInstance P_SFONonTrcblCompLdngResv LeadingOpActyNtwkInstance Instance ID
KEY OpActyNtwkElement P_SFONonTrcblCompLdngResv LeadingOpActyNtwkElement Element Number
MaterialComponentQuantity
ResvnItmWithdrawnQtyInBaseUnit
_OpActyInstceNtwkElmntBasic P_SFONonTrcblCompLdngResv _LdngOpActyInstceNtwkElmntBsc

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_SFONonTrcblCompByLdngResv.
-- 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_SFONonTrcblCompByLdngResv AS
SELECT
  SFONonTraceableComponent.LeadingReservation AS Reservation,
  SFONonTraceableComponent.LeadingReservationItem AS ReservationItem,
  SFONonTraceableComponent.LeadingReservationRecordType AS RecordType,
  SFONonTraceableComponent.LeadingOpActyNtwkInstance AS OpActyNtwkInstance,
  SFONonTraceableComponent.LeadingOpActyNtwkElement AS OpActyNtwkElement,
  cast(sum(SFONonTraceableComponent.MaterialComponentQuantity) as erfmgv preserving type) AS MaterialComponentQuantity,
  cast(sum(SFONonTraceableComponent.ResvnItmWithdrawnQtyInBaseUnit) as mpe_consumed_qty preserving type) AS ResvnItmWithdrawnQtyInBaseUnit,
  SFONonTraceableComponent._LdngOpActyInstceNtwkElmntBsc AS _OpActyInstceNtwkElmntBasic
FROM P_SFONonTrcblCompLdngResv AS SFONonTraceableComponent
;