hrpy_pcc_step_job
Step Recurrence Job Data
hrpy_pcc_step_job is a CDS View that provides data about "Step Recurrence Job Data" in SAP S/4HANA. It reads from 6 data sources and exposes 16 fields with key fields rec_ref_id, ac_ref_id, step_ref_id, bpc_id, job_count.
Data Sources (6)
| Source | Alias | Join Type |
|---|---|---|
| tbtco | job_status | left_outer |
| pyt_d_job_stat_t | job_status_text | left_outer |
| tbtcp | job_step | left_outer |
| HRPY_PCC_spool | spool | left_outer |
| tsp01 | spool_detail | left_outer |
| pyt_d_bpc | step_bpc | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | HRPY_PCC_SJ | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Step Recurrence Job Data | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | rec_ref_id | step_recurrence | acl_recur_ref_id | |
| KEY | ac_ref_id | step_recurrence | act_recur_ref_id | |
| KEY | step_ref_id | pyt_d_bpc | ref_id | Technical Object |
| KEY | bpc_id | pyt_d_bpc | ref_id | Technical Object |
| KEY | job_count | tbtco | jobcount | Job number |
| KEY | job_name | tbtco | jobname | Name of Send Process |
| object_key | ||||
| status | tbtco | status | Workflow Status | |
| status_name | pyt_d_job_stat_t | name | Zone name | |
| start_date | tbtco | strtdate | Execution Date | |
| end_date | tbtco | enddate | Term to | |
| start_time | tbtco | strttime | Execution Date | |
| end_time | tbtco | endtime | Time Stamp | |
| program_name | tbtcp | progname | Tcode/program | |
| spool_reused | HRPY_PCC_spool | recycled | Boolean Variable (X = True, - = False, Space = Unknown) | |
| rq2namethenXelseendendasspool_exist |
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 hrpy_pcc_step_job.
-- 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: HRPY_PCC_SJ
CREATE VIEW hrpy_pcc_step_job AS
SELECT
step_recurrence.acl_recur_ref_id AS rec_ref_id,
step_recurrence.act_recur_ref_id AS ac_ref_id,
step_bpc.ref_id AS step_ref_id,
step_bpc.ref_id AS bpc_id,
job_status.jobcount AS job_count,
job_status.jobname AS job_name,
concat( step_recurrence.act_recur_ref_id, concat( step_bpc.ref_id, concat( job_status.jobcount, job_status.jobname ) ) ) AS object_key,
job_status.status AS status,
job_status_text.name AS status_name,
job_status.strtdate AS start_date,
job_status.enddate AS end_date,
job_status.strttime AS start_time,
job_status.endtime AS end_time,
job_step.progname AS program_name,
spool.recycled AS spool_reused,
case spool.recycled when 'X' then '' else case job_step.plist when spool_detail.rq2name then 'X' else '' end end as spool_exist AS rq2namethenXelseendendasspool_exist
FROM pyt_d_bpc AS step_bpc
LEFT OUTER JOIN tbtco AS job_status ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tbtcp AS job_step ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN HRPY_PCC_spool AS spool ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN pyt_d_job_stat_t AS job_status_text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tsp01 AS spool_detail ON /* join condition not captured in parsed metadata */
;
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