C_EWM_WhseOrderLeanQ_2

DDL: C_EWM_WHSEORDERLEANQ_2 Type: view_entity CONSUMPTION

Warehouse Order Lean - Query

C_EWM_WhseOrderLeanQ_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_WhseOrderLeanQ_2 is a Consumption CDS View that provides data about "Warehouse Order Lean - Query" in SAP S/4HANA. It reads from 1 data source (I_EWM_WhseOrderCube_2) and exposes 36 fields with key fields EWMWarehouse, WarehouseOrder.

SAP Help Documentation

CategoryCDS Views for Cross Processes
Data CategoryQuery
Corresponding DataSource2CCEWMWOLQ3
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 One of the following business catalogs needs to be assigned to a user to be able to use this CDS view: SAP_SCM_BC_EWM_MON_PC : WM – Monitoring Users who want to use this CDS view must have a role that includes authorization based on at least one of the business catalogs listed above. In this role, the following restriction types must be set to read access: Warehouse Number / Warehouse Complex These restriction types are edited in the Maintain Business Roles app.

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 Further important fields Important fields in this view include the following: Field Name Description Measure or Attribute 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) 2CCEWMWOLQ3 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 Lean - Query view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.modelingPattern #ANALYTICAL_QUERY view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #CONSUMPTION view
OData.publish true view
Analytics.query true view
Analytics.technicalName CEWMWOLQ3 view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY EWMWarehouse EWMWarehouse Warehouse Number/Warehouse Complex
KEY WarehouseOrder WarehouseOrder Warehouse Order Number
WarehouseOrderCreationRule WarehouseOrderCreationRule Warehouse Order Creation Rule
WarehouseOrderStatus WarehouseOrderStatus Warehouse Order Status
WarehouseOrderStatusName WarehouseOrderStatusName Description of Warehouse Order Status
WhseOrderOverdueHours WhseOrderOverdueHours Overdue Time (Hour)
WhseOrderLastChgUTCDateTime WhseOrderLastChgUTCDateTime WO Last Changed On (UTC)
LastChangedByUser LastChangedByUser WO Last Changed By
WarehouseOrderHasWhseTask WarehouseOrderHasWhseTask Warehouse Order Contains Warehouse Task
WarehouseOrderHasPhysInvtryDoc WarehouseOrderHasPhysInvtryDoc WO Contains Physical Inventory Document
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
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 Whse Order
WhseOrdLtstStrtWhseTmznHour WhseOrdLtstStrtWhseTmznHour Latest Start Time (Hour) of Whse Order
WhseOrdLtstStrtWhseTmznTime WhseOrdLtstStrtWhseTmznTime Latest Start Time of Warehouse Order
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
WrhsOrdStrtUTCDateTime WrhsOrdStrtUTCDateTime WO Started On (UTC)
WhseOrderConfUTCDateTime WhseOrderConfUTCDateTime WO Confirmed On (UTC)
WarehouseOrderConfirmedBy WarehouseOrderConfirmedBy WO Confirmed By
ActivityArea ActivityArea Activity Area
ActivityAreaName Description of Activity Area
WrhsOrdCrtnUTCDateTime WrhsOrdCrtnUTCDateTime WO Created On (UTC)
CreatedByUser CreatedByUser WO Created By
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_WhseOrderLeanQ_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_WhseOrderLeanQ_2 AS
SELECT
  EWMWarehouse,
  WarehouseOrder,
  WarehouseOrderCreationRule,
  WarehouseOrderStatus,
  WarehouseOrderStatusName,
  WhseOrderOverdueHours,
  WhseOrderLastChgUTCDateTime,
  LastChangedByUser,
  WarehouseOrderHasWhseTask,
  WarehouseOrderHasPhysInvtryDoc,
  WhseOrderCrtnWhseTmznDateTime,
  WhseOrderCrtnWhseTmznYear,
  WhseOrderCrtnWhseTmznMonth,
  WhseOrderCrtnWhseTmznDate,
  WhseOrderCrtnWhseTmznHour,
  WhseOrderCrtnWhseTmznTime,
  WhseOrdLtstStrtWhseTmznDteTme,
  WhseOrdLtstStrtWhseTmznYear,
  WhseOrdLtstStrtWhseTmznMonth,
  WhseOrdLtstStrtWhseTmznDate,
  WhseOrdLtstStrtWhseTmznHour,
  WhseOrdLtstStrtWhseTmznTime,
  WhseOrderConfWhseTmznDateTime,
  WhseOrderConfWhseTmznYear,
  WhseOrderConfWhseTmznMonth,
  WhseOrderConfWhseTmznDate,
  WhseOrderConfWhseTmznHour,
  WhseOrderConfWhseTmznTime,
  WrhsOrdStrtUTCDateTime,
  WhseOrderConfUTCDateTime,
  WarehouseOrderConfirmedBy,
  ActivityArea,
  _ActivityArea._Text[1:Language = $parameters.P_Language].ActivityAreaName AS ActivityAreaName,
  WrhsOrdCrtnUTCDateTime,
  CreatedByUser,
  NumberOfWarehouseOrders
FROM I_EWM_WhseOrderCube_2
;