P_ONRPD

DDL: P_ONRPD SQL: PFIONRPD Type: view BASIC

P_ONRPD is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (onrpd, proj) and exposes 5 fields with key field objnr.

Data Sources (2)

SourceAliasJoin Type
onrpd onrpd from
proj proj inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PFIONRPD 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 (5)

KeyFieldSource TableSource FieldDescription
KEY objnr onrpd objnr Val. Obj. No.
pspnr onrpd pspnr WBS Element
kokrs proj vkokr CO area
bukrs proj vbukr Posted In
OBART

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view P_ONRPD.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PFIONRPD

CREATE VIEW P_ONRPD AS
SELECT
  onrpd.objnr AS objnr,
  onrpd.pspnr AS pspnr,
  proj.vkokr AS kokrs,
  proj.vbukr AS bukrs,
  cast ( SUBSTRING( onrpd.objnr, 1, 2) as j_obart) AS OBART
FROM onrpd
INNER JOIN proj ON /* join condition not captured in parsed metadata */
;