I_CONTROLLINGOBJECTENHANCED

CDS View

Controlling Object

I_CONTROLLINGOBJECTENHANCED is a CDS View in S/4HANA. Controlling Object. It contains 28 fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
P_StatisticalKeyFigureItem view_entity inner COMPOSITE Statistical Key Figure Items

Fields (28)

KeyField CDS FieldsUsed in Views
_BusinessProcess _BusinessProcess 1
_ControllingArea _ControllingArea 1
_CostCenter _CostCenter 1
_CostCtrActivityType _CostCtrActivityType 1
_InternalOrder _InternalOrder 1
_Order _Order 1
_ProjectBasicData _ProjectBasicData 1
_SalesDocument _SalesDocument 1
_SalesDocumentItem _SalesDocumentItem 1
_ServiceDocument _ServiceDocument 1
_ServiceDocumentItem _ServiceDocumentItem 1
_ServiceDocumentType _ServiceDocumentType 1
_WBSElementBasicData _WBSElementBasicData 1
AccountAssignmentType AccountAssignmentType 1
BusinessProcess BusinessProcess 1
CompanyCode CompanyCode 1
ControllingArea ControllingArea 1
CostCenter CostCenter 1
CostCtrActivityType CostCtrActivityType 1
CostObject CostObject 1
InternalOrder InternalOrder 1
OrderID OrderID 1
ProjectNetwork ProjectNetwork 1
SalesDocument SalesDocument 1
SalesDocumentItem SalesDocumentItem 1
ServiceDocument ServiceDocument 1
ServiceDocumentItem ServiceDocumentItem 1
ServiceDocumentType ServiceDocumentType 1
@EndUserText.label: 'Controlling Object'
//@Analytics: { dataCategory: #DIMENSION, dataExtraction.enabled: true }

@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API              
@AccessControl.authorizationCheck: #CHECK                     
@ObjectModel.representativeKey: 'ControllingObject'
@Analytics.technicalName: 'IFICOOBJECTEN'
@ObjectModel.usageType: {
  dataClass: #MIXED,
  serviceQuality: #C,
  sizeCategory: #L
}
@Analytics.internalName: #LOCAL

// from the main object number table ONR00 some OBJNR are ignored (e.g. AN,IS,OK,OS,OV)

// in table TBO00 you find the table which is the "master data" table for the obart

// in opposition to I_ControllingObject the ControllingArea is always filled in this view

// if the additional field CompanyCode is empty then TODAY this object is not valid


//  P_ONRBP + P_ONRHP not for cloud , but OnPremise


define view entity I_ControllingObjectEnhanced as select from P_ControllingObjectEnhanced   

  association [0..1] to I_ControllingArea              as _ControllingArea               on  $projection.ControllingArea = _ControllingArea.ControllingArea
  
  association [0..1] to I_CompanyCode                  as _CompanyCode                   on $projection.CompanyCode     = _CompanyCode.CompanyCode

  association [0..*] to I_CostCenter                   as _CostCenter                    on  $projection.ControllingArea = _CostCenter.ControllingArea
                                                                                         and $projection.CostCenter      = _CostCenter.CostCenter
                                                                                         
  association [0..*] to I_CostCenterActivityType       as _CostCtrActivityType           on  $projection.ControllingArea     = _CostCtrActivityType.ControllingArea
                                                                                         and $projection.CostCtrActivityType = _CostCtrActivityType.CostCtrActivityType 
                                                                                         
  association [0..1] to I_BusinessProcess              as _BusinessProcess               on  $projection.ControllingArea = _BusinessProcess.ControllingArea
                                                                                         and $projection.BusinessProcess = _BusinessProcess.BusinessProcess
                                                                                         
  association [0..1] to I_InternalOrder                as _InternalOrder                 on  $projection.InternalOrder = _InternalOrder.InternalOrder
  
  association [0..1] to I_Order                        as _Order                         on  $projection.OrderID = _Order.OrderID            
                                                                                                                                                                                                                                                                
  association [0..1] to I_ProjectBasicData             as _ProjectBasicData              on  $projection.ProjectInternalID = _ProjectBasicData.ProjectInternalID
  
  association [0..1] to I_WBSElementBasicData          as _WBSElementBasicData           on  $projection.WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID
  
  association [0..1] to I_SalesDocument                as _SalesDocument                 on  $projection.SalesDocument = _SalesDocument.SalesDocument
  
  association [0..1] to I_SalesDocumentItem            as _SalesDocumentItem             on  $projection.SalesDocument     = _SalesDocumentItem.SalesDocument
                                                                                         and $projection.SalesDocumentItem = _SalesDocumentItem.SalesDocumentItem  
  
  association [0..1] to I_ServiceDocumentType          as _ServiceDocumentType           on  $projection.ServiceDocumentType        = _ServiceDocumentType.ServiceDocumentType 
   
  association [0..1] to I_SrvcDocByDocumentType        as _ServiceDocument               on  $projection.ServiceDocumentType        = _ServiceDocument.ServiceDocumentType
                                                                                         and $projection.ServiceDocument            = _ServiceDocument.ServiceDocument       
                                                                                                                                                                                        
  association [0..1] to I_SrvcDocItemByDocumentType    as _ServiceDocumentItem           on  $projection.ServiceDocumentType        = _ServiceDocumentItem.ServiceDocumentType
                                                                                         and $projection.ServiceDocument            = _ServiceDocumentItem.ServiceDocument
                                                                                         and $projection.ServiceDocumentItem        = _ServiceDocumentItem.ServiceDocumentItem                                                                                           
{ 
key ControllingObject,
ControllingArea, 
CompanyCode,              // can be initial for statistical orders

AccountAssignmentType,
CostCenter, 
CostCtrActivityType, 
BusinessProcess, 
OrderID, 
InternalOrder,
ProjectInternalID, 
WBSElementInternalID, 
SalesDocument, 
SalesDocumentItem, 
// OrderInternalID, 

ProjectNetwork,
NetworkActivity,
ServiceDocumentType, 
ServiceDocument, 
ServiceDocumentItem, 
CostObject,

_ControllingArea,
_CompanyCode,
_CostCenter,
_CostCtrActivityType,
_BusinessProcess,
_InternalOrder,
_Order,   
_ProjectBasicData,
_WBSElementBasicData,
_SalesDocument,
_SalesDocumentItem, 
_ServiceDocumentType,
_ServiceDocument,
_ServiceDocumentItem 
}