P_AnaEketSdmMiration1
Pur Docs not migrated to MMPUR_ANA_EKET
P_AnaEketSdmMiration1 is a Composite CDS View that provides data about "Pur Docs not migrated to MMPUR_ANA_EKET" in SAP S/4HANA. It reads from 2 data sources (I_PurgDocScheduleLine, I_PurchasingDocumentItem) and exposes 2 fields with key field PurchasingDocument.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PurgDocScheduleLine | eket | inner |
| I_PurchasingDocumentItem | ekpo | inner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSDMMMEKET1 | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Pur Docs not migrated to MMPUR_ANA_EKET | view |
@AbapCatalog.sqlViewName: 'PSDMMMEKET1'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #A,
sizeCategory: #XL
}
}
@VDM.private: true
@VDM.viewType: #COMPOSITE
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Pur Docs not migrated to MMPUR_ANA_EKET'
define view P_AnaEketSdmMiration1
as select distinct from I_PurchasingDocument as ekko
inner join I_PurchasingDocumentItem as ekpo on ekko.PurchasingDocument = ekpo.PurchasingDocument
inner join I_PurgDocScheduleLine as eket on eket.PurchasingDocument = ekko.PurchasingDocument
and eket.PurchasingDocumentItem = ekpo.PurchasingDocumentItem
left outer to many join I_PurgDocScheduleLineEnhanced as ana_eket on ekko.PurchasingDocument = ana_eket.PurchasingDocument
{
key ekko.PurchasingDocument as PurchasingDocument,
ekko.PurchasingDocumentCategory as PurchasingDocumentCategory,
//ana_eket.PurgDocSDMVers as p_sdm_version
case when ana_eket.PurgDocSDMVers is not initial
then ana_eket.PurgDocSDMVers
else cast( '00' as abap.char( 2 ) ) end as sdm_status
}
where
(
ekko.PurchasingDocumentCategory = 'F'
or ekko.PurchasingDocumentCategory = 'L'
)
and(
ekpo.IsStatisticalItem = ''
or ekpo.Material <> ''
)
and ekko.PurchasingDocumentDeletionCode = ''
and ekko.PurchasingCompletenessStatus = ''
and ekko.PurchasingDocumentIsAged = ''
and ekko.IsEndOfPurposeBlocked = ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PURCHASINGDOCUMENT",
"I_PURCHASINGDOCUMENTITEM",
"I_PURGDOCSCHEDULELINE",
"I_PURGDOCSCHEDULELINEENHANCED"
],
"ASSOCIATED":
[],
"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