P_ProductStorageLocationD

DDL: P_PRODUCTSTORAGELOCATIOND SQL: PPRDSTORAGELOCD Type: view BASIC

P_ProductStorageLocationD is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (prd_storage) and exposes 8 fields with key field Draftkey.

Data Sources (1)

SourceAliasJoin Type
prd_storage DraftDocument from

Annotations (4)

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

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Draftkey prd_storage draftkey NodeID
Parentdraftkey prd_storage parentdraftkey NodeID
ActiveProduct prd_storage activeproduct Product
ActivePlant prd_storage activeplant Plant ID
ActiveStorageLocation prd_storage activestoragelocation Stor. Location
creationdate prd_storage creationdate Time Stamp
HasActiveEntity prd_storage hasactiveentity TRUE
RootDraftKey prd_storage 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_ProductStorageLocationD.
-- 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: PPRDSTORAGELOCD

CREATE VIEW P_ProductStorageLocationD AS
SELECT
  DraftDocument.draftkey AS Draftkey,
  DraftDocument.parentdraftkey AS Parentdraftkey,
  DraftDocument.activeproduct AS ActiveProduct,
  DraftDocument.activeplant AS ActivePlant,
  DraftDocument.activestoragelocation AS ActiveStorageLocation,
  DraftDocument.creationdate AS creationdate,
  DraftDocument.hasactiveentity AS HasActiveEntity,
  DraftDocument.rootdraftkey AS RootDraftKey
FROM prd_storage AS DraftDocument
;