P_SchedOrderOperationStatus
P_SchedOrderOperationStatus is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_StatusObjectStatus) and exposes 1 field with key field StatusObject.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_StatusObjectStatus | jest | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSCHEDOPRSTS | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | 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 (1)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StatusObject | StatusObject |
@AbapCatalog.sqlViewName: 'PSCHEDOPRSTS'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter:true
@AbapCatalog.preserveKey:true
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view 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
}
where StatusIsActive = 'X'
and ( jest.StatusCode = 'I0001'
or jest.StatusCode = 'I0002'
or jest.StatusCode = 'I0009'
or jest.StatusCode = 'I0010' )
group by StatusObject
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_STATUSOBJECTSTATUS"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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