Deprecated
This CDS view is deprecated in S/4HANA. Use P_EWM_HandlingUnitHeader03_2 instead. View all deprecated CDS views →

P_EWM_HandlingUnitHeader03

DDL: P_EWM_HANDLINGUNITHEADER03 SQL: PEWMHUHDR03 Type: view COMPOSITE

P_EWM_HandlingUnitHeader03 is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_EWM_HandlingUnitHeader02, P_EWM_HandlingUnitHeaderLog04) and exposes 4 fields with key fields HandlingUnitExternalID, Warehouse, Warehouse.

Data Sources (2)

SourceAliasJoin Type
P_EWM_HandlingUnitHeader02 P_EWM_HandlingUnitHeader02 union_all
P_EWM_HandlingUnitHeaderLog04 P_EWM_HandlingUnitHeaderLog04 from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PEWMHUHDR03 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor P_EWM_HandlingUnitHeader03_2 view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY HandlingUnitExternalID HandlingUnitExternalID Handling Unit
KEY Warehouse Warehouse Warehouse No.
KEY Warehouse Warehouse Warehouse No.
IsActive

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_EWM_HandlingUnitHeader03.
-- 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: PEWMHUHDR03

CREATE VIEW P_EWM_HandlingUnitHeader03 AS
SELECT
  HandlingUnitExternalID,
  Warehouse,
  cast( 'X' as abap_boolean preserving type ) AS IsActive
FROM P_EWM_HandlingUnitHeaderLog04
-- UNION ALL with additional select branch(es): P_EWM_HandlingUnitHeader02
;