i_islm_p_tkey_runs

DDL: I_ISLM_P_TKEY_RUNS Type: view_entity

Turnkey runs

i_islm_p_tkey_runs is a CDS View that provides data about "Turnkey runs" in SAP S/4HANA. It reads from 4 data sources (APL_V_APPL_LOG_OVERVIEW, islm_plnd_tk_log, apj_d_jr_rest, islm_tkey_runs) and exposes 24 fields with key field guid. It has 1 association to related views.

Data Sources (4)

SourceAliasJoin Type
APL_V_APPL_LOG_OVERVIEW log_details left_outer
islm_plnd_tk_log plnd_log inner
apj_d_jr_rest restart_job left_outer
islm_tkey_runs tkey_run from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ISLM_P_PSCENARIO _scenario $projection.scenario_name = _scenario.guid

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Turnkey runs view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY guid islm_tkey_runs guid UUID 22 char.
version islm_tkey_runs version XML Vers.
status islm_tkey_runs status Workflow Status
created_by islm_tkey_runs created_by Version Created By
created_at islm_tkey_runs created_at Uploaded On
changed_by islm_tkey_runs changed_by User Name
changed_at islm_tkey_runs changed_at Timestamp
Planned_Guid
Execution_Timestamp islm_plnd_tk_log execution_timestamp Start Timestamp
Type islm_plnd_tk_log type Worklist Type
Id islm_plnd_tk_log id WorklistID
Msg_Number islm_plnd_tk_log msg_number Message Number
Message islm_plnd_tk_log message User Message
Message_V1 islm_plnd_tk_log message_v1 Message Variable
Message_V2 islm_plnd_tk_log message_v2 Message Variable
Message_V3 islm_plnd_tk_log message_v3 Message Variable
Message_V4 islm_plnd_tk_log message_v4 Message Variable
Job_Name islm_plnd_tk_log job_name Job No.
Job_Count islm_plnd_tk_log job_count Job No.
Log_Handle islm_plnd_tk_log log_handle Migration Log Handle
Ref_Entity_Id islm_plnd_tk_log ref_entity_id Reference Entity ID
Ref_Entity_Type islm_plnd_tk_log ref_entity_type Reference EntityType
TkeyRunGuid islm_plnd_tk_log tkey_run_guid Turnkey Run GUID
_scenario _scenario

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 i_islm_p_tkey_runs.
-- 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 i_islm_p_tkey_runs AS
SELECT
  tkey_run.guid AS guid,
  tkey_run.version AS version,
  tkey_run.status AS status,
  tkey_run.created_by AS created_by,
  tkey_run.created_at AS created_at,
  tkey_run.changed_by AS changed_by,
  tkey_run.changed_at AS changed_at,
  cast( plnd_log.planned_guid as islm2_de_uuid preserving type ) AS Planned_Guid,
  plnd_log.execution_timestamp AS Execution_Timestamp,
  plnd_log.type AS Type,
  plnd_log.id AS Id,
  plnd_log.msg_number AS Msg_Number,
  plnd_log.message AS Message,
  plnd_log.message_v1 AS Message_V1,
  plnd_log.message_v2 AS Message_V2,
  plnd_log.message_v3 AS Message_V3,
  plnd_log.message_v4 AS Message_V4,
  plnd_log.job_name AS Job_Name,
  plnd_log.job_count AS Job_Count,
  plnd_log.log_handle AS Log_Handle,
  plnd_log.ref_entity_id AS Ref_Entity_Id,
  plnd_log.ref_entity_type AS Ref_Entity_Type,
  plnd_log.tkey_run_guid AS TkeyRunGuid
FROM islm_tkey_runs AS tkey_run
INNER JOIN islm_plnd_tk_log AS plnd_log ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN apj_d_jr_rest AS restart_job ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN APL_V_APPL_LOG_OVERVIEW AS log_details ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ISLM_P_PSCENARIO AS _scenario ON scenario_name = _scenario.guid  -- association [1..1]
;