A_CostCenter

DDL: A_COSTCENTER SQL: AFICOSTCENTER Type: view BASIC

Cost Center

A_CostCenter is a Basic CDS View that provides data about "Cost Center" in SAP S/4HANA. It reads from 1 data source (I_CostCenter) and exposes 30 fields with key fields ControllingArea, CostCenter, ValidityEndDate. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CostCenter I_CostCenter from

Associations (2)

CardinalityTargetAliasCondition
[0..*] A_CostCenterText _Text $projection.ControllingArea = _Text.ControllingArea and $projection.CostCenter = _Text.CostCenter and $projection.ValidityEndDate = _Text.ValidityEndDate
[1..1] E_CostCenter _Extension $projection.ControllingArea = _Extension.ControllingArea and $projection.CostCenter = _Extension.CostCenter and $projection.ValidityEndDate = _Extension.ValidityEndDate

Annotations (11)

NameValueLevelField
EndUserText.label Cost Center view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName AFICOSTCENTER view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea ControllingArea
KEY CostCenter CostCenter
KEY ValidityEndDate ValidityEndDate
ValidityStartDate ValidityStartDate
CompanyCode CompanyCode
BusinessArea BusinessArea
CostCtrResponsiblePersonName CostCtrResponsiblePersonName
CostCtrResponsibleUser CostCtrResponsibleUser
CostCenterCurrency CostCenterCurrency
ProfitCenter ProfitCenter
Department Department
CostingSheet CostingSheet
FunctionalArea FunctionalArea
Country Country
Region Region
CityName CityName
CostCenterStandardHierArea CostCenterStandardHierArea
CostCenterCategory CostCenterCategory
IsBlkdForPrimaryCostsPosting IsBlkdForPrimaryCostsPosting
IsBlkdForSecondaryCostsPosting IsBlkdForSecondaryCostsPosting
IsBlockedForRevenuePosting IsBlockedForRevenuePosting
IsBlockedForCommitmentPosting IsBlockedForCommitmentPosting
IsBlockedForPlanPrimaryCosts IsBlockedForPlanPrimaryCosts
IsBlockedForPlanSecondaryCosts IsBlockedForPlanSecondaryCosts
IsBlockedForPlanRevenues IsBlockedForPlanRevenues
ConsumptionQtyIsRecorded ConsumptionQtyIsRecorded
Language Language
CostCenterCreatedByUser CostCenterCreatedByUser
CostCenterCreationDate CostCenterCreationDate
_Text _Text
@EndUserText.label: 'Cost Center'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {
  dataClass: #MASTER,
  serviceQuality: #B,
  sizeCategory: #M
}
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'AFICOSTCENTER'
@AccessControl.authorizationCheck: #CHECK

// A-view annotations

@AbapCatalog.compiler.compareFilter: true
@Metadata.ignorePropagatedAnnotations: true
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API

define view A_CostCenter
  as select from I_CostCenter
  association [0..*] to A_CostCenterText as _Text      on  $projection.ControllingArea = _Text.ControllingArea
                                                       and $projection.CostCenter      = _Text.CostCenter
                                                       and $projection.ValidityEndDate = _Text.ValidityEndDate
  association [1..1] to E_CostCenter     as _Extension on  $projection.ControllingArea = _Extension.ControllingArea
                                                       and $projection.CostCenter      = _Extension.CostCenter
                                                       and $projection.ValidityEndDate = _Extension.ValidityEndDate
{
      //A_CostCenter

  key ControllingArea,
  key CostCenter,
  key ValidityEndDate,
      ValidityStartDate,
      CompanyCode,
      BusinessArea,
      CostCtrResponsiblePersonName,
      CostCtrResponsibleUser,
      CostCenterCurrency,
      ProfitCenter,
      Department,
      CostingSheet,
      FunctionalArea,
      Country,
      Region,
      CityName,
      CostCenterStandardHierArea,
      CostCenterCategory,
      IsBlkdForPrimaryCostsPosting,
      IsBlkdForSecondaryCostsPosting,
      IsBlockedForRevenuePosting,
      IsBlockedForCommitmentPosting,
      IsBlockedForPlanPrimaryCosts,
      IsBlockedForPlanSecondaryCosts,
      IsBlockedForPlanRevenues,
      ConsumptionQtyIsRecorded,
      Language,
      CostCenterCreatedByUser,
      CostCenterCreationDate,
      /* Associations */
      _Text
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COSTCENTER"
],
"ASSOCIATED":
[
"A_COSTCENTERTEXT",
"E_COSTCENTER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/