I_OQ_QUEUEITEM
Output Queue Item
I_OQ_QUEUEITEM is a CDS View that provides data about "Output Queue Item" in SAP S/4HANA. It reads from 1 data source (oqqueueitem) and exposes 18 fields with key field ItemId. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| oqqueueitem | QueueItem | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | dd07t | _StatusText | _StatusText.domname = 'OQ_ITEM_STATUS' and _StatusText.domvalue_l = $projection.ItemStatus and _StatusText.ddlanguage = $session.system_language and _StatusText.as4local = 'A' |
Annotations (2)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Output Queue Item | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ItemId | oqqueueitem | item_id | Simulation Item ID |
| Qname | oqqueueitem | qname | User | |
| Username | oqqueueitem | username | User who owns item | |
| ItemStatus | oqqueueitem | item_status | Transfer Status | |
| int4endasStatusCriticality | ||||
| StatusDescription | oqqueueitem | status_description | Status Description | |
| CreateTime | oqqueueitem | create_time | Time | |
| ChangedTime | oqqueueitem | changed_time | Time Stamp | |
| Bundle | oqqueueitem | bundle | Bundle | |
| Metadata | oqqueueitem | metadata | Item Metadata | |
| DocumentName | oqqueueitem | document_name | Document Name | |
| Filesize | oqqueueitem | filesize | Safety Data Sheet File Size | |
| Zipstatus | oqqueueitem | zipstatus | Blob Zip Status | |
| Data | oqqueueitem | data | Read Data | |
| SentCounter | oqqueueitem | sent_counter | Resending Counter | |
| _User | _User | |||
| _StatusText | _StatusText | |||
| _Queue | _Queue |
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_OQ_QUEUEITEM.
-- 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_OQ_QUEUEITEM AS
SELECT
QueueItem.item_id AS ItemId,
QueueItem.qname AS Qname,
QueueItem.username AS Username,
QueueItem.item_status AS ItemStatus,
case when QueueItem.item_status = 'N' then cast( 0 as abap.int4 ) when QueueItem.item_status = 'F' then cast( 1 as abap.int4 ) when QueueItem.item_status = 'S' then cast( 3 as abap.int4 ) when QueueItem.item_status = 'W' or QueueItem.item_status = 'E' then cast( 2 as abap.int4 ) else cast( 0 as abap.int4 ) end as StatusCriticality AS int4endasStatusCriticality,
QueueItem.status_description AS StatusDescription,
QueueItem.create_time AS CreateTime,
QueueItem.changed_time AS ChangedTime,
QueueItem.bundle AS Bundle,
QueueItem.metadata AS Metadata,
QueueItem.document_name AS DocumentName,
QueueItem.filesize AS Filesize,
QueueItem.zipstatus AS Zipstatus,
QueueItem.data AS Data,
QueueItem.sent_counter AS SentCounter
FROM oqqueueitem AS QueueItem
LEFT OUTER JOIN dd07t AS _StatusText ON _StatusText.domname = 'OQ_ITEM_STATUS' AND _StatusText.domvalue_l = ItemStatus AND _StatusText.ddlanguage = $session.system_language AND _StatusText.as4local = 'A' -- association [0..1]
;
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