C_MaintOrderForAction
Maintenance Order Operation for Action
C_MaintOrderForAction is a Consumption CDS View that provides data about "Maintenance Order Operation for Action" in SAP S/4HANA. It reads from 1 data source (I_MaintOrderTP) and exposes 16 fields with key field MaintenanceOrder. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintOrderTP | I_MaintOrderTP | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_MaintOrderOpForAction | _MaintenanceOrderOperation | _MaintenanceOrderOperation.MaintenanceOrder = $projection.MaintenanceOrder |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Maintenance Order Operation for Action | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | CMAINTORDACT | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.deleteEnabled | false | view | |
| ObjectModel.draftEnabled | false | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceOrder | MaintenanceOrder | ||
| MaintenanceOrderDesc | MaintenanceOrderDesc | |||
| MainWorkCenter | _MainWorkCenter | WorkCenter | ||
| MainWorkCenterPlant | _MainWorkCenter | Plant | ||
| ForDCLMaintObjectLocAcctAssgmtNmbr | ||||
| Equipment | Equipment | |||
| MaintenanceOrderType | MaintenanceOrderType | |||
| MaintenancePlanningPlant | MaintenancePlanningPlant | |||
| MaintenancePlant | MaintenancePlant | |||
| MaintenancePlannerGroup | MaintenancePlannerGroup | |||
| ControllingArea | ControllingArea | |||
| ResponsibleCostCenter | ResponsibleCostCenter | |||
| _LocationAccountAssignment | _LocationAccountAssignment | |||
| _Equipment | _Equipment | |||
| _Order | _Order | |||
| _MaintenanceOrderOperation | _MaintenanceOrderOperation |
@EndUserText.label: 'Maintenance Order Operation for Action'
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'CMAINTORDACT'
@ObjectModel.compositionRoot: true
@ObjectModel.createEnabled: false
@ObjectModel.deleteEnabled: false
@ObjectModel.draftEnabled: false
@ObjectModel.transactionalProcessingDelegated : true
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #L
define view C_MaintOrderForAction
as select from I_MaintOrderTP
association [0..*] to C_MaintOrderOpForAction as _MaintenanceOrderOperation on _MaintenanceOrderOperation.MaintenanceOrder = $projection.MaintenanceOrder
{
key MaintenanceOrder,
MaintenanceOrderDesc,
-- For Action Parameters:
-- ChangeAssgmt
@Consumption.hidden: true
MaintOrdPersonResponsible,
@Consumption.hidden: true
@ObjectModel.mandatory
_MainWorkCenter.WorkCenter as MainWorkCenter,
@Consumption.hidden: true
@ObjectModel.mandatory
_MainWorkCenter.Plant as MainWorkCenterPlant,
-- For DCL:
@Consumption.hidden: true
MaintObjectLocAcctAssgmtNmbr,
@Consumption.hidden: true
Equipment,
@Consumption.hidden: true
MaintenanceOrderType,
@Consumption.hidden: true
MaintenancePlanningPlant,
@Consumption.hidden: true
MaintenancePlant,
@Consumption.hidden: true
MaintenancePlannerGroup,
@Consumption.hidden: true
ControllingArea,
@Consumption.hidden: true
ResponsibleCostCenter,
_LocationAccountAssignment,
_Equipment,
_Order,
_MaintenanceOrderOperation
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MAINTORDERTP",
"I_WORKCENTER"
],
"ASSOCIATED":
[
"C_MAINTORDEROPFORACTION",
"I_EQUIPMENT",
"I_LOCATIONACCOUNTASSIGNMENT",
"I_LOGISTICSORDER"
],
"BASE":
[
"I_MAINTORDERTP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"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