C_OBJPGMAINTORDERCOST
Maintenance Order Cost
C_OBJPGMAINTORDERCOST is a CDS View in S/4HANA. Maintenance Order Cost. It contains 1 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_ObjPgMaintOrderCostAggrgData | view_entity | from | CONSUMPTION | Maintenance Order Cost Aggregate Data |
Fields (1)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | MaintenanceOrderInternalID | MaintenanceOrderInternalID | 1 |
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Maintenance Order Cost'
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #L
@VDM.viewType: #CONSUMPTION
define view entity C_ObjPgMaintOrderCost
as select from I_MaintenanceOrderCost
association [1..1] to I_MaintenanceOrder as _MaintenanceOrder on _MaintenanceOrder.MaintenanceOrderInternalID = $projection.MaintenanceOrderInternalID
{
@UI.hidden: true
key I_MaintenanceOrderCost.MaintenanceOrderInternalID,
@UI.hidden: true
key I_MaintenanceOrderCost.ControllingAreaCurrency,
@UI.hidden: true
key I_MaintenanceOrderCost.ControllingObjectDebitType,
@UI.hidden: true
key I_MaintenanceOrderCost.ControllingValueType,
@UI.hidden: true
key I_MaintenanceOrderCost.FiscalYear,
@UI.hidden: true
key I_MaintenanceOrderCost.ValueCategory,
@UI.hidden: true
key I_MaintenanceOrderCost.PlanningVersion,
@UI.hidden: true
key I_MaintenanceOrderCost.HighestPeriodInRecord,
@UI.hidden: true
key I_MaintenanceOrderCost.BudgetType,
@UI.hidden: true
key I_MaintenanceOrderCost.AccountingIndicatorCode,
@UI.hidden: true
key I_MaintenanceOrderCost.ResultCategory,
@EndUserText.label: 'Value Category'
@EndUserText.quickInfo: 'Value Category'
@UI: {
lineItem: [{position: 10, importance: #HIGH, label: 'Value Category' },
{ position: 10, qualifier: 'MyInbox_Items', importance: #HIGH, label: 'Value Category' }]
}
cast('' as char30) as ValueCategoryName,
/* Todo: Implement I_ValueCategory / copy from Z
_ValueCategory._Text[1:Language = $session.system_language].ValueCategoryName as ValueCategoryName,
*/
@EndUserText.quickInfo: 'Estimated Cost'
@Semantics.amount.currencyCode: 'ControllingAreaCurrency'
@UI: {
lineItem: [{position: 20, importance: #HIGH, label: 'Estimated Cost' },
{ position: 20, qualifier: 'MyInbox_Items', importance: #HIGH, label: 'Estimated Cost' }]
}
cast('0' as dkgrkossch ) as EstimatedCost,
@EndUserText.quickInfo: 'Planned Cost'
@Semantics.amount.currencyCode: 'ControllingAreaCurrency'
@UI: {
lineItem: [{position: 30, importance: #HIGH, label: 'Planned Cost' },
{ position: 30, qualifier: 'MyInbox_Items', importance: #HIGH, label: 'Planned Cost' }]
}
cast('0' as dkgrkoplan ) as PlannedCost,
@EndUserText.quickInfo: 'Actual Cost'
@Semantics.amount.currencyCode: 'ControllingAreaCurrency'
@UI: {
lineItem: [{position: 40, importance: #HIGH, label: 'Actual Cost' }]
}
cast('0' as dkgrkoplan ) as ActualCost,
//association
_MaintenanceOrder
}