P_SchedOrderOperationStatus
Schedule Production Order Operation Status
P_SchedOrderOperationStatus is a Composite CDS View that provides data about "Schedule Production Order Operation Status" in SAP S/4HANA. It reads from 1 data source (I_StatusObjectStatus) and exposes 2 fields with key fields StatusObject, StatusCode. Part of development package PPH_VDM_CAP_EVAL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_StatusObjectStatus | jest | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StatusObject | StatusObject | ||
| KEY | StatusCode |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view entity P_SchedOrderOperationStatus
as select from I_StatusObjectStatus as jest
{
key StatusObject,
// key max(case jest.StatusCode
// when 'I0001' then 10
// when 'I0002' then 20
// when 'I0009' then 30
// when 'I0010' then 40
// end) as StatusCode
key max(jest.StatusCode) as StatusCode
}
where StatusIsActive = 'X'
and ( jest.StatusCode = 'I0001'
or jest.StatusCode = 'I0002'
or jest.StatusCode = 'I0009'
or jest.StatusCode = 'I0010' )
and StatusObject like 'OV%'
group by StatusObject
Learn More
- 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 Annotations — A Complete Guide
- 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