P_ONRNV1

DDL: P_ONRNV1 SQL: PFIONRNV1 Type: view BASIC

P_ONRNV1 is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (afko, afvc, onr00) and exposes 7 fields with key field objnr.

Data Sources (3)

SourceAliasJoin Type
afko afko inner
afvc afvc from
onr00 onr00 inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PFIONRNV1 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

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY objnr afvc objnr
aufpl afvc aufpl
aplzl afvc aplzl
bukrs afvc bukrs
aufnr afko aufnr
vornr afvc vornr
OBART
@AbapCatalog.sqlViewName: 'PFIONRNV1'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
// @EndUserText.label: 'View for AFVC'

@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.buffering.status: #NOT_ALLOWED

define view P_ONRNV1 as select from afvc 
                inner join onr00 on  afvc.objnr = onr00.objnr  
                inner join afko  on  afvc.aufpl = afko.aufpl                              
{
key afvc.objnr as objnr,
afvc.aufpl     as aufpl,
afvc.aplzl     as aplzl,
afvc.bukrs     as bukrs,
afko.aufnr     as aufnr,
afvc.vornr     as vornr,
cast ( SUBSTRING( afvc.objnr, 1, 2) as j_obart) as OBART
}