I_PrftCtrSpcfcCoCodeAssgmt
Profit center specific company code assignment
I_PrftCtrSpcfcCoCodeAssgmt is a Basic CDS View that provides data about "Profit center specific company code assignment" in SAP S/4HANA. It reads from 1 data source (cepc_bukrs) and exposes 5 fields with key fields ControllingArea, ProfitCenter, CompanyCode. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cepc_bukrs | cepc_bukrs | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
| [1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRFTCTRSPCCASGN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| EndUserText.label | Profit center specific company code assignment | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingArea | kokrs | ||
| KEY | ProfitCenter | prctr | ||
| KEY | CompanyCode | bukrs | ||
| _ControllingArea | _ControllingArea | |||
| _CompanyCode | _CompanyCode |
@AbapCatalog: {
sqlViewName: 'IPRFTCTRSPCCASGN',
compiler.compareFilter: true,
preserveKey: true
}
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #BASIC
@Metadata: {
ignorePropagatedAnnotations: true
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {
dataClass: #MASTER,
serviceQuality: #A,
sizeCategory: #M
}
@EndUserText.label: 'Profit center specific company code assignment'
define view I_PrftCtrSpcfcCoCodeAssgmt
as select from cepc_bukrs
association [1] to I_ControllingArea as _ControllingArea on $projection.ControllingArea = _ControllingArea.ControllingArea
association [1] to I_CompanyCode as _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
{
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_ControllingArea',
element: 'ControllingArea' }
}]
@ObjectModel.foreignKey.association: '_ControllingArea'
key kokrs as ControllingArea,
key prctr as ProfitCenter,
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_CompanyCodeStdVH',
element: 'ControllingArea' }
}]
@ObjectModel.foreignKey.association: '_CompanyCode'
key bukrs as CompanyCode,
_ControllingArea,
_CompanyCode
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"CEPC_BUKRS"
],
"ASSOCIATED":
[
"I_COMPANYCODE",
"I_CONTROLLINGAREA"
],
"BASE":
[],
"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