P_ProcOrdUserStatusAggregation

DDL: P_PROCORDUSERSTATUSAGGREGATION Type: view_entity COMPOSITE Package: VDM_PP_PROC_ORD_MNG

Process Orders User Status

P_ProcOrdUserStatusAggregation is a Composite CDS View that provides data about "Process Orders User Status" in SAP S/4HANA. It reads from 1 data source (I_ProcessOrderUserStatus) and exposes 5 fields with key fields OrderID, StatusProfile. Part of development package VDM_PP_PROC_ORD_MNG.

Data Sources (1)

SourceAliasJoin Type
I_ProcessOrderUserStatus I_ProcessOrderUserStatus from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Process Orders User Status view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY OrderID OrderID Order ID
KEY StatusProfile StatusProfile Status Profile
UserStatusName
UserStatusShortName
NumberOfUserStatus

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_ProcOrdUserStatusAggregation.
-- 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_ProcOrdUserStatusAggregation AS
SELECT
  OrderID,
  StatusProfile,
  min(UserStatusName) AS UserStatusName,
  min(UserStatusShortName) AS UserStatusShortName,
  count(*) AS NumberOfUserStatus
FROM I_ProcessOrderUserStatus
;