P_SAIS_GAF_4_USER_TST
GAF - Criteria for User and Data Object
P_SAIS_GAF_4_USER_TST is a CDS View that provides data about "GAF - Criteria for User and Data Object" in SAP S/4HANA. It reads from 4 data sources (sais_gaf_dobj, sais_gaf_filtp, sais_gaf_filta, sais_gaf_user) and exposes 7 fields with key fields bname, dobj, filter, dobj_fld, low. Part of development package SAIS_GAF.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| sais_gaf_dobj | dobj | inner |
| sais_gaf_filtp | filt | inner |
| sais_gaf_filta | filta | inner |
| sais_gaf_user | usr | from |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| AbapCatalog.entityBuffer.definitionAllowed | true | view | |
| EndUserText.label | GAF - Criteria for User and Data Object | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | bname | sais_gaf_user | bname | User name |
| KEY | dobj | sais_gaf_dobj | dobj | Injured person |
| KEY | filter | |||
| KEY | dobj_fld | sais_gaf_dobj | dobj_fld | Field Name |
| KEY | low | sais_gaf_filtp | low | Value from |
| KEY | high | sais_gaf_filtp | high | Value up to |
| lowlikethenCPelseEQendassel_option |
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 P_SAIS_GAF_4_USER_TST.
-- 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 P_SAIS_GAF_4_USER_TST AS
SELECT
usr.bname AS bname,
dobj.dobj AS dobj,
substring ( concat( filt.filter, filt.fattr ), 1 , 20) AS filter,
dobj.dobj_fld AS dobj_fld,
filt.low AS low,
filt.high AS high,
case when filt.high is not initial then 'BT' when filt.low like '%*%' then 'CP' when filt.low like '%+%' then 'CP' else 'EQ' end as sel_option AS lowlikethenCPelseEQendassel_option
FROM sais_gaf_user AS usr
INNER JOIN sais_gaf_filta AS filta ON /* join condition not captured in parsed metadata */
INNER JOIN sais_gaf_filtp AS filt ON /* join condition not captured in parsed metadata */
INNER JOIN sais_gaf_dobj AS dobj ON /* join condition not captured in parsed metadata */
;
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