P_MLMaterialHeader
P_MLMaterialHeader is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (ckmlhd) and exposes 18 fields with key field CostEstimate. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ckmlhd | ckmlhd | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMLMHDR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CostEstimate | kalnr | ||
| mlast | mlast | |||
| xabrech | xabrech | |||
| abrechdat | abrechdat | |||
| xabrerr | xabrerr | |||
| abrechuhr | abrechuhr | |||
| Material | matnr | |||
| ValuationArea | bwkey | |||
| InventoryValuationType | bwtar | |||
| kzbws | kzbws | |||
| xobew | xobew | |||
| sobkz | sobkz | |||
| vbeln | vbeln | |||
| posnr | posnr | |||
| pspnr | pspnr | |||
| Supplier | lifnr | |||
| aexterrind | aexterrind | |||
| _Supplier | _Supplier |
@AbapCatalog.sqlViewName: 'PMLMHDR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #BASIC
@VDM.private:true
define view P_MLMaterialHeader
as select from ckmlhd
association [1..1] to I_Supplier as _Supplier on $projection.Supplier = _Supplier.Supplier
{
key kalnr as CostEstimate,
mlast,
xabrech,
abrechdat,
xabrerr,
abrechuhr,
matnr as Material,
bwkey as ValuationArea,
bwtar as InventoryValuationType,
kzbws,
xobew,
sobkz,
vbeln,
posnr,
pspnr,
lifnr as Supplier,
aexterrind,
matdoc_aexterrind,
_Supplier
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"CKMLHD"
],
"ASSOCIATED":
[
"I_SUPPLIER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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