P_MatlLedgerDocumentExtract
Extract of Material Ledger Document
P_MatlLedgerDocumentExtract is a Basic CDS View that provides data about "Extract of Material Ledger Document" in SAP S/4HANA. It reads from 1 data source (mldoc_extract) and exposes 10 fields with key fields CostEstimate, FiscalYearPeriod, ReferenceDocument, CurrencyRole. Part of development package FCML4H_DISPLAY.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mldoc_extract | mldoc_extract | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CostEstimate | kalnr | ||
| KEY | FiscalYearPeriod | |||
| KEY | ReferenceDocument | docref | ||
| KEY | CurrencyRole | curtp | ||
| Ledger | rldnr | |||
| TotalVltdStockQuantity | quant | |||
| InvtryTransacAmtInDisplayCrcy | stval | |||
| SlsPrcAmtInclVATInCoCodeCrcy | vkwrt | |||
| ValuationQuantityUnit | meins | |||
| Currency | waers |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType:{
serviceQuality: #A,
sizeCategory: #L,
dataClass: #MASTER
}
@VDM: {
viewType: #BASIC,
private: true
}
define view entity P_MatlLedgerDocumentExtract
as select from mldoc_extract
{
key kalnr as CostEstimate,
key cast(jahrper as fins_fyearperiod preserving type ) as FiscalYearPeriod,
key docref as ReferenceDocument,
key curtp as CurrencyRole,
rldnr as Ledger,
@Semantics.quantity.unitOfMeasure: 'ValuationQuantityUnit'
quant as TotalVltdStockQuantity,
@Semantics.amount.currencyCode: 'Currency'
stval as InvtryTransacAmtInDisplayCrcy,
@Semantics.amount.currencyCode: 'Currency'
vkwrt as SlsPrcAmtInclVATInCoCodeCrcy,
meins as ValuationQuantityUnit,
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