P_ONRPR
P_ONRPR is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (onrpr, prps) and exposes 5 fields with key field objnr.
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFIONRPR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view |
@AbapCatalog.sqlViewName: 'PFIONRPR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
// @EndUserText.label: 'View for ONRPR'
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.buffering.status: #NOT_ALLOWED
define view P_ONRPR as select from onrpr
// inner join onr00 on onrpr.objnr = onr00.objnr
// left outer join prps on onrpr.pspnr = prps.pspnr
inner join prps on onrpr.pspnr = prps.pspnr
{
key onrpr.objnr as objnr,
onrpr.pspnr as pspnr,
prps.pkokr as kokrs,
prps.pbukr as bukrs,
cast ( SUBSTRING( onrpr.objnr, 1, 2) as j_obart) as OBART
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"ONRPR",
"PRPS"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"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