P_APJ_W_JOB_TEMPLATE

DDL: P_APJ_W_JOB_TEMPLATE SQL: P_APJ_W_JT Type: view

Client-independent Job Template

P_APJ_W_JOB_TEMPLATE is a CDS View that provides data about "Client-independent Job Template" in SAP S/4HANA. It reads from 1 data source (apj_w_jt_root) and exposes 2 fields. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
apj_w_jt_root Root from

Associations (3)

CardinalityTargetAliasCondition
[0..1] apj_w_jt_ro_t Text Text.job_template_name = Root.job_template_name and Text.job_template_version = Root.job_template_version and Text.langu = $session.system_language
[0..1] apj_w_jt_ro_t EnglishText EnglishText.job_template_name = Root.job_template_name and EnglishText.job_template_version = Root.job_template_version and EnglishText.langu = 'E'
[0..*] P_APJ_JOB_TEMPLATE_VALUE Value Value.job_template_name = Root.job_template_name and Value.job_template_version = Root.job_template_version

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName P_APJ_W_JT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Client-independent Job Template view

Fields (2)

KeyFieldSource TableSource FieldDescription
text
Value Value 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 P_APJ_W_JOB_TEMPLATE.
-- 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: P_APJ_W_JT

CREATE VIEW P_APJ_W_JOB_TEMPLATE AS
SELECT
  coalesce( Text.text, EnglishText.text ) AS text,
  Value
FROM apj_w_jt_root AS Root
LEFT OUTER JOIN apj_w_jt_ro_t AS Text ON Text.job_template_name = Root.job_template_name AND Text.job_template_version = Root.job_template_version AND Text.langu = $session.system_language  -- association [0..1]
LEFT OUTER JOIN apj_w_jt_ro_t AS EnglishText ON EnglishText.job_template_name = Root.job_template_name AND EnglishText.job_template_version = Root.job_template_version AND EnglishText.langu = 'E'  -- association [0..1]
LEFT OUTER JOIN P_APJ_JOB_TEMPLATE_VALUE AS Value ON Value.job_template_name = Root.job_template_name AND Value.job_template_version = Root.job_template_version  -- association [0..*]
;