P_ONRSC
View for ONRSC
P_ONRSC is a Basic CDS View that provides data about "View for ONRSC" in SAP S/4HANA. It reads from 2 data sources (onrsc, P_AcctgServiceDocument) and exposes 4 fields with key field objnr. Part of development package FINS_FIS_FICO.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| onrsc | onrsc | from |
| P_AcctgServiceDocument | P_AcctgServiceDocument | inner |
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 (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | objnr | onrsc | objnr | |
| kokrs | P_AcctgServiceDocument | ControllingArea | ||
| bukrs | P_AcctgServiceDocument | CompanyCode | ||
| OBART |
@AbapCatalog.entityBuffer.definitionAllowed: false
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private:true
define view entity P_ONRSC as select from onrsc
// inner join onr00 on onrsc.objnr = onr00.objnr
inner join P_AcctgServiceDocument on onrsc.objnr = P_AcctgServiceDocument.ControllingObject
{
key onrsc.objnr as objnr,
onrsc.service_doc_id as service_doc_id,
onrsc.service_doc_item_id as service_doc_item_id,
P_AcctgServiceDocument.ServiceDocumentType as service_doc_type,
P_AcctgServiceDocument.ControllingArea as kokrs,
P_AcctgServiceDocument.CompanyCode as bukrs,
cast ( substring( onrsc.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