P_Productmlaccountd

DDL: P_PRODUCTMLACCOUNTD SQL: PPRDMLACCOUNTD Type: view BASIC

P_Productmlaccountd is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (prd_val_mlact) and exposes 6 fields with key fields DraftKey, ActiveProduct, ActiveValuationArea, ActiveInventoryValuationType.

Data Sources (1)

SourceAliasJoin Type
prd_val_mlact DraftDocument from

Annotations (4)

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

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY DraftKey prd_val_mlact draftkey NodeID
KEY ActiveProduct prd_val_mlact activeproduct Product
KEY ActiveValuationArea prd_val_mlact activevaluationarea Valuation area
KEY ActiveInventoryValuationType prd_val_mlact activeinventoryvaluationtype Valuation type
ParentDraftKey prd_val_mlact parentdraftkey NodeID
Rootdraftkey prd_val_mlact 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_Productmlaccountd.
-- 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: PPRDMLACCOUNTD

CREATE VIEW P_Productmlaccountd AS
SELECT
  DraftDocument.draftkey AS DraftKey,
  DraftDocument.activeproduct AS ActiveProduct,
  DraftDocument.activevaluationarea AS ActiveValuationArea,
  DraftDocument.activeinventoryvaluationtype AS ActiveInventoryValuationType,
  DraftDocument.parentdraftkey AS ParentDraftKey,
  DraftDocument.rootdraftkey AS Rootdraftkey
FROM prd_val_mlact AS DraftDocument
;