I_CurrentProfitCenter
Current Profit Center
I_CurrentProfitCenter is a Basic CDS View (Dimension) that provides data about "Current Profit Center" in SAP S/4HANA. It reads from 1 data source (I_ProfitCenter) and exposes 43 fields with key fields ControllingArea, ProfitCenter. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProfitCenter | I_ProfitCenter | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ProfitCenterText | _Text | $projection.ControllingArea = _Text.ControllingArea and $projection.ProfitCenter = _Text.ProfitCenter |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Current Profit Center | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.sqlViewName | IFICURPROFITCNTR | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.representativeKey | ProfitCenter | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view |
Fields (43)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingArea | ControllingArea | ||
| KEY | ProfitCenter | ProfitCenter | ||
| ProfitCtrResponsiblePersonName | ProfitCtrResponsiblePersonName | |||
| CompanyCode | CompanyCode | |||
| ProfitCtrResponsibleUser | ProfitCtrResponsibleUser | |||
| Department | Department | |||
| ProfitCenterStandardHierarchy | ProfitCenterStandardHierarchy | |||
| Segment | Segment | |||
| ProfitCenterIsBlocked | ProfitCenterIsBlocked | |||
| FormulaPlanningTemplate | FormulaPlanningTemplate | |||
| FormOfAddress | FormOfAddress | |||
| AddressName | AddressName | |||
| AdditionalName | AdditionalName | |||
| ProfitCenterAddrName3 | ProfitCenterAddrName3 | |||
| ProfitCenterAddrName4 | ProfitCenterAddrName4 | |||
| StreetAddressName | StreetAddressName | |||
| POBox | POBox | |||
| CityName | CityName | |||
| PostalCode | PostalCode | |||
| District | District | |||
| Country | Country | |||
| Region | Region | |||
| TaxJurisdiction | TaxJurisdiction | |||
| Language | Language | |||
| PhoneNumber1 | PhoneNumber1 | |||
| PhoneNumber2 | PhoneNumber2 | |||
| TeleboxNumber | TeleboxNumber | |||
| TelexNumber | TelexNumber | |||
| FaxNumber | FaxNumber | |||
| DataCommunicationPhoneNumber | DataCommunicationPhoneNumber | |||
| ProfitCenterPrinterName | ProfitCenterPrinterName | |||
| ProfitCenterCreatedByUser | ProfitCenterCreatedByUser | |||
| ProfitCenterCreationDate | ProfitCenterCreationDate | |||
| _Text | _Text | |||
| _Country | _Country | |||
| _ControllingArea | _ControllingArea | |||
| _ProfitCenterHierarchyNode | _ProfitCenterHierarchyNode | |||
| _Language | _Language | |||
| _Company | _Company | |||
| _Segment | _Segment | |||
| _Region | _Region | |||
| _ControllingAreaText | _ControllingAreaText | |||
| _SegmentText | _SegmentText |
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@EndUserText.label: 'Current Profit Center'
@Analytics: { dataCategory: #DIMENSION }
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IFICURPROFITCNTR'
@AccessControl.authorizationCheck: #CHECK
@AccessControl.privilegedAssociations: [ '_ProfitCenterHierarchyNode'
//--[ GENERATED:012:29JlHNUf7jY4ipE4XHfNBG
,'_ControllingAreaText','_SegmentText'
// ]--GENERATED
]
@Metadata.allowExtensions: true
@ObjectModel.representativeKey: 'ProfitCenter'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {
dataClass: #MASTER,
serviceQuality: #A,
sizeCategory: #M
}
define view I_CurrentProfitCenter
as select from I_ProfitCenter
association [0..*] to I_ProfitCenterText as _Text on $projection.ControllingArea = _Text.ControllingArea
and $projection.ProfitCenter = _Text.ProfitCenter
{
//--[ GENERATED:012:29JlHNUf7jY4ipE4XHfNBG
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_ControllingArea',
element: 'ControllingArea' }
}]
@ObjectModel.text.association: '_ControllingAreaText'
// ]--GENERATED
@ObjectModel.foreignKey.association: '_ControllingArea'
key ControllingArea,
@ObjectModel.text.association: '_Text'
@ObjectModel.hierarchy.association: '_ProfitCenterHierarchyNode'
key ProfitCenter,
ProfitCtrResponsiblePersonName,
CompanyCode,
ProfitCtrResponsibleUser,
Department,
ProfitCenterStandardHierarchy,
//--[ GENERATED:012:29JlHNUf7jY4ipE4XHfNBG
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_SegmentStdVH',
element: 'Segment' }
}]
@ObjectModel.text.association: '_SegmentText'
// ]--GENERATED
@ObjectModel.foreignKey.association: '_Segment' //Inserted by VDM CDS Suite Plugin
Segment,
ProfitCenterIsBlocked,
FormulaPlanningTemplate,
FormOfAddress,
AddressName,
AdditionalName,
ProfitCenterAddrName3,
ProfitCenterAddrName4,
StreetAddressName,
POBox,
CityName,
PostalCode,
District,
@ObjectModel.foreignKey.association: '_Country' //Inserted by VDM CDS Suite Plugin
Country,
@ObjectModel.foreignKey.association: '_Region'
Region,
TaxJurisdiction,
@Semantics.language:true
@ObjectModel.foreignKey.association: '_Language' //Inserted by VDM CDS Suite Plugin
Language,
PhoneNumber1,
PhoneNumber2,
TeleboxNumber,
TelexNumber,
FaxNumber,
DataCommunicationPhoneNumber,
ProfitCenterPrinterName,
ProfitCenterCreatedByUser,
ProfitCenterCreationDate,
_Text,
_Country,
_ControllingArea,
_ProfitCenterHierarchyNode,
_Language,
_Company,
_Segment,
_Region,
//--[ GENERATED:012:29JlHNUf7jY4ipE4XHfNBG
@Consumption.hidden: true
_ControllingAreaText,
@Consumption.hidden: true
_SegmentText
// ]--GENERATED
//_TaxJurisdiction
}
where
ValidityStartDate <= $session.system_date
and ValidityEndDate >= $session.system_date
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PROFITCENTER"
],
"ASSOCIATED":
[
"I_COMPANYCODE",
"I_CONTROLLINGAREA",
"I_COUNTRY",
"I_LANGUAGE",
"I_PROFITCENTERHIERARCHYNODE",
"I_PROFITCENTERTEXT",
"I_REGION",
"I_SEGMENT",
"I_SEGMENTTEXT"
],
"BASE":
[
"I_PROFITCENTER"
],
"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