I_RSHResourceServiceOrg
Service organization for a cost center
I_RSHResourceServiceOrg is a Composite CDS View that provides data about "Service organization for a cost center" in SAP S/4HANA. It reads from 1 data source (I_EngagementProjectSrvcOrgDets) and exposes 6 fields with key fields AssignedOrganisation, CompanyCode.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EngagementProjectSrvcOrgDets | orgdet | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IRSHRESSERORG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.private | false | view | |
| EndUserText.label | Service organization for a cost center | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AssignedOrganisation | I_EngagementProjectSrvcOrgDets | AssignedOrganisation | |
| KEY | CompanyCode | |||
| EngagementProjectServiceOrg | I_EngagementProjectSrvcOrgDets | EngagementProjectServiceOrg | ||
| EngmtProjectServiceOrgName | ||||
| AssignedOrganisationType | I_EngagementProjectSrvcOrgDets | AssignedOrganisationType | ||
| ControllingArea |
@AbapCatalog.sqlViewName: 'IRSHRESSERORG'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@VDM.private: false
@EndUserText.label: 'Service organization for a cost center'
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
/*
CONTRACT**********************************************************************************************************************
Name: Service Organization
Specification: This View returns the service organization and cost center details of the resource
Requires: No
Ensures: All the service org and cost center association for employees are returned
Owners: SY
Contributors: SY
Unit Test required Y/N: Yes
Additional comments None
END OF CONTRACT***************************************************************************************************************
*/
define view I_RSHResourceServiceOrg
as select from I_EngagementProjectSrvcOrgDets as orgdet
{
//One CostCenter can semantically only be assigned to one ServiceOrg: this KeyDefinition is correct (warning can be ignored)
@EndUserText: {label: 'Cost Center ID'}
key orgdet.AssignedOrganisation as AssignedOrganisation,
@EndUserText: {label: 'Company Code'}
key orgdet._EngagementProjectServiceOrg._CompanyCode.AssignedOrganisation as CompanyCode,
@EndUserText: {label: 'Service Organization ID'}
orgdet.EngagementProjectServiceOrg,
@EndUserText: {label: 'Service Organization'}
orgdet._EngagementProjectServiceOrg._Text[1: Language = $session.system_language ].EngmtProjectServiceOrgName as EngmtProjectServiceOrgName,
@Consumption.hidden: true
orgdet.AssignedOrganisationType,
@UI.hidden: true
orgdet._EngagementProjectServiceOrg._ControllingArea.AssignedOrganisation as ControllingArea
}
where
AssignedOrganisationType = 'CS'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ENGAGEMENTPROJECTSRVCORG",
"I_ENGAGEMENTPROJECTSRVCORGDETS",
"I_ENGAGEMENTPROJECTSRVCORGTEXT"
],
"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