C_EWM_WarehouseOrderLeanQ
Warehouse Order Lean - Query
C_EWM_WarehouseOrderLeanQ (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_WarehouseOrderLeanQ 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) and exposes 36 fields with key fields Warehouse, WarehouseOrder.
SAP Help Documentation
| Category | CDS Views for Cross Processes |
|---|---|
| Data Category | Query |
| Status | Released |
| Corresponding DataSource | 2CCEWMWOLQ |
Purpose
This CDS view provides the prerequisites for answering questions about the total number of warehouse orders in your warehouse.
Prerequisites
If you want to run reports using this CDS view, you must have a role based on the business role template listed in the previous table. In this role, the following restrictions must be set to read access: Warehouse Number / Warehouse Complex These restrictions are edited in the Maintain Business Roles app.
Structure
Main CDS Parameters and Filters This view has no mandatory input parameters. The main filters are as follows: Warehouse Order Creation Date and Time of Warehouse Order Confirmation Date and Time of Warehouse Order Measures The important measure is the number of warehouse orders.
SAP Business Warehouse (SAP BW) Extraction
Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. In case you are interested in the details of the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Application Help SAP Library BI Content .
This CDS view provides the prerequisites for answering questions about the total number of warehouse orders in your warehouse.
Prerequisites
If you want to run reports using this CDS view, you must have a role based on the business role template listed in the previous table. In this role, the following restrictions must be set to read access: Warehouse Number / Warehouse Complex These restrictions are edited in the Maintain Business Roles app.
Structure
Main CDS Parameters and Filters This view has no mandatory input parameters. The main filters are as follows: Warehouse Order Creation Date and Time of Warehouse Order Confirmation Date and Time of Warehouse Order Measures The important measure is the number of warehouse orders.
SAP Business Warehouse (SAP BW) Extraction
Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. In case you are interested in the details of the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Application Help SAP Library BI Content .
SAP API Hub
| State | Deprecated |
|---|---|
| Line of Business | Supply Chain |
| Application Component | SCM-EWM-WOP |
| Capabilities | Analytical Query |
| Package | Supply 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> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EWM_WhseOrderCube | I_EWM_WhseOrderCube | from |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CEWMWOLQ | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Warehouse Order Lean - Query | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.supportedCapabilities | #ANALYTICAL_QUERY | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_QUERY | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| OData.publish | true | view | |
| Analytics.query | true | view |
Fields (36)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Warehouse | Warehouse | 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_WarehouseOrderLeanQ.
-- 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: CEWMWOLQ
CREATE VIEW C_EWM_WarehouseOrderLeanQ AS
SELECT
Warehouse,
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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA