I_RSHRESOURCESERVICEORG
Service organization for a cost center
I_RSHRESOURCESERVICEORG is a CDS View in S/4HANA. Service organization for a cost center. It contains 2 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_RSHResourceServiceOrg | view | from | CONSUMPTION | Service organization for a cost center |
Fields (2)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | CompanyCode | CompanyCode | 1 |
| ControllingArea | ControllingArea | 1 |
@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'