C_AURSAssignableUser

DDL: C_AURSASSIGNABLEUSER SQL: CAURSASSBLUSER Type: view CONSUMPTION

C_AURSAssignableUser is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_RetailStoreAssignableUser) and exposes 8 fields with key fields Store, UserID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_RetailStoreAssignableUser I_RetailStoreAssignableUser from

Associations (2)

CardinalityTargetAliasCondition
[0..1] C_AURSStoreUser _UserAssignment $projection.UserID = _UserAssignment.AssignedUser
[0..1] I_UserContactCard _UserContactCard $projection.UserID = _UserContactCard.ContactCardID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CAURSASSBLUSER view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey Store view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Store Store Plant
KEY UserID UserID User Name
AssignedStore _UserAssignment Store Plant
FirstName _UserContactCard FirstName First Name
LastName _UserContactCard LastName Last Name
FullName _UserContactCard FullName Name
IsCurrentUser
_ParentStore _ParentStore

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 C_AURSAssignableUser.
-- 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: CAURSASSBLUSER

CREATE VIEW C_AURSAssignableUser AS
SELECT
  Store,
  UserID,
  _UserAssignment.Store AS AssignedStore,
  _UserContactCard.FirstName AS FirstName,
  _UserContactCard.LastName AS LastName,
  _UserContactCard.FullName AS FullName,
  cast(case when UserID = $session.user then 'X' else '' end as boolean preserving type) AS IsCurrentUser
FROM I_RetailStoreAssignableUser
LEFT OUTER JOIN C_AURSStoreUser AS _UserAssignment ON UserID = _UserAssignment.AssignedUser  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _UserContactCard ON UserID = _UserContactCard.ContactCardID  -- association [0..1]
;