APJ_V_JT_SEQUENCE_W

DDL: APJ_V_JT_SEQUENCE_W SQL: APJ_V_JT_SEQ_W Type: view Package: SBTI_APJ_DT

View JT Sequences SAP

APJ_V_JT_SEQUENCE_W is a CDS View that provides data about "View JT Sequences SAP" in SAP S/4HANA. It reads from 2 data sources (apj_w_jt_root, apj_w_jce_seq) and exposes 2 fields with key field mandt. It has 4 associations to related views. Part of development package SBTI_APJ_DT.

Data Sources (2)

SourceAliasJoin Type
apj_w_jt_root root_w from
apj_w_jce_seq seq_w left_outer

Associations (4)

CardinalityTargetAliasCondition
[0..1] apj_w_jt_ro_t rootText rootText.job_template_name = root_w.job_template_name and rootText.job_template_version = root_w.job_template_version and rootText.langu = $session.system_language
[0..1] apj_w_jt_ro_t rootEnglishText rootEnglishText.job_template_name = root_w.job_template_name and rootEnglishText.job_template_version = root_w.job_template_version and rootEnglishText.langu = 'E'
[0..1] apj_w_jce_seq_t seqText seqText.job_catalog_entry_name = seq_w.job_catalog_entry_name and seqText.job_catalog_entry_version = seq_w.job_catalog_entry_version and seqText.job_sequence_name = seq_w.job_sequence_name and seqText.langu = $session.system_language
[0..1] apj_w_jce_seq_t seqEnglishText seqEnglishText.job_catalog_entry_name = seq_w.job_catalog_entry_name and seqEnglishText.job_catalog_entry_version = seq_w.job_catalog_entry_version and seqEnglishText.job_sequence_name = seq_w.job_sequence_name and seqEnglishText.langu = 'E'

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName APJ_V_JT_SEQ_W view
AbapCatalog.compiler.compareFilter true view
ClientDependent true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label View JT Sequences SAP view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY mandt
text_jce

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 APJ_V_JT_SEQUENCE_W.
-- 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: APJ_V_JT_SEQ_W

CREATE VIEW APJ_V_JT_SEQUENCE_W AS
SELECT
  $session.client AS mandt,
  coalesce( coalesce( seqText.text, seqEnglishText.text ), coalesce( rootText.text, rootEnglishText.text )) AS text_jce
FROM apj_w_jt_root AS root_w
LEFT OUTER JOIN apj_w_jce_seq AS seq_w ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN apj_w_jt_ro_t AS rootText ON rootText.job_template_name = root_w.job_template_name AND rootText.job_template_version = root_w.job_template_version AND rootText.langu = $session.system_language  -- association [0..1]
LEFT OUTER JOIN apj_w_jt_ro_t AS rootEnglishText ON rootEnglishText.job_template_name = root_w.job_template_name AND rootEnglishText.job_template_version = root_w.job_template_version AND rootEnglishText.langu = 'E'  -- association [0..1]
LEFT OUTER JOIN apj_w_jce_seq_t AS seqText ON seqText.job_catalog_entry_name = seq_w.job_catalog_entry_name AND seqText.job_catalog_entry_version = seq_w.job_catalog_entry_version AND seqText.job_sequence_name = seq_w.job_sequence_name AND seqText.langu = $session.system_language  -- association [0..1]
LEFT OUTER JOIN apj_w_jce_seq_t AS seqEnglishText ON seqEnglishText.job_catalog_entry_name = seq_w.job_catalog_entry_name AND seqEnglishText.job_catalog_entry_version = seq_w.job_catalog_entry_version AND seqEnglishText.job_sequence_name = seq_w.job_sequence_name AND seqEnglishText.langu = 'E'  -- association [0..1]
;