APS_COM_CS_AUTH_F

DDL: APS_COM_CS_AUTH_F SQL: APS_COM_CS_A_F Type: view Package: SR_APS_COM_CSCN

COM: CSCN Assigned Auth Fields

APS_COM_CS_AUTH_F is a CDS View that provides data about "COM: CSCN Assigned Auth Fields" in SAP S/4HANA. It reads from 4 data sources (aps_iam_w_au, aps_com_cs_auth_default, aps_com_w_scnaui, aps_iam_auth_field_ddl) and exposes 7 fields with key fields ScenarioId, ObjectId, ParentId, Field. It has 1 association to related views. Part of development package SR_APS_COM_CSCN.

Data Sources (4)

SourceAliasJoin Type
aps_iam_w_au actvt left_outer
aps_com_cs_auth_default default from
aps_com_w_scnaui instance inner
aps_iam_auth_field_ddl text left_outer

Associations (1)

CardinalityTargetAliasCondition
[0..*] aps_com_cs_auth_v _authValues _authValues.ParentId = instance.uuid and _authValues.Field = default.Field

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName APS_COM_CS_A_F view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label COM: CSCN Assigned Auth Fields view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ScenarioId aps_com_w_scnaui scenario_id Workflow definition
KEY ObjectId aps_com_cs_auth_default Objct Object
KEY ParentId aps_com_w_scnaui uuid Waste Partner UUID
KEY Field aps_com_cs_auth_default Field Logical Field
Description aps_iam_auth_field_ddl FieldText Short Description
FieldACTVTthenXelseendasIsActvt
_authValues _authValues

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 APS_COM_CS_AUTH_F.
-- 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: APS_COM_CS_A_F

CREATE VIEW APS_COM_CS_AUTH_F AS
SELECT
  instance.scenario_id AS ScenarioId,
  default.Objct AS ObjectId,
  instance.uuid AS ParentId,
  default.Field AS Field,
  text.FieldText AS Description,
  case when actvt.activity_field = default.Field then 'X' when default.Field = 'ACTVT' then 'X' else '' end as IsActvt AS FieldACTVTthenXelseendasIsActvt
FROM aps_com_cs_auth_default AS default
INNER JOIN aps_com_w_scnaui AS instance ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN aps_iam_w_au AS actvt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN aps_iam_auth_field_ddl AS text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN aps_com_cs_auth_v AS _authValues ON _authValues.ParentId = instance.uuid AND _authValues.Field = default.Field  -- association [0..*]
;