I_OrgUnit

DDL: I_ORGUNIT SQL: IORGNUNIT Type: view BASIC

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)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

ServiceBindingVersionContractRelease
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 IDApp NameTypeDescription
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)

KeyFieldSource TableSource FieldDescription
KEY OrganizationalUnit t527x orgeh Org. Unit
OrganizationalUnitCode _OrgUnitCode Name Zone name
_OrgUnitText _OrgUnitText

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 I_OrgUnit.
-- 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.
-- SQL view name: IORGNUNIT

CREATE VIEW I_OrgUnit AS
SELECT
  t527x.orgeh AS OrganizationalUnit,
  _OrgUnitCode.Name AS OrganizationalUnitCode
LEFT OUTER JOIN I_OrgUnitText AS _OrgUnitText ON OrganizationalUnit = _OrgUnitText.OrganizationalUnit  -- association [0..*]
LEFT OUTER JOIN P_PDOBJECT AS _OrgUnitCode ON OrganizationalUnit = _OrgUnitCode.ObjectID AND _OrgUnitCode.ObjectType = 'O' AND _OrgUnitCode.EndDate >= $session.system_date AND _OrgUnitCode.StartDate <= $session.system_date  -- association [0..1]
;