P_MLDocumentExtract

DDL: P_MLDOCUMENTEXTRACT SQL: PMLDOCXTRCTR Type: view BASIC

P_MLDocumentExtract is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (mldoc_extract) and exposes 9 fields with key fields CostEstimate, FiscalYearPeriod, docref, LedgerValuationCurrencyRole.

Data Sources (1)

SourceAliasJoin Type
mldoc_extract mldoc_extract from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PMLDOCXTRCTR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.private true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY CostEstimate kalnr ProdCostEst.No.
KEY FiscalYearPeriod jahrper Year / Period
KEY docref docref Orig.docum.num.
KEY LedgerValuationCurrencyRole curtp Valuation Area
quant quant Trans. Qty Val. Unit
stval stval Trs. Invent. Value
vkwrt vkwrt SalVal inc. VAT
QuantityUnit meins Valuation Unit
Currency waers Transaction Currency

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_MLDocumentExtract.
-- 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: PMLDOCXTRCTR

CREATE VIEW P_MLDocumentExtract AS
SELECT
  kalnr AS CostEstimate,
  jahrper AS FiscalYearPeriod,
  docref,
  curtp AS LedgerValuationCurrencyRole,
  quant,
  stval,
  vkwrt,
  meins AS QuantityUnit,
  waers AS Currency
FROM mldoc_extract
;