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