I_SAIS_gaf_filter_assign

DDL: I_SAIS_GAF_FILTER_ASSIGN Type: view_entity

Filter assignments of a user

I_SAIS_gaf_filter_assign is a CDS View that provides data about "Filter assignments of a user" in SAP S/4HANA. It reads from 1 data source (sais_gaf_user) and exposes 14 fields with key fields UserName, FilterName. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
sais_gaf_user sais_gaf_user from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_SAIS_GAF_FILTER_TEXT _FilterText $projection.FilterName = _FilterText.Filter and _FilterText.LanguageCode = $session.system_language
[0..1] I_SAIS_GAF_Filter_VH _Filter $projection.FilterName = _Filter.FilterName
[0..*] I_sais_gaf_state_VH _State $projection.Status = _State.StatusValue
[0..1] SAIS_USER_F4 _User $projection.UserName = _User.UserID

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Filter assignments of a user view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY UserName bname User name
KEY FilterName filter KPI Filter
Status status Workflow Status
StatusText _State Text User Group
CreatedBy created_by Version Created By
CreatedAt created_at Uploaded On
ChangedBy changed_by User Name
ChangedAt changed_at Timestamp
Description _FilterText Description Well Code Des.
_User _User
FullName _User FullName Name
UserDescription _User UserDescription Full Name
EMail _User EMail Rec. Doc. per e-Mail
UserGroup _User UserGroup User Group

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_SAIS_gaf_filter_assign.
-- 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_SAIS_gaf_filter_assign AS
SELECT
  bname AS UserName,
  filter AS FilterName,
  Status,
  _State.Text AS StatusText,
  created_by AS CreatedBy,
  created_at AS CreatedAt,
  changed_by AS ChangedBy,
  changed_at AS ChangedAt,
  _FilterText.Description AS Description,
  _User.FullName AS FullName,
  _User.UserDescription AS UserDescription,
  _User.EMail AS EMail,
  _User.UserGroup AS UserGroup
FROM sais_gaf_user
LEFT OUTER JOIN I_SAIS_GAF_FILTER_TEXT AS _FilterText ON FilterName = _FilterText.Filter AND _FilterText.LanguageCode = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_SAIS_GAF_Filter_VH AS _Filter ON FilterName = _Filter.FilterName  -- association [0..1]
LEFT OUTER JOIN I_sais_gaf_state_VH AS _State ON Status = _State.StatusValue  -- association [0..*]
LEFT OUTER JOIN SAIS_USER_F4 AS _User ON UserName = _User.UserID  -- association [0..1]
;