I_ProcessOrderUserStatus
Process Orders User Status
I_ProcessOrderUserStatus is a Composite CDS View that provides data about "Process Orders User Status" in SAP S/4HANA. It reads from 3 data sources (P_ProcOrdAORListDistinct, I_ProcessOrderStatus, I_ProcessOrderStatusInfo) and exposes 9 fields with key fields OrderID, StatusObject, StatusCode, StatusProfile. It has 3 associations to related views. It is exposed through 1 OData service (ASQL_F4587). Part of development package VDM_PP_PROC_ORD_MNG.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_ProcOrdAORListDistinct | AORList | inner |
| I_ProcessOrderStatus | jest | from |
| I_ProcessOrderStatusInfo | jsto | inner |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_UserStatus | _UserStatus | _UserStatus.UserStatus = jest.StatusCode and _UserStatus.StatusProfile = jsto.StatusProfile |
| [0..1] | I_StatusProfile | _StatusProfile | _StatusProfile.StatusProfile = jsto.StatusProfile --FOR DCL |
| [1..1] | I_LogisticsOrder | _Order | _Order.OrderID = $projection.OrderID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Process Orders User Status | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F4587 | ASQL_F4587 | C2 | NOT_RELEASED |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OrderID | P_ProcOrdAORListDistinct | OrderID | Order ID |
| KEY | StatusObject | I_ProcessOrderStatusInfo | StatusObject | Status Object |
| KEY | StatusCode | I_ProcessOrderStatus | StatusCode | Statuscode |
| KEY | StatusProfile | I_ProcessOrderStatusInfo | StatusProfile | Status Profile |
| UserStatusName | ||||
| UserStatusShortName | ||||
| _UserStatus | _UserStatus | |||
| _StatusProfile | _StatusProfile | |||
| forDCL_Order |
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_ProcessOrderUserStatus.
-- 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_ProcessOrderUserStatus AS
SELECT
AORList.OrderID AS OrderID,
jsto.StatusObject AS StatusObject,
jest.StatusCode AS StatusCode,
jsto.StatusProfile AS StatusProfile,
_UserStatus._UserStatusText[ 1:Language = $session.system_language ].UserStatusName AS UserStatusName,
_UserStatus._UserStatusText[ 1:Language = $session.system_language ].UserStatusShortName AS UserStatusShortName
FROM I_ProcessOrderStatus AS jest
INNER JOIN I_ProcessOrderStatusInfo AS jsto ON /* join condition not captured in parsed metadata */
INNER JOIN P_ProcOrdAORListDistinct AS AORList ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_UserStatus AS _UserStatus ON _UserStatus.UserStatus = jest.StatusCode AND _UserStatus.StatusProfile = jsto.StatusProfile -- association [0..1]
LEFT OUTER JOIN I_StatusProfile AS _StatusProfile ON _StatusProfile.StatusProfile = jsto.StatusProfile -- association [0..1]
LEFT OUTER JOIN I_LogisticsOrder AS _Order ON _Order.OrderID = OrderID -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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