/SSB/CORE_SAC_STORIES_MODELS

DDL: /SSB/CORE_SAC_STORIES_MODELS SQL: /SSB/COSACMODELS Type: view Package: /SSB/CORE

SAC Models with Query details

/SSB/CORE_SAC_STORIES_MODELS is a CDS View that provides data about "SAC Models with Query details" in SAP S/4HANA. It reads from 2 data sources (/SSB/CORE_ANALYTICAL_QRYS, /ssb/sacmod_s) and exposes 7 fields with key fields id, query_id. Part of development package /SSB/CORE.

Data Sources (2)

SourceAliasJoin Type
/SSB/CORE_ANALYTICAL_QRYS CDSDetails inner
/ssb/sacmod_s SACModels from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName /SSB/COSACMODELS view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label SAC Models with Query details view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY id /ssb/sacmod_s id WorklistID
KEY query_id /ssb/sacmod_s query_id SQL View Name
cdsview /ssb/sacmod_s cdsview CDS View
ServiceName /ssb/sacmod_s service Service Type
ServiceType /ssb/sacmod_s service_type Type of Ext. Service
cdsviewtext
description /SSB/CORE_ANALYTICAL_QRYS EndUserTextLabel Value from table

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 /SSB/CORE_SAC_STORIES_MODELS.
-- 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: /SSB/COSACMODELS

CREATE VIEW /SSB/CORE_SAC_STORIES_MODELS AS
SELECT
  SACModels.id AS id,
  SACModels.query_id AS query_id,
  SACModels.cdsview AS cdsview,
  SACModels.service AS ServiceName,
  SACModels.service_type AS ServiceType,
  coalesce( CDSDetails.DDLSourceNameText, SACModels.cdsview ) AS cdsviewtext,
  CDSDetails.EndUserTextLabel AS description
FROM /ssb/sacmod_s AS SACModels
INNER JOIN /SSB/CORE_ANALYTICAL_QRYS AS CDSDetails ON /* join condition not captured in parsed metadata */
;