P_SAIS_GAF_4_USER_TST

DDL: P_SAIS_GAF_4_USER_TST Type: view_entity Package: SAIS_GAF

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)

SourceAliasJoin Type
sais_gaf_dobj dobj inner
sais_gaf_filtp filt inner
sais_gaf_filta filta inner
sais_gaf_user usr from

Annotations (4)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;