I_ProfitCenterForCompanyCode

DDL: I_PROFITCENTERFORCOMPANYCODE Type: view_entity BASIC Package: FINS_PROFIT_CENTER_VDM

Profit Center For Company Code

I_ProfitCenterForCompanyCode is a Basic CDS View (Dimension) that provides data about "Profit Center For Company Code" in SAP S/4HANA. It reads from 2 data sources (I_ProfitCenter, tka02) and exposes 42 fields with key fields CompanyCode, ProfitCenter, ValidityEndDate. It has 2 associations to related views. Part of development package FINS_PROFIT_CENTER_VDM.

Data Sources (2)

SourceAliasJoin Type
I_ProfitCenter I_ProfitCenter from
tka02 tka02 inner

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_ProfitCenter _ProfitCenter $projection.ControllingArea = _ProfitCenter.ControllingArea and $projection.ProfitCenter = _ProfitCenter.ProfitCenter and $projection.ValidityEndDate = _ProfitCenter.ValidityEndDate association[1..1] to E_ProfitCenter as _Extension on $projection.ControllingArea = _Extension.ControllingArea and $projection.ProfitCenter = _Extension.ProfitCenter and $projection.ValidityEndDate = _Extension.ValidityEndDate

Annotations (13)

NameValueLevelField
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Profit Center For Company Code view
Analytics.dataCategory #DIMENSION view
Analytics.technicalName IFIPRCTRBUKRS view
Metadata.allowExtensions true view
ObjectModel.representativeKey ProfitCenter view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
Search.searchable true view
Consumption.filter.businessDate.at true view

Fields (42)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode tka02 bukrs
KEY ProfitCenter I_ProfitCenter ProfitCenter
KEY ValidityEndDate I_ProfitCenter ValidityEndDate
ControllingArea I_ProfitCenter ControllingArea
ProfitCtrResponsiblePersonName I_ProfitCenter ProfitCtrResponsiblePersonName
ProfitCtrResponsibleUser I_ProfitCenter ProfitCtrResponsibleUser
ValidityStartDate I_ProfitCenter ValidityStartDate
Department I_ProfitCenter Department
ProfitCenterStandardHierarchy I_ProfitCenter ProfitCenterStandardHierarchy
Segment I_ProfitCenter Segment
ProfitCenterIsBlocked I_ProfitCenter ProfitCenterIsBlocked
FormulaPlanningTemplate I_ProfitCenter FormulaPlanningTemplate
FormOfAddress I_ProfitCenter FormOfAddress
AddressName I_ProfitCenter AddressName
AdditionalName I_ProfitCenter AdditionalName
ProfitCenterAddrName3 I_ProfitCenter ProfitCenterAddrName3
ProfitCenterAddrName4 I_ProfitCenter ProfitCenterAddrName4
StreetAddressName I_ProfitCenter StreetAddressName
POBox I_ProfitCenter POBox
CityName I_ProfitCenter CityName
PostalCode I_ProfitCenter PostalCode
District I_ProfitCenter District
Country I_ProfitCenter Country
Region I_ProfitCenter Region
TaxJurisdiction I_ProfitCenter TaxJurisdiction
Language I_ProfitCenter Language
PhoneNumber1 I_ProfitCenter PhoneNumber1
PhoneNumber2 I_ProfitCenter PhoneNumber2
TeleboxNumber I_ProfitCenter TeleboxNumber
TelexNumber I_ProfitCenter TelexNumber
FaxNumber I_ProfitCenter FaxNumber
DataCommunicationPhoneNumber I_ProfitCenter DataCommunicationPhoneNumber
ProfitCenterPrinterName I_ProfitCenter ProfitCenterPrinterName
ProfitCenterCreatedByUser I_ProfitCenter ProfitCenterCreatedByUser
ProfitCenterCreationDate I_ProfitCenter ProfitCenterCreationDate
_CompanyCode _CompanyCode
_ProfitCenter _ProfitCenter
_ControllingArea I_ProfitCenter _ControllingArea
_Country I_ProfitCenter _Country
_Language I_ProfitCenter _Language
_Region I_ProfitCenter _Region
_Segment I_ProfitCenter _Segment
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Profit Center For Company Code'
@Analytics: { dataCategory: #DIMENSION }
@Analytics.technicalName: 'IFIPRCTRBUKRS'
//@AccessControl.privilegedAssociations:  [ '_ProfitCenterHierarchyNode']

@Metadata.allowExtensions: true
@ObjectModel.representativeKey: 'ProfitCenter'
@ObjectModel.usageType: {
  dataClass: #MASTER,
  serviceQuality: #C,
  sizeCategory: #M
}
@Search.searchable: true
@Consumption.filter.businessDate.at: true

define view entity I_ProfitCenterForCompanyCode as select from I_ProfitCenter  as I_ProfitCenter
                                                   inner join tka02 on I_ProfitCenter.ControllingArea = tka02.kokrs
                                            
association [1..1] to I_CompanyCode               as _CompanyCode             on  $projection.CompanyCode = _CompanyCode.CompanyCode

association [1..1] to I_ProfitCenter              as _ProfitCenter            on  $projection.ControllingArea = _ProfitCenter.ControllingArea
                                                                              and $projection.ProfitCenter    = _ProfitCenter.ProfitCenter
                                                                              and $projection.ValidityEndDate = _ProfitCenter.ValidityEndDate

association[1..1] to E_ProfitCenter               as _Extension               on  $projection.ControllingArea   = _Extension.ControllingArea
                                                                              and $projection.ProfitCenter      = _Extension.ProfitCenter
                                                                              and $projection.ValidityEndDate   = _Extension.ValidityEndDate
                                            
{
@Consumption.valueHelpDefinition: [ 
        { entity:  { name:    'I_CompanyCodeStdVH',
                     element: 'CompanyCode' }
        }]
@ObjectModel.foreignKey.association: '_CompanyCode'
key tka02.bukrs as CompanyCode,

@Consumption.valueHelpDefinition: [ 
        { entity:  { name:    'I_ProfitCenterVH',
                     element: 'ProfitCenter' },
          additionalBinding: [{ localElement: 'ControllingArea',
                                element: 'ControllingArea' }]
        }]
//@ObjectModel.text.association: '_Text'                              6.2.25 New ATC: this view has key BUKRS/PRCTR  Text-View has KOKRS/PRCTR

//@ObjectModel.hierarchy.association: '_ProfitCenterHierarchyNode'    6.2.25 New ATC: this view has key BUKRS/PRCTR  Hier.-View has KOKRS/PRCTR

@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
key I_ProfitCenter.ProfitCenter,
 
@Semantics.businessDate.to: true 
key I_ProfitCenter.ValidityEndDate, 


@Consumption.valueHelpDefinition: [ 
        { entity:  { name:    'I_ControllingArea',
                     element: 'ControllingArea' }
        }]
//@ObjectModel.text.association: '_ControllingAreaText'

@ObjectModel.foreignKey.association: '_ControllingArea'
I_ProfitCenter.ControllingArea, 
I_ProfitCenter.ProfitCtrResponsiblePersonName, 
I_ProfitCenter.ProfitCtrResponsibleUser,
@Semantics.businessDate.from: true 
I_ProfitCenter.ValidityStartDate, 
I_ProfitCenter.Department, 
I_ProfitCenter.ProfitCenterStandardHierarchy, 
@Consumption.valueHelpDefinition: [ 
        { entity:  { name:    'I_SegmentStdVH',
                     element: 'Segment' }
        }]
//@ObjectModel.text.association: '_SegmentText'

@ObjectModel.foreignKey.association: '_Segment' 
I_ProfitCenter.Segment, 
I_ProfitCenter.ProfitCenterIsBlocked, 
I_ProfitCenter.FormulaPlanningTemplate, 
I_ProfitCenter.FormOfAddress, 
I_ProfitCenter.AddressName, 
I_ProfitCenter.AdditionalName, 
I_ProfitCenter.ProfitCenterAddrName3, 
I_ProfitCenter.ProfitCenterAddrName4, 
I_ProfitCenter.StreetAddressName, 
I_ProfitCenter.POBox, 
I_ProfitCenter.CityName, 
I_ProfitCenter.PostalCode, 
I_ProfitCenter.District, 
@ObjectModel.foreignKey.association: '_Country'
I_ProfitCenter.Country, 
@ObjectModel.foreignKey.association: '_Region'
I_ProfitCenter.Region, 
I_ProfitCenter.TaxJurisdiction,
@Semantics.language:true
@ObjectModel.foreignKey.association: '_Language'
I_ProfitCenter.Language, 
I_ProfitCenter.PhoneNumber1, 
I_ProfitCenter.PhoneNumber2, 
I_ProfitCenter.TeleboxNumber, 
I_ProfitCenter.TelexNumber, 
I_ProfitCenter.FaxNumber, 
I_ProfitCenter.DataCommunicationPhoneNumber, 
I_ProfitCenter.ProfitCenterPrinterName, 
I_ProfitCenter.ProfitCenterCreatedByUser, 
@Semantics.systemDate.createdAt: true
I_ProfitCenter.ProfitCenterCreationDate, 
 
_CompanyCode, 
_ProfitCenter,
I_ProfitCenter._ControllingArea, 
//@Consumption.hidden: true

//I_ProfitCenter._ControllingAreaText, 

I_ProfitCenter._Country, 
I_ProfitCenter._Language, 
//I_ProfitCenter._ProfitCenterHierarchyNode, 

I_ProfitCenter._Region, 
I_ProfitCenter._Segment 
//@Consumption.hidden: true

//I_ProfitCenter._SegmentText, 

//I_ProfitCenter._Text  

}