P_MfgOrderOpStatus
Order Operation Status for Manufacturing Orders
P_MfgOrderOpStatus is a Composite CDS View that provides data about "Order Operation Status for Manufacturing Orders" in SAP S/4HANA. It reads from 1 data source (I_StatusObjectStatus) and exposes 1 field with key field StatusObject. Part of development package PPH_VDM_CAP_EVAL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_StatusObjectStatus | jest | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMFGORDEROPSTS | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | 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: 'PMFGORDEROPSTS'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view P_MfgOrderOpStatus
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
StatusIsInactive = ''
// and(
// jest.StatusCode = 'I0001'
// or jest.StatusCode = 'I0002'
// or jest.StatusCode = 'I0009'
// or jest.StatusCode = 'I0010'
// )
group by
StatusObject
// as select from I_OrderOperationBasic as afvc
//
// inner join I_StatusObjectStatusBasic as jest on jest.StatusObject = afvc.ObjectInternalID
// and jest.StatusIsInactive = ''
//
//{
// // Technical Key
// key afvc.OrderInternalID,
// key afvc.OrderOperationInternalID,
//
// // Status
//
// afvc.ObjectInternalID,
// max(case jest.StatusCode
// when 'I0001' then 10
// when 'I0002' then 20
// when 'I0009' then 30
// when 'I0010' then 40
// end) as StatusCode
//
//
//}
//
////where
//// jest.StatusCode = 'I0001'
//// or jest.StatusCode = 'I0002'
//// or jest.StatusCode = 'I0009'
//// or jest.StatusCode = 'I0010'
//
//group by
// OrderInternalID,
// OrderOperationInternalID,
// ObjectInternalID;
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