P_MLDocumentExtract
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)
| Source | Alias | Join Type |
|---|---|---|
| mldoc_extract | mldoc_extract | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CostEstimate | kalnr | ||
| KEY | FiscalYearPeriod | jahrper | ||
| KEY | docref | docref | ||
| KEY | LedgerValuationCurrencyRole | curtp | ||
| quant | quant | |||
| stval | stval | |||
| vkwrt | vkwrt | |||
| QuantityUnit | meins | |||
| Currency | waers |
@AbapCatalog.sqlViewName: 'PMLDOCXTRCTR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@VDM.private:true
define view P_MLDocumentExtract
as select from mldoc_extract
{
key kalnr as CostEstimate,
key jahrper as FiscalYearPeriod,
key docref,
key curtp as LedgerValuationCurrencyRole,
@Semantics.quantity.unitOfMeasure: 'QuantityUnit'
quant,
@Semantics.amount.currencyCode: 'Currency'
stval,
@Semantics.amount.currencyCode: 'Currency'
vkwrt,
@Semantics.unitOfMeasure: true
meins as QuantityUnit,
@Semantics.currencyCode: true
waers as Currency
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA