PQPRINT_QUEUE_ITEM
Print Queue Item
PQPRINT_QUEUE_ITEM is a CDS View that provides data about "Print Queue Item" in SAP S/4HANA. It reads from 1 data source (pqprintqueueitem) and exposes 15 fields with key field ITEM_ID. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| pqprintqueueitem | pqprintqueueitem | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | PQPRINT_DOCUMENT | DOCUMENTS | DOCUMENTS.ITEM_ID = pqprintqueueitem.item_id |
| [0..*] | PQPRINT_DOCUMENT | ATTACHMENTS | ATTACHMENTS.ITEM_ID = pqprintqueueitem.item_id and ATTACHMENTS.COUNT_ID <> 000 |
Annotations (2)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PQPRINT_V_Q_ITEM | view | |
| EndUserText.label | Print Queue Item | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ITEM_ID | item_id | Simulation Item ID | |
| QUEUE_NAME | qname | User | ||
| USER_ID | username | User who owns item | ||
| ITEM_STATUS | item_status | Transfer Status | ||
| PRINT_CLIENT_STATUS_DESCR | status_description | Status Description | ||
| CREATE_DATE_TIME | create_time | Time | ||
| NUMBER_OF_COPIES | number_of_copies | Number of copies | ||
| LOGHANDLE | loghandle | LogsHandle | ||
| MAIN_DOC_FILE_NAME | MAIN_DOCUMENT | DOCUMENT_NAME | Document Name | |
| DOCUMENT_COUNT | ||||
| ITEM_SIZE | ||||
| PAGE_COUNT | ||||
| DOCUMENTS | DOCUMENTS | |||
| MAIN_DOCUMENT | MAIN_DOCUMENT | |||
| ATTACHMENTS | ATTACHMENTS | Message Attachments |
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 PQPRINT_QUEUE_ITEM.
-- 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: PQPRINT_V_Q_ITEM
CREATE VIEW PQPRINT_QUEUE_ITEM AS
SELECT
ITEM_ID,
qname AS QUEUE_NAME,
username AS USER_ID,
ITEM_STATUS,
status_description AS PRINT_CLIENT_STATUS_DESCR,
create_time AS CREATE_DATE_TIME,
NUMBER_OF_COPIES,
LOGHANDLE,
MAIN_DOCUMENT.DOCUMENT_NAME AS MAIN_DOC_FILE_NAME,
count( distinct DOCUMENTS.COUNT_ID ) AS DOCUMENT_COUNT,
sum( DOCUMENTS.FILE_SIZE ) AS ITEM_SIZE,
sum( DOCUMENTS.DOCUMENT_PAGE_COUNT ) AS PAGE_COUNT,
DOCUMENTS,
MAIN_DOCUMENT,
ATTACHMENTS
FROM pqprintqueueitem
LEFT OUTER JOIN PQPRINT_DOCUMENT AS DOCUMENTS ON DOCUMENTS.ITEM_ID = pqprintqueueitem.item_id -- association [1..*]
LEFT OUTER JOIN PQPRINT_DOCUMENT AS ATTACHMENTS ON ATTACHMENTS.ITEM_ID = pqprintqueueitem.item_id AND ATTACHMENTS.COUNT_ID <> 000 -- 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