P_CmplRqRsltLtst
P_CmplRqRsltLtst is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_CmplRqRsltLtstCrtnDte, I_CmplRqRslt) and exposes 1 field with key field CmplRqRsltUUID.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_CmplRqRsltLtstCrtnDte | _CmplRqRsltLtstCrtnDte | inner |
| I_CmplRqRslt | crr | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCRRLTST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (1)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CmplRqRsltUUID | I_CmplRqRslt | CmplRqRsltUUID |
@AbapCatalog.sqlViewName: 'PCRRLTST'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
// Use this view to get the latest crr uuids
define view P_CmplRqRsltLtst as
select from I_CmplRqRslt as crr
// filter on the latest creationdate for cci and crv
inner join P_CmplRqRsltLtstCrtnDte as _CmplRqRsltLtstCrtnDte on _CmplRqRsltLtstCrtnDte.chmlcmplncinfouuid = crr.ChmlCmplncInfoUUID
and _CmplRqRsltLtstCrtnDte.cmplrqversuuid = crr.CmplRqVersUUID
and _CmplRqRsltLtstCrtnDte.creationdatetime = crr.CreationDateTime
{
key crr.CmplRqRsltUUID
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CMPLRQRSLT",
"P_CMPLRQRSLTLTSTCRTNDTE"
],
"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