I_APJ_JOB_USR_OVERVIEW
Application Job Users Overview
I_APJ_JOB_USR_OVERVIEW is a CDS View that provides data about "Application Job Users Overview" in SAP S/4HANA. It reads from 5 data sources (APJ_V_JCE_UNION, apj_d_job_exe, tbtco, tbtc_task, tbtc_task_det) and exposes 5 fields with key field job_name. It has 5 associations to related views. Part of development package SBTI_APJ_RT.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| APJ_V_JCE_UNION | jce | left_outer |
| apj_d_job_exe | jobs | inner |
| tbtco | runs | inner |
| tbtc_task | task | from |
| tbtc_task_det | task_det | inner |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | APJ_V_JOB_RUN_JT_UNION | jt | jt.job_template_name = jobs.job_template_name |
| [0..1] | apj_d_jr_rest | jr_rest | jr_rest.job_name = task.jobname and jr_rest.job_count = task.jobcount |
| [0..1] | I_User | _jobowner | jobs.created_by = _jobowner.UserID |
| [0..1] | I_User | _jobuser | runs.authcknam = _jobuser.UserID |
| [0..*] | I_APJ_JOB_USR_HISTORY | _History | _History.Objectid = task_det.extid |
Annotations (2)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Application Job Users Overview | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | job_name | tbtc_task | jobname | Name of Send Process |
| job_user | tbtc_task_det | authcknam | User Name | |
| prdmonthsMOendelseSendasjob_recurrency | ||||
| job_ext_id | tbtc_task_det | extid | External Key | |
| _History | _History |
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_APJ_JOB_USR_OVERVIEW.
-- 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_APJ_JOB_USR_OVERVIEW AS
SELECT
task.jobname AS job_name,
task_det.authcknam AS job_user,
case when task_det.periodic = 'X' then case when task_det.prdmins <> '00' then concat(task_det.prdmins, 'MI') when task_det.prdhours <> '00' then concat(task_det.prdhours, 'H') when task_det.prddays <> '000' then concat(task_det.prddays, 'D') when task_det.prdweeks <> '00' then concat(task_det.prdweeks, 'W') when task_det.prdmonths <> '00' then concat(task_det.prdmonths, 'MO') end else 'S' end as job_recurrency AS prdmonthsMOendelseSendasjob_recurrency,
task_det.extid AS job_ext_id
FROM tbtc_task AS task
INNER JOIN tbtco AS runs ON /* join condition not captured in parsed metadata */
INNER JOIN apj_d_job_exe AS jobs ON /* join condition not captured in parsed metadata */
INNER JOIN tbtc_task_det AS task_det ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN APJ_V_JCE_UNION AS jce ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN APJ_V_JOB_RUN_JT_UNION AS jt ON jt.job_template_name = jobs.job_template_name -- association [0..1]
LEFT OUTER JOIN apj_d_jr_rest AS jr_rest ON jr_rest.job_name = task.jobname AND jr_rest.job_count = task.jobcount -- association [0..1]
LEFT OUTER JOIN I_User AS _jobowner ON jobs.created_by = _jobowner.UserID -- association [0..1]
LEFT OUTER JOIN I_User AS _jobuser ON runs.authcknam = _jobuser.UserID -- association [0..1]
LEFT OUTER JOIN I_APJ_JOB_USR_HISTORY AS _History ON _History.Objectid = task_det.extid -- association [0..*]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA