P_ONRKL

DDL: P_ONRKL Type: view_entity BASIC Package: FINS_FIS_FICO

View for ONRKL

P_ONRKL is a Basic CDS View that provides data about "View for ONRKL" in SAP S/4HANA. It reads from 1 data source (onrkl) and exposes 6 fields with key field objnr. Part of development package FINS_FIS_FICO.

Data Sources (1)

SourceAliasJoin Type
onrkl onrkl from

Annotations (4)

NameValueLevelField
AbapCatalog.entityBuffer.definitionAllowed false view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY objnr onrkl objnr Val. Obj. No.
kokrs onrkl kokrs Org. Value
kostl onrkl kostl Substitute CC
lstar onrkl lstar Activity Type
bukrs I_CostCenter CompanyCode Receiver Company Code
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_ONRKL.
-- 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.

CREATE VIEW P_ONRKL AS
SELECT
  onrkl.objnr AS objnr,
  onrkl.kokrs AS kokrs,
  onrkl.kostl AS kostl,
  onrkl.lstar AS lstar,
  I_CostCenter.CompanyCode AS bukrs,
  cast ( substring( onrkl.objnr, 1, 2) as j_obart preserving type ) AS OBART
FROM onrkl
;