P_WorkViewCmplncDataUnion
Work View Compliance Data Union
P_WorkViewCmplncDataUnion is a Consumption CDS View that provides data about "Work View Compliance Data Union" in SAP S/4HANA. It reads from 3 data sources (P_ChmlCmplncInfoAssmt, P_ChmlCmplncInfoComposition, P_ChmlCmplncInfoProperty) and exposes 50 fields with key field ChmlCmplncInfoUUID. Part of development package EHFND_CNS_CCI.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_ChmlCmplncInfoAssmt | ChmlCmplncInfoAssmt | union |
| P_ChmlCmplncInfoComposition | ChmlCmplncInfoComposition | union |
| P_ChmlCmplncInfoProperty | ChmlCmplncInfoProperty | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PWVCDU | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Work View Compliance Data Union | view |
Fields (50)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChmlCmplncInfoUUID | ChmlCmplncInfoUUID | Chemical Compliance Information PP | |
| ComplianceDataNavgnLinkUUID | P_ChmlCmplncInfoProperty | PCPrptyNavgnLinkUUID | SDS Assessment | |
| ProdCmplncLegalArea | Legal Area | |||
| CmplRqVersUUID | NodeID | |||
| ComplianceRequirement | Compliance Requirement | |||
| CmplRqVersName | Compliance Requirement Name | |||
| PCPrptyRootType | P_ChmlCmplncInfoProperty | PCPrptyRootType | Root object type | |
| ChmlCompositionType | Legal Area | |||
| CmplRqPattern | Compliance Pattern | |||
| PCPrptyInProcProcgSts | P_ChmlCmplncInfoProperty | PCPrptyInProcProcgSts | ||
| PCPrptyReldProcgSts | P_ChmlCmplncInfoProperty | PCPrptyReldProcgSts | ||
| ProcessingStatus | Worklist Status | |||
| ProcessorUserName | ||||
| ReleasedByUserName | ||||
| WorkViewGroupName | P_ChmlCmplncInfoProperty | WorkViewGroupName | Work View Group Name | |
| WorkView | P_ChmlCmplncInfoProperty | WorkView | Work View ID | |
| WorkViewUUID | P_ChmlCmplncInfoProperty | WorkViewUUID | Work View | |
| ComplianceDataNavgnLinkUUID | P_ChmlCmplncInfoComposition | ChmlCompositionUUID | SDS Assessment | |
| ProdCmplncLegalArea | ProdCmplncLegalArea | Legal Area | ||
| CmplRqVersUUID | NodeID | |||
| ComplianceRequirement | Compliance Requirement | |||
| CmplRqVersName | Compliance Requirement Name | |||
| PCPrptyRootType | Root object type | |||
| ChmlCompositionType | P_ChmlCmplncInfoComposition | ChmlCompositionType | Legal Area | |
| CmplRqPattern | Compliance Pattern | |||
| PCPrptyInProcProcgSts | P_ChmlCmplncInfoComposition | ChmlCmpstnInProcStatus | ||
| PCPrptyReldProcgSts | P_ChmlCmplncInfoComposition | ChmlCmpstnReldStatus | ||
| ProcessingStatus | Worklist Status | |||
| ProcessorUserName | ||||
| ReleasedByUserName | ||||
| WorkViewGroupName | P_ChmlCmplncInfoComposition | WorkViewGroupName | Work View Group Name | |
| WorkView | P_ChmlCmplncInfoComposition | WorkView | Work View ID | |
| WorkViewUUID | P_ChmlCmplncInfoComposition | WorkViewUUID | Work View | |
| ComplianceDataNavgnLinkUUID | P_ChmlCmplncInfoAssmt | CmplRqRsltUUID | SDS Assessment | |
| ProdCmplncLegalArea | Legal Area | |||
| CmplRqVersUUID | P_ChmlCmplncInfoAssmt | CmplRqVersUUID | NodeID | |
| ComplianceRequirement | P_ChmlCmplncInfoAssmt | ComplianceRequirement | Compliance Requirement | |
| CmplRqVersName | P_ChmlCmplncInfoAssmt | CmplRqVersName | Compliance Requirement Name | |
| PCPrptyRootType | Root object type | |||
| ChmlCompositionType | Legal Area | |||
| CmplRqPattern | P_ChmlCmplncInfoAssmt | CmplRqPattern | Compliance Pattern | |
| PCPrptyInProcProcgSts | ||||
| PCPrptyReldProcgSts | ||||
| ProcessingStatus | P_ChmlCmplncInfoAssmt | ProcessingStatus | Worklist Status | |
| ProcessorUserName | ||||
| ReleasedByUserName | ||||
| WorkViewGroupName | P_ChmlCmplncInfoAssmt | WorkViewGroupName | Work View Group Name | |
| WorkView | P_ChmlCmplncInfoAssmt | WorkView | Work View ID | |
| WorkViewUUID | P_ChmlCmplncInfoAssmt | WorkViewUUID | Work View | |
| PCPrptySequence | PCPrptySequence | Sequence |
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_WorkViewCmplncDataUnion.
-- 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_WorkViewCmplncDataUnion AS
SELECT
ChmlCmplncInfoUUID,
ChmlCmplncInfoProperty.PCPrptyNavgnLinkUUID AS ComplianceDataNavgnLinkUUID,
cast (' ' as ehfnd_legal_area preserving type ) AS ProdCmplncLegalArea,
cast (hextobin('00000000000000000000000000000000') as ehfnd_crv_uuid) AS CmplRqVersUUID,
cast ('' as ehfnd_req_identifier) AS ComplianceRequirement,
cast('' as ehfnd_crr_crv_name) AS CmplRqVersName,
ChmlCmplncInfoProperty.PCPrptyRootType AS PCPrptyRootType,
cast (' ' as ehfnd_cci_ccmps_type preserving type ) AS ChmlCompositionType,
cast (' ' as abap.char( 30 ) ) AS CmplRqPattern,
ChmlCmplncInfoProperty.PCPrptyInProcProcgSts AS PCPrptyInProcProcgSts,
ChmlCmplncInfoProperty.PCPrptyReldProcgSts AS PCPrptyReldProcgSts,
cast (' ' as ehfnd_crr_proc_status) AS ProcessingStatus,
cast('' as ehpma_processor_name ) AS ProcessorUserName,
ChmlCmplncInfoProperty._ReleasedByUser.PersonFullName AS ReleasedByUserName,
ChmlCmplncInfoProperty.WorkViewGroupName AS WorkViewGroupName,
ChmlCmplncInfoProperty.WorkView AS WorkView,
ChmlCmplncInfoProperty.WorkViewUUID AS WorkViewUUID,
PCPrptySequence
FROM P_ChmlCmplncInfoProperty AS ChmlCmplncInfoProperty
-- UNION with additional select branch(es): P_ChmlCmplncInfoComposition, P_ChmlCmplncInfoAssmt
;
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