odqtaskqueues_cds

DDL: ODQTASKQUEUES_CDS SQL: ODQTASKQUEUEV Type: view

ODQ Task Queue: Übersicht

odqtaskqueues_cds is a CDS View that provides data about "ODQ Task Queue: Übersicht" in SAP S/4HANA. It reads from 4 data sources (odqtaskdata, odqtaskqueue, ODQTASKQUEUERUN_CDS, odqtaskqueuesched_cds) and exposes 18 fields with key field taskid.

Data Sources (4)

SourceAliasJoin Type
odqtaskdata d left_outer
odqtaskqueue q from
ODQTASKQUEUERUN_CDS r left_outer
odqtaskqueuesched_cds s left_outer

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName ODQTASKQUEUEV view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label ODQ Task Queue: Übersicht view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY taskid odqtaskqueue taskid Task ID
externalid externalid SRM Reference
status status Workflow Status
success success TRUE
max_retry max_retry Repeat counter
error error No. of errors
run_tsn run_tsn TSN
schedule_tsn odqtaskqueue schedule_tsn TSN
last_run_tsn last_run_tsn TSN
finish_tsn finish_tsn TSN
wait_time wait_time No processing before this time
start_time odqtaskqueue start_time Time Stamp
jobcount jobcount Job number
periodic periodic Periodic job
userdep userdep Checkbox
max_parallel max_parallel
run_uname odqtaskdata uname User Name
worker_guid odqtaskdata worker_guid Task ID

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 odqtaskqueues_cds.
-- 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: ODQTASKQUEUEV

CREATE VIEW odqtaskqueues_cds AS
SELECT
  q.taskid AS taskid,
  externalid,
  status,
  success,
  max_retry,
  error,
  run_tsn,
  q.schedule_tsn AS schedule_tsn,
  last_run_tsn,
  finish_tsn,
  wait_time,
  q.start_time AS start_time,
  jobcount,
  periodic,
  userdep,
  max_parallel,
  d.uname AS run_uname,
  d.worker_guid AS worker_guid
FROM odqtaskqueue AS q
LEFT OUTER JOIN odqtaskqueuesched_cds AS s ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ODQTASKQUEUERUN_CDS AS r ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN odqtaskdata AS d ON /* join condition not captured in parsed metadata */
;