SATC_API_RESULT_HEADERS_BASE

DDL: SATC_API_RESULT_HEADERS_BASE Type: view_entity

ATC: Result Headers - Base

SATC_API_RESULT_HEADERS_BASE is a CDS View that provides data about "ATC: Result Headers - Base" in SAP S/4HANA. It reads from 3 data sources (satc_ac_act_res, satc_ac_resulth, satc_ac_bsh) and exposes 36 fields with key field ResultId. It has 1 association to related views.

Data Sources (3)

SourceAliasJoin Type
satc_ac_act_res ActiveResults left_outer
satc_ac_resulth ATCResultHeaders from
satc_ac_bsh BaselineResults left_outer

Associations (1)

CardinalityTargetAliasCondition
[0..1] satc_ac_sys _system_info $projection.SystemIndex = _system_info.system_ix

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label ATC: Result Headers - Base view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY ResultId satc_ac_resulth display_id Display ID
Title satc_ac_resulth title View Title
CountPrio1 satc_ac_resulth count_prio1 Priority 1
CountPrio2 satc_ac_resulth count_prio2 Priority 2
CountPrio3 satc_ac_resulth count_prio3 Priority 3
CountPrio4 satc_ac_resulth count_prio4 Priority 4
CountCheckFailure satc_ac_resulth count_plnerr Check Failures
ScheduledSystemId satc_ac_resulth scheduled_sys SAP System ID
ScheduledClient satc_ac_resulth scheduled_clt Client
ScheduledBy satc_ac_resulth scheduled_by User Name
ScheduledOnTimestamp satc_ac_resulth scheduled_on_ts Created On
ProjectId satc_ac_resulth proj_id Project ID
ExecutionId satc_ac_resulth exec_id Search Execution ID
ValidToTimestamp satc_ac_resulth valid_to Validity End Time
IsComplete satc_ac_resulth is_complete Usable
IsTransient satc_ac_resulth is_transient Transient
IsMassTest satc_ac_resulth is_mass_test Mass Check
IsCentralRun satc_ac_resulth is_central_run Central
IsComposite satc_ac_resulth is_composite Composite
IsReworked satc_ac_resulth is_reworked Reworked
IsImported satc_ac_resulth is_imported Imported
IsActiveResult
IsInBaseline
AddedToBaselineBy
CheckVariant satc_ac_resulth chk_profile_name Check Profile
Configuration satc_ac_resulth configuration Text Analysis Method
RunSeries satc_ac_resulth run_series_name Run Series
PseudoCommentPragmaHandling satc_ac_resulth mode_fndng_xmptd_in_code PsComm/Pragmas
ChangedOnTimestamp satc_ac_resulth update_on Changed On
ObjectProvider satc_ac_resulth data_source_id Obj Provider
ResultAnnotation satc_ac_resulth annotation DD: Key/Name for Annotation
CheckRunIndex satc_ac_resulth check_run_ix Check Run
RawDataIndex satc_ac_resulth raw_data_ix Check Run
SystemIndex satc_ac_resulth system_ix System Context
SystemId _system_info system_id System ID
UniqueSystemId _system_info unique_system_id Unique System Id

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 SATC_API_RESULT_HEADERS_BASE.
-- 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 SATC_API_RESULT_HEADERS_BASE AS
SELECT
  ATCResultHeaders.display_id AS ResultId,
  ATCResultHeaders.title AS Title,
  ATCResultHeaders.count_prio1 AS CountPrio1,
  ATCResultHeaders.count_prio2 AS CountPrio2,
  ATCResultHeaders.count_prio3 AS CountPrio3,
  ATCResultHeaders.count_prio4 AS CountPrio4,
  ATCResultHeaders.count_plnerr AS CountCheckFailure,
  ATCResultHeaders.scheduled_sys AS ScheduledSystemId,
  ATCResultHeaders.scheduled_clt AS ScheduledClient,
  ATCResultHeaders.scheduled_by AS ScheduledBy,
  ATCResultHeaders.scheduled_on_ts AS ScheduledOnTimestamp,
  ATCResultHeaders.proj_id AS ProjectId,
  ATCResultHeaders.exec_id AS ExecutionId,
  ATCResultHeaders.valid_to AS ValidToTimestamp,
  ATCResultHeaders.is_complete AS IsComplete,
  ATCResultHeaders.is_transient AS IsTransient,
  ATCResultHeaders.is_mass_test AS IsMassTest,
  ATCResultHeaders.is_central_run AS IsCentralRun,
  ATCResultHeaders.is_composite AS IsComposite,
  ATCResultHeaders.is_reworked AS IsReworked,
  ATCResultHeaders.is_imported AS IsImported,
  case when ATCResultHeaders.display_id = ActiveResults.display_id then 'X' else '' end AS IsActiveResult,
  case when ATCResultHeaders.display_id = BaselineResults.display_id then 'X' else '' end AS IsInBaseline,
  case when ATCResultHeaders.display_id = BaselineResults.display_id then BaselineResults.created_by else '' end AS AddedToBaselineBy,
  ATCResultHeaders.chk_profile_name AS CheckVariant,
  ATCResultHeaders.configuration AS Configuration,
  ATCResultHeaders.run_series_name AS RunSeries,
  ATCResultHeaders.mode_fndng_xmptd_in_code AS PseudoCommentPragmaHandling,
  ATCResultHeaders.update_on AS ChangedOnTimestamp,
  ATCResultHeaders.data_source_id AS ObjectProvider,
  ATCResultHeaders.annotation AS ResultAnnotation,
  ATCResultHeaders.check_run_ix AS CheckRunIndex,
  ATCResultHeaders.raw_data_ix AS RawDataIndex,
  ATCResultHeaders.system_ix AS SystemIndex,
  _system_info.system_id AS SystemId,
  _system_info.unique_system_id AS UniqueSystemId
FROM satc_ac_resulth AS ATCResultHeaders
LEFT OUTER JOIN satc_ac_act_res AS ActiveResults ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN satc_ac_bsh AS BaselineResults ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN satc_ac_sys AS _system_info ON SystemIndex = _system_info.system_ix  -- association [0..1]
;