C_EWM_WarehouseOrderQ_2

DDL: C_EWM_WAREHOUSEORDERQ_2 Type: view_entity CONSUMPTION

Warehouse Order - Query

C_EWM_WarehouseOrderQ_2 (Consumption)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Supply Chain

C_EWM_WarehouseOrderQ_2 is a Consumption CDS View that provides data about "Warehouse Order - Query" in SAP S/4HANA. It reads from 1 data source (I_EWM_WhseOrderCube_2) and exposes 71 fields with key fields EWMWarehouse, WarehouseOrder. It is used in 2 Fiori applications: Warehouse KPIs - Operations, Analyzer Warehouse Order.

SAP Help Documentation

CategoryCDS Views for Cross Processes
Data CategoryQuery
Corresponding DataSource2CCEWMWOQ2
Purpose
This CDS view provides the prerequisites for answering questions about the total number of warehouse orders in your warehouse. This CDS view provides the data to answer the following business questions: How many warehouse orders are there in your warehouse? What is the warehouse-order-related information in your warehouse? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations The CDS view has the PRIVILEGED_ONLY access control. If the access to the entity is performed using a privileged association, no DCL authorization check is executed and the system considers the authorization check from the selected cube view I_EWM_WhseOrderCube_2 . Direct access or access performed using an unprivileged association is blocked.

Structure
Parameters The parameters of the CDS view are as follows: P_Language (optional) used to specify the system language Fields used for filtering The main filters are as follows: Warehouse Order Creation Date and Time of Warehouse Order Confirmation Date and Time of Warehouse Order Latest Start Date of Warehouse Order Further important fields Important fields in this view include the following: Field Name Description Measure or Attribute WarehouseOrderPlannedDuration Warehouse Order Planned Duration Measure NumberOfWarehouseOrders Number of Warehouse Orders Measure EWMWarehouse Warehouse Attribute WarehouseOrder Warehouse Order Attribute

SAP Business Warehouse (SAP BW) Extraction
Data extraction type Full (physical deletions are possible in source tables) Corresponding DataSource (Extractor) 2CI_EWM_WHSEORDERCUBE_2 Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. For details about the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Use SAP Library BI Content . For more information about data extraction, see Extracting Data Through CDS Views to SAP BW/4HANA .

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSupply Chain
Application ComponentSCM-EWM-WOP
CapabilitiesAnalytical Query
PackageSupply Chain for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides the prerequisites for answering questions about the total number of warehouse orders in your warehouse.</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>How many warehouse orders are there in your warehouse?</p></li> <li><p>What is the warehouse-order-related information in your warehouse?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_EWM_WhseOrderCube_2 I_EWM_WhseOrderCube_2 from

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Warehouse Order - Query view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.modelingPattern #ANALYTICAL_QUERY view
VDM.viewType #CONSUMPTION view
OData.publish true view
Analytics.query true view
Analytics.technicalName CEWMWOQ2 view

Fiori Apps (2)

App IDApp NameTypeDescription
F4024 Warehouse KPIs - Operations Analytical
F5122 Analyzer Warehouse Order Analytical

Warehouse KPIs - Operations

Business Role: Warehouse Clerk (Extended Warehouse Management)

With this feature, you can navigate from the outbound delivery order in the drill-down page of the Warehouse KPIs - Operations app directly to the Run Outbound Process - Deliveries app.

Analyzer Warehouse Order

Business Role: Warehouse Clerk (Extended Warehouse Management)

With this app, you can view further details of KPIs relevant to warehouse tasks, warehouse orders and outbound delivery orders by navigating to the drill-down reports.

Fields (71)

KeyFieldSource TableSource FieldDescription
KEY EWMWarehouse EWMWarehouse Warehouse Number/Warehouse Complex
KEY WarehouseOrder WarehouseOrder Warehouse Order Number
WarehouseOrderCreationRule WarehouseOrderCreationRule Warehouse Order Creation Rule
WhseProcessTypeDocumentHdr WhseProcessTypeDocumentHdr Document Header Warehouse Process Type
WarehouseOrderStatus WarehouseOrderStatus Warehouse Order Status
WarehouseOrderStatusName WarehouseOrderStatusName Description of Warehouse Order Status
Wave Wave Warehouse Order Number
PlndLoadCompletionUTCDateTime PlndLoadCompletionUTCDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
PlndPackCompletionUTCDateTime PlndPackCompletionUTCDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
PlndPickCompltnUTCDateTime PlndPickCompltnUTCDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
PlndStagingCompltnUTCDateTime PlndStagingCompltnUTCDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
WaveActlReleasedUTCDateTime WaveActlReleasedUTCDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
WaveCutoffWhseTmznDateTime WaveCutoffWhseTmznDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
WavePlndRelWhseTmznDateTime WavePlndRelWhseTmznDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
PlndPickCmpltWhseTmznDateTime PlndPickCmpltWhseTmznDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
PlndPackCmpltWhseTmznDateTime PlndPackCmpltWhseTmznDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
PlndStggCmpltWhseTmznDateTime PlndStggCmpltWhseTmznDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
WaveCompletionWhseTmznDateTime WaveCompletionWhseTmznDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
WaveActualReldWhseTmznDateTime WaveActualReldWhseTmznDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
WaveActualReldWhseTmznYear WaveActualReldWhseTmznYear Actual Released Date (Year) of Wave
WaveActualReldWhseTmznMonth WaveActualReldWhseTmznMonth Actual Released Date (Month) of Wave
WaveActualReldWhseTmznDate WaveActualReldWhseTmznDate Actual Released Date of Wave
WaveActualReldWhseTmznHour WaveActualReldWhseTmznHour Actual Released Time (Hour) of Wave
WaveActualReldWhseTmznTime WaveActualReldWhseTmznTime Actual Released Time of Wave
WaveTemplate WaveTemplate Numeric Character Field, Length 10
WaveTemplateName WaveTemplateName Description of Wave Template
LatestStartUTCDateTime LatestStartUTCDateTime WO Latest Start Date and Time (UTC)
WhseOrderOverdueHours WhseOrderOverdueHours Overdue Time (Hour)
WhseOrderLastChgUTCDateTime WhseOrderLastChgUTCDateTime WO Last Changed On (UTC)
LastChangedByUser LastChangedByUser WO Last Changed By
WarehouseOrderIsSplit WarehouseOrderIsSplit Warehouse Order Splitting
WhseOrderHigherLevelWhseOrder WhseOrderHigherLevelWhseOrder Warehouse Order Number of Higher-Level Warehouse Order
WhseOrderSubsequentWhseOrder WhseOrderSubsequentWhseOrder Warehouse Order Number of Subsequent Warehouse Order
WhseOrderHasSubsqntWhseOrder WhseOrderHasSubsqntWhseOrder Has Subsequent Warehouse Order
WarehouseOrderHasWhseTask WarehouseOrderHasWhseTask Warehouse Order Contains Warehouse Task
WarehouseOrderHasPhysInvtryDoc WarehouseOrderHasPhysInvtryDoc WO Contains Physical Inventory Document
HzdsSubstanceIsRlvtForStorage HzdsSubstanceIsRlvtForStorage Hazardous Substance Relevant for Storage
WhseOrderCrtnWhseTmznDateTime WhseOrderCrtnWhseTmznDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
WhseOrderCrtnWhseTmznYear WhseOrderCrtnWhseTmznYear Creation Date (Year) of Warehouse Order
WhseOrderCrtnWhseTmznMonth WhseOrderCrtnWhseTmznMonth Creation Date (Month) of Warehouse Order
WhseOrderCrtnWhseTmznDate WhseOrderCrtnWhseTmznDate Creation Date of Warehouse Order
WhseOrderCrtnWhseTmznHour WhseOrderCrtnWhseTmznHour Creation Time (Hour) of Warehouse Order
WhseOrderCrtnWhseTmznTime WhseOrderCrtnWhseTmznTime Creation Time of Warehouse Order
WhseOrderCrtnRnddTo10MinsTime WhseOrderCrtnRnddTo10MinsTime Crtn Time of WO Down to Nearest 10 Mins
WhseOrdLtstStrtWhseTmznDteTme WhseOrdLtstStrtWhseTmznDteTme UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
WhseOrdLtstStrtWhseTmznYear WhseOrdLtstStrtWhseTmznYear Latest Start Date (Year) of Whse Order
WhseOrdLtstStrtWhseTmznMonth WhseOrdLtstStrtWhseTmznMonth Latest Start Date (Month) of Whse Order
WhseOrdLtstStrtWhseTmznDate WhseOrdLtstStrtWhseTmznDate Latest Start Date of Warehouse Order
WhseOrdLtstStrtWhseTmznHour WhseOrdLtstStrtWhseTmznHour Latest Start Time (Hour) of Whse Order
WhseOrdLtstStrtWhseTmznTime WhseOrdLtstStrtWhseTmznTime Latest Start Time of Warehouse Order
WhseOrdLtstStrtRnddTo10MinsTme WhseOrdLtstStrtRnddTo10MinsTme WO Lat. Strt Tme Down to Nearest 10 Mins
WhseOrderConfWhseTmznDateTime WhseOrderConfWhseTmznDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
WhseOrderConfWhseTmznYear WhseOrderConfWhseTmznYear Confirmation Date (Year) of Whse Order
WhseOrderConfWhseTmznMonth WhseOrderConfWhseTmznMonth Confirmation Date (Month) of Whse Order
WhseOrderConfWhseTmznDate WhseOrderConfWhseTmznDate Confirmation Date of Warehouse Order
WhseOrderConfWhseTmznHour WhseOrderConfWhseTmznHour Confirmation Time (Hour) of Whse Order
WhseOrderConfWhseTmznTime WhseOrderConfWhseTmznTime Confirmation Time of Warehouse Order
WhseOrderConfRnddTo10MinsTime WhseOrderConfRnddTo10MinsTime Conf. Time of WO Rounded Down to 10 Mins
WrhsOrdStrtUTCDateTime WrhsOrdStrtUTCDateTime WO Started On (UTC)
WhseOrderConfUTCDateTime WhseOrderConfUTCDateTime WO Confirmed On (UTC)
WarehouseOrderConfirmedBy WarehouseOrderConfirmedBy WO Confirmed By
Processor Processor Processor
WarehouseOrderQueue WarehouseOrderQueue Warehouse Order Queue
WarehouseOrderQueueName Description of Warehouse Order Queue
ActivityArea ActivityArea Activity Area
ActivityAreaName Description of Activity Area
WrhsOrdCrtnUTCDateTime WrhsOrdCrtnUTCDateTime WO Created On (UTC)
CreatedByUser CreatedByUser WO Created By
WarehouseOrderPlannedDuration WarehouseOrderPlannedDuration Planned Execution Time of Warehouse Order
WhseOrderPlanDurationTimeUnit WhseOrderPlanDurationTimeUnit Time Unit for Whse Order Plnd Duration
NumberOfWarehouseOrders NumberOfWarehouseOrders Number of Warehouse Orders

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 C_EWM_WarehouseOrderQ_2.
-- 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 C_EWM_WarehouseOrderQ_2 AS
SELECT
  EWMWarehouse,
  WarehouseOrder,
  WarehouseOrderCreationRule,
  WhseProcessTypeDocumentHdr,
  WarehouseOrderStatus,
  WarehouseOrderStatusName,
  Wave,
  PlndLoadCompletionUTCDateTime,
  PlndPackCompletionUTCDateTime,
  PlndPickCompltnUTCDateTime,
  PlndStagingCompltnUTCDateTime,
  WaveActlReleasedUTCDateTime,
  WaveCutoffWhseTmznDateTime,
  WavePlndRelWhseTmznDateTime,
  PlndPickCmpltWhseTmznDateTime,
  PlndPackCmpltWhseTmznDateTime,
  PlndStggCmpltWhseTmznDateTime,
  WaveCompletionWhseTmznDateTime,
  WaveActualReldWhseTmznDateTime,
  WaveActualReldWhseTmznYear,
  WaveActualReldWhseTmznMonth,
  WaveActualReldWhseTmznDate,
  WaveActualReldWhseTmznHour,
  WaveActualReldWhseTmznTime,
  WaveTemplate,
  WaveTemplateName,
  LatestStartUTCDateTime,
  WhseOrderOverdueHours,
  WhseOrderLastChgUTCDateTime,
  LastChangedByUser,
  WarehouseOrderIsSplit,
  WhseOrderHigherLevelWhseOrder,
  WhseOrderSubsequentWhseOrder,
  WhseOrderHasSubsqntWhseOrder,
  WarehouseOrderHasWhseTask,
  WarehouseOrderHasPhysInvtryDoc,
  HzdsSubstanceIsRlvtForStorage,
  WhseOrderCrtnWhseTmznDateTime,
  WhseOrderCrtnWhseTmznYear,
  WhseOrderCrtnWhseTmznMonth,
  WhseOrderCrtnWhseTmznDate,
  WhseOrderCrtnWhseTmznHour,
  WhseOrderCrtnWhseTmznTime,
  WhseOrderCrtnRnddTo10MinsTime,
  WhseOrdLtstStrtWhseTmznDteTme,
  WhseOrdLtstStrtWhseTmznYear,
  WhseOrdLtstStrtWhseTmznMonth,
  WhseOrdLtstStrtWhseTmznDate,
  WhseOrdLtstStrtWhseTmznHour,
  WhseOrdLtstStrtWhseTmznTime,
  WhseOrdLtstStrtRnddTo10MinsTme,
  WhseOrderConfWhseTmznDateTime,
  WhseOrderConfWhseTmznYear,
  WhseOrderConfWhseTmznMonth,
  WhseOrderConfWhseTmznDate,
  WhseOrderConfWhseTmznHour,
  WhseOrderConfWhseTmznTime,
  WhseOrderConfRnddTo10MinsTime,
  WrhsOrdStrtUTCDateTime,
  WhseOrderConfUTCDateTime,
  WarehouseOrderConfirmedBy,
  Processor,
  WarehouseOrderQueue,
  _WarehouseOrderQueue._Text[1:Language = $parameters.P_Language].WarehouseOrderQueueName AS WarehouseOrderQueueName,
  ActivityArea,
  _ActivityArea._Text[1:Language = $parameters.P_Language].ActivityAreaName AS ActivityAreaName,
  WrhsOrdCrtnUTCDateTime,
  CreatedByUser,
  WarehouseOrderPlannedDuration,
  WhseOrderPlanDurationTimeUnit,
  NumberOfWarehouseOrders
FROM I_EWM_WhseOrderCube_2
;