P_Productstoraged

DDL: P_PRODUCTSTORAGED SQL: PPRDSTORAGED Type: view BASIC Package: VDM_MD_PRODUCT_OBSOLETE

Product Storage Draft

P_Productstoraged is a Basic CDS View that provides data about "Product Storage Draft" in SAP S/4HANA. It reads from 1 data source (prd_root_storage) and exposes 5 fields with key fields DraftKey, ActiveProduct. Part of development package VDM_MD_PRODUCT_OBSOLETE.

Data Sources (1)

SourceAliasJoin Type
prd_root_storage DraftDocument from

Annotations (4)

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

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY DraftKey prd_root_storage draftkey NodeID
KEY ActiveProduct prd_root_storage activeproduct Product
ParentDraftKey prd_root_storage parentdraftkey NodeID
labeltype prd_root_storage labeltype Label Type
labelform prd_root_storage labelform Label Form

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_Productstoraged.
-- 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: PPRDSTORAGED

CREATE VIEW P_Productstoraged AS
SELECT
  DraftDocument.draftkey AS DraftKey,
  DraftDocument.activeproduct AS ActiveProduct,
  DraftDocument.parentdraftkey AS ParentDraftKey,
  DraftDocument.labeltype AS labeltype,
  DraftDocument.labelform AS labelform
FROM prd_root_storage AS DraftDocument
;