M_V_Inforecord_Basic
CDS View for InfoRecords validity
M_V_Inforecord_Basic is a CDS View that provides data about "CDS View for InfoRecords validity" in SAP S/4HANA. It reads from 1 data source (eina) and exposes 7 fields with key field infnr. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| eina | eina | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | eine | _eine | $projection.infnr = _eine.infnr |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CDS_M_IR_BASIC | view | |
| EndUserText.label | CDS View for InfoRecords validity | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | infnr | eina | infnr | |
| matnr | matnr | |||
| lifnr | lifnr | |||
| umren | umren | |||
| umrez | umrez | |||
| loekz | loekz | |||
| _eine | _eine |
@AbapCatalog.sqlViewName: 'CDS_M_IR_BASIC'
@EndUserText.label: 'CDS View for InfoRecords validity'
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
define view M_V_Inforecord_Basic as select from eina
// association added for cds hardening
association [1..*] to eine as _eine on $projection.infnr = _eine.infnr{
key eina.infnr,
case eina.lifab
when '00000000' then '00000000'
else eina.lifab
end as lifab,
case eina.lifbi
when '00000000' then '99991231'
else eina.lifbi
end as lifbi,
matnr,
lifnr,
umren,
umrez,
loekz,
_eine
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EINA"
],
"ASSOCIATED":
[
"EINE"
],
"BASE":
[],
"VERSION":0
}
}*/
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