I_InternalOrderUserVH

DDL: I_INTERNALORDERUSERVH Type: view_entity COMPOSITE

Internal order user

I_InternalOrderUserVH is a Composite CDS View that provides data about "Internal order user" in SAP S/4HANA. It reads from 1 data source (I_User) and exposes 4 fields with key field UserID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_User I_User from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_InternalOrder _InternalOrder I_User.UserID = _InternalOrder.CreatedByUser or I_User.UserID = _InternalOrder.LastChangedByUser or I_User.UserID = _InternalOrder.InternalOrderResponsibleUser

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Internal order user view
Search.searchable true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.dataCategory #VALUE_HELP view
Consumption.ranked true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY UserID UserID User Name
UserDescription UserDescription Full Name
IsTechnicalUser
_InternalOrder _InternalOrder

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_InternalOrderUserVH.
-- 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.

CREATE VIEW I_InternalOrderUserVH AS
SELECT
  UserID,
  UserDescription,
  cast (IsTechnicalUser as fco_io_is_technical_user preserving type ) AS IsTechnicalUser
FROM I_User
LEFT OUTER JOIN I_InternalOrder AS _InternalOrder ON I_User.UserID = _InternalOrder.CreatedByUser OR I_User.UserID = _InternalOrder.LastChangedByUser OR I_User.UserID = _InternalOrder.InternalOrderResponsibleUser  -- association [0..*]
;