I_SAIS_gaf_filter_assign
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)
| Source | Alias | Join Type |
|---|---|---|
| sais_gaf_user | sais_gaf_user | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Filter assignments of a user | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 | |
| _User | 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]
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA