P_ProductWorkSchedulingD

DDL: P_PRODUCTWORKSCHEDULINGD SQL: PPRDWORKSCHEDD Type: view BASIC Package: VDM_MD_PRODUCT_OBSOLETE

Product Work Scheduling Draft

P_ProductWorkSchedulingD is a Basic CDS View that provides data about "Product Work Scheduling Draft" in SAP S/4HANA. It reads from 1 data source (prd_work) and exposes 6 fields with key fields DraftKey, ActiveProduct, ActivePlant. Part of development package VDM_MD_PRODUCT_OBSOLETE.

Data Sources (1)

SourceAliasJoin Type
prd_work DraftDocument from

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName PPRDWORKSCHEDD view
VDM.private true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY DraftKey prd_work draftkey NodeID
KEY ActiveProduct prd_work activeproduct Product
KEY ActivePlant prd_work activeplant Plant ID
ParentDraftKey prd_work parentdraftkey NodeID
HasActiveEntity prd_work hasactiveentity TRUE
rootdraftkey prd_work rootdraftkey NodeID

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_ProductWorkSchedulingD.
-- 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: PPRDWORKSCHEDD

CREATE VIEW P_ProductWorkSchedulingD AS
SELECT
  DraftDocument.draftkey AS DraftKey,
  DraftDocument.activeproduct AS ActiveProduct,
  DraftDocument.activeplant AS ActivePlant,
  DraftDocument.parentdraftkey AS ParentDraftKey,
  DraftDocument.hasactiveentity AS HasActiveEntity,
  DraftDocument.rootdraftkey AS rootdraftkey
FROM prd_work AS DraftDocument
;