P_ONRPR
View for ONRPR
P_ONRPR is a Basic CDS View that provides data about "View for ONRPR" in SAP S/4HANA. It reads from 2 data sources (I_WBSElementBasicData, onrpr) and exposes 5 fields with key field objnr. Part of development package FINS_FIS_FICO.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_WBSElementBasicData | I_WBSElementBasicData | inner |
| onrpr | onrpr | from |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.entityBuffer.definitionAllowed | false | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | objnr | onrpr | objnr | |
| pspnr | onrpr | pspnr | ||
| kokrs | I_WBSElementBasicData | ControllingArea | ||
| bukrs | I_WBSElementBasicData | CompanyCode | ||
| OBART |
@AbapCatalog.entityBuffer.definitionAllowed: false
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private:true
define view entity 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 I_WBSElementBasicData on onrpr.pspnr = I_WBSElementBasicData.WBSElementInternalID
{
key onrpr.objnr as objnr,
onrpr.pspnr as pspnr,
I_WBSElementBasicData.ControllingArea as kokrs,
I_WBSElementBasicData.CompanyCode as bukrs,
cast ( substring( onrpr.objnr, 1, 2) as j_obart preserving type ) as OBART
}
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