I_PrftCtrSpcfcCoCodeAssgmt

DDL: I_PRFTCTRSPCFCCOCODEASSGMT Type: view BASIC

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)

SourceAliasJoin Type
cepc_bukrs cepc_bukrs from

Associations (2)

CardinalityTargetAliasCondition
[1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/