I_OrgUnit
OrganizationalUnit
I_OrgUnit is a Basic CDS View that provides data about "OrganizationalUnit" in SAP S/4HANA. It has 2 associations to related views. It is exposed through 4 OData services (UI_HCMACTUALACTIVITIES, UI_HCMACTUALACTIVITIES_EMP, UI_HCMCOMPLIANCE, ...). It is used in 2 Fiori applications: Timesheet Analytics - Activities (S/4HANA), Timesheet Analytics - My Activities (S/4HANA).
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_OrgUnitText | _OrgUnitText | $projection.OrganizationalUnit = _OrgUnitText.OrganizationalUnit |
| [0..1] | P_PDOBJECT | _OrgUnitCode | $projection.OrganizationalUnit = _OrgUnitCode.ObjectID and _OrgUnitCode.ObjectType = 'O' and _OrgUnitCode.EndDate >= $session.system_date and _OrgUnitCode.StartDate <= $session.system_date |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IORGNUNIT | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | OrganizationalUnit | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.representativeKey | OrganizationalUnit | view |
OData Services (4)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_HCMACTUALACTIVITIES | UI_HCMACTUALACTIVITIES | V2 | C1 | NOT_RELEASED |
| UI_HCMACTUALACTIVITIES_EMP | UI_HCMACTUALACTIVITIES_EMP | V2 | C1 | NOT_RELEASED |
| UI_HCMCOMPLIANCE | UI_HCMCOMPLIANCE_V2 | V2 | C1 | NOT_RELEASED |
| UI_HCMCOMPLIANCE_EMP | UI_HCMCOMPLIANCE_EMP_V2 | V2 | C1 | NOT_RELEASED |
Fiori Apps (2)
| App ID | App Name | Type | Description |
|---|---|---|---|
| F6687 | Timesheet Analytics - Activities (S/4HANA) | Analytical | Analytical app that allows Manager or Time Administrator to drill down on activities by various dimensions |
| F7189 | Timesheet Analytics - My Activities (S/4HANA) | Analytical | Analytical app that allows Employee to drill down on activities by various dimensions |
Timesheet Analytics - Activities (S/4HANA)
Business Role: Manager - HR Info
With this feature, you as an authorized user can view all timesheet records within your area of responsibility. You can also analyze the timesheet records based on different attributes such as attendance or absence type, cost center, project, network or controlling area, for example.
Timesheet Analytics - My Activities (S/4HANA)
Business Role: Employee - HR Info
With this feature, you as an employee can view all of your timesheet records. You can also analyze the timesheet records based on different attributes such as attendance or absence type, cost center, project, network or controlling area, for example.
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OrganizationalUnit | t527x | orgeh | |
| OrganizationalUnitCode | _OrgUnitCode | Name | ||
| _OrgUnitText | _OrgUnitText |
@AbapCatalog.sqlViewName: 'IORGNUNIT'
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@EndUserText.label: 'OrganizationalUnit'
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M
@AccessControl.privilegedAssociations: [ '_OrgUnitText']
@ObjectModel.representativeKey: 'OrganizationalUnit'
define view I_OrgUnit
//as select distinct from /shcm/hrp5090 as details
//
// association [0..1] to I_OrgUnitText as _OrgUnitText on $projection.OrganizationalUnit = _OrgUnitText.OrganizationalUnit
//
//{
// @ObjectModel.text.association: '_OrgUnitText'
// key case
// when details.department_id <> ''
// then details.department_id
// else case
// when details.division_id <> ''
// then details.division_id
// else details.business_unit_id
// end
// end as OrganizationalUnit,
// _OrgUnitText
//
//} where details.department_id <> '' or details.division_id <> '' or details.business_unit_id <> ''
//union all
as select distinct from t527x
association [0..*] to I_OrgUnitText as _OrgUnitText on $projection.OrganizationalUnit = _OrgUnitText.OrganizationalUnit
association [0..1] to P_PDOBJECT as _OrgUnitCode on $projection.OrganizationalUnit = _OrgUnitCode.ObjectID
and _OrgUnitCode.ObjectType = 'O'
and _OrgUnitCode.EndDate >= $session.system_date
and _OrgUnitCode.StartDate <= $session.system_date
{
@ObjectModel.text.association: '_OrgUnitText'
key t527x.orgeh as OrganizationalUnit,
_OrgUnitCode.Name as OrganizationalUnitCode,
_OrgUnitText
}
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