C_PurOrdOutputAutomnCube
Header details of Output Messages
C_PurOrdOutputAutomnCube (Consumption)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Sourcing & Procurement
C_PurOrdOutputAutomnCube is a Consumption CDS View (Cube) that provides data about "Header details of Output Messages" in SAP S/4HANA. It reads from 1 data source (P_PurOrdOutputAutomation2) and exposes 26 fields with key fields PurchaseOrder, POOutputMessageItemID. It has 5 associations to related views.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Sourcing & Procurement |
| Application Component | MM-PUR-ANA |
| Capabilities | Data Provider for Analytical Queries |
| Package | Sourcing & Procurement for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_PurOrdOutputAutomation2 | P_PurOrdOutputAutomation2 | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_StartDate | vdm_validitystart | |
| P_EndDate | vdm_validityend |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PurchasingOrganization | _PurchasingOrganization | $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization |
| [1..1] | I_PurchasingGroup | _PurchasingGroup | $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup |
| [1..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [1..1] | I_CalendarDate | Calendar | $projection.PurchaseOrderDate = Calendar.CalendarDate |
| [1..1] | I_POChannelOutputType | _OutputType | _OutputType.PurchaseOrderOutputIsAutomated = $projection.PurchaseOrderOutputIsAutomated |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMMPOOPAUCUBE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| Analytics.internalName | #LOCAL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.dataCategory | #CUBE | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Header details of Output Messages | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_CUBE | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | Automation | PurchaseOrder | Purchase Order Number |
| KEY | POOutputMessageItemID | POOutputMessageItemID | Output Request Item ID | |
| POOutputChannel | Automation | POOutputChannel | Output Channel | |
| Supplier | Automation | Supplier | Supplier | |
| PurchasingOrganization | Automation | PurchasingOrganization | Purchasing Organization | |
| PurchasingGroup | Automation | PurchasingGroup | Purchasing Group | |
| CalendarYear | Calendar | CalendarYear | Calendar Year | |
| CalendarQuarter | Calendar | CalendarQuarter | Calendar Quarter | |
| CalendarMonth | Calendar | CalendarMonth | Calendar Month | |
| CalendarWeek | Calendar | CalendarWeek | Calendar Week | |
| PurchaseOrderDate | PurchaseOrderDate | Purchase Order Date | ||
| POOutputChannelManualUniqueID | POOutputChannelManualUniqueID | Text field length 14 | ||
| POOutputChannelAutomnUniqueID | POOutputChannelAutomnUniqueID | Text field length 14 | ||
| PurchaseOrderOutputIsAutomated | PurchaseOrderOutputIsAutomated | Automation Type | ||
| NmbrOfPurchaseOrdersPrinted | NmbrOfPurchaseOrdersPrinted | Number of Purchase Orders - Printed | ||
| NmbrOfPurchaseOrdersEmailed | NmbrOfPurchaseOrdersEmailed | Number of Purchase Orders Mailed | ||
| NmbrOfPurOrdersOutputAsXML | NmbrOfPurOrdersOutputAsXML | Number of Purchase Orders with Output as XML | ||
| NmbrOfPurOrdersOutputAsIDOC | NmbrOfPurOrdersOutputAsIDOC | Number of Purchase Orders with Output as IDOC | ||
| NmbrOfPurOrdersOutputAsEDI | NmbrOfPurOrdersOutputAsEDI | Number of Purchase Orders with Output as EDI | ||
| NmbrOfPurOrdsWithAutomnOutput | ||||
| NmbrOfPurOrdsWithNonAutomnOutp | ||||
| NmbrOfPOOutputItems | ||||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _OutputType | _OutputType | |||
| _Supplier | _Supplier |
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 C_PurOrdOutputAutomnCube.
-- 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: CMMPOOPAUCUBE
-- Parameters: P_StartDate : vdm_validitystart, P_EndDate : vdm_validityend
CREATE VIEW C_PurOrdOutputAutomnCube AS
SELECT
Automation.PurchaseOrder AS PurchaseOrder,
POOutputMessageItemID,
Automation.POOutputChannel AS POOutputChannel,
Automation.Supplier AS Supplier,
Automation.PurchasingOrganization AS PurchasingOrganization,
Automation.PurchasingGroup AS PurchasingGroup,
Calendar.CalendarYear AS CalendarYear,
Calendar.CalendarQuarter AS CalendarQuarter,
Calendar.CalendarMonth AS CalendarMonth,
Calendar.CalendarWeek AS CalendarWeek,
PurchaseOrderDate,
POOutputChannelManualUniqueID,
POOutputChannelAutomnUniqueID,
PurchaseOrderOutputIsAutomated,
NmbrOfPurchaseOrdersPrinted,
NmbrOfPurchaseOrdersEmailed,
NmbrOfPurOrdersOutputAsXML,
NmbrOfPurOrdersOutputAsIDOC,
NmbrOfPurOrdersOutputAsEDI,
cast(1 as abap.int4 ) AS NmbrOfPurOrdsWithAutomnOutput,
cast( 1 as abap.int4 ) AS NmbrOfPurOrdsWithNonAutomnOutp,
cast( 1 as abap.int4 ) AS NmbrOfPOOutputItems
FROM P_PurOrdOutputAutomation2
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization -- association [1..1]
LEFT OUTER JOIN I_PurchasingGroup AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [1..1]
LEFT OUTER JOIN I_CalendarDate AS Calendar ON PurchaseOrderDate = Calendar.CalendarDate -- association [1..1]
LEFT OUTER JOIN I_POChannelOutputType AS _OutputType ON _OutputType.PurchaseOrderOutputIsAutomated = PurchaseOrderOutputIsAutomated -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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