hrpy_pcc_step_job

DDL: HRPY_PCC_STEP_JOB SQL: HRPY_PCC_SJ Type: view

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)

SourceAliasJoin 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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;