I_PROFITCENTER

CDS View

Profit Center

I_PROFITCENTER is a CDS View in S/4HANA. Profit Center. It contains 41 fields. 26 CDS views read from this table.

CDS Views using this table (26)

ViewTypeJoinVDMDescription
A_ProfitCenter view from BASIC Profit Center
C_CmmdtyHdgPlnExpsrPrftCtrVH view from CONSUMPTION CMM Hedge Plan Exposure Profit Center
C_EntProjProfitCenterVH view from CONSUMPTION Profit Center
C_FixedAssetOvwProfitCenterVH view from CONSUMPTION Profit Center by Company Code Value Help
C_MM_ProfitCenterValHelp view from CONSUMPTION Profit Center Value Help
C_Profitcentertemp view from CONSUMPTION Profit Center Value Help
C_PurOrdAccrsEmlTmplPrftCtr view from CONSUMPTION E-mail Tmpl PO Accrs of Profit Center
C_RevnVarcPrftCtrVH view from CONSUMPTION Value help for Profit Center
FAC_DART_Z3_PROFITCENTER_BASE view from Profit Center Master Data Base
FAC_DART_Z3_PROFITCENTER_BASE view union_all Profit Center Master Data Base
FAC_PROFITCENTERVH view from Value help for profit center
FISVD_PRCTR_VH view from Value Help for Profit Center
I_CmmdtyCoCodePrftCtrVH view left_outer BASIC View for Company Code and Profit Center
I_CurrentProfitCenter view from BASIC Current Profit Center
I_MM_ProfitCenterValueHelp view from BASIC Purchasing Profit Center Value Help
I_ProfitCenterForCompanyCode view from BASIC Profit Center For Company Code
I_ProfitCenterStdVH view from COMPOSITE Profit Center
P_NextProfitCenter view from COMPOSITE
P_PreviousProfitCenter view from COMPOSITE
P_PrftCtrChangeLogPrftCtr view_entity from CONSUMPTION Profit Center in Profit Center ChangeLog
P_PrftCtrChangeLogPrftCtr view_entity union CONSUMPTION Profit Center in Profit Center ChangeLog
P_ProfitCenterTP view from COMPOSITE
P_WhereUsdPrftCtrGroup view inner CONSUMPTION
P_WhereUsdProfitCenterWODCL view from CONSUMPTION
R_PrftCtrValidityPeriodEvent view_entity from TRANSACTIONAL Profit Center Validity Period Business Event
R_ProfitCenterTP view_entity from TRANSACTIONAL Profit Center - TP

Fields (41)

KeyField CDS FieldsUsed in Views
KEY ControllingArea ControllControllingArea,ControllingArea,KOKRS 6
KEY ProfitCenter PRCTR,ProfitCenter 9
KEY ValidityEndDate DATBI,ValidityEndDate 5
_ControllingArea _ControllingArea 2
_Country _Country 1
_Language _Language 1
_ProfitCenterHierarchyNode _ProfitCenterHierarchyNode 1
_Region _Region 1
_Segment _Segment 1
_Text _ProfitCenterText,_Text 2
AdditionalName AdditionalName 1
AddressName AddressName 1
CityName CityName 2
Country Country 2
DataCommunicationPhoneNumber DataCommunicationPhoneNumber 1
Department Department 1
District District 1
FaxNumber FaxNumber 1
FormOfAddress FormOfAddress 1
FormulaPlanningTemplate FormulaPlanningTemplate 1
Language Language 2
PhoneNumber1 PhoneNumber1 1
PhoneNumber2 PhoneNumber2 1
POBox POBox 1
PostalCode PostalCode 1
ProfitCenterAddrName3 ProfitCenterAddrName3 1
ProfitCenterAddrName4 ProfitCenterAddrName4 1
ProfitCenterCreatedByUser ProfitCenterCreatedByUser 1
ProfitCenterCreationDate ProfitCenterCreationDate 1
ProfitCenterIsBlocked ProfitCenterIsBlocked 1
ProfitCenterPrinterName ProfitCenterPrinterName 1
ProfitCenterStandardHierarchy ProfitCenterStandardHierarchy 1
ProfitCtrResponsiblePersonName ProfitCtrResponsiblePersonName,VERAK 4
ProfitCtrResponsibleUser ProfitCtrResponsibleUser,VERAK_USER 3
Region Region 1
Segment Segment 1
StreetAddressName StreetAddressName 1
TaxJurisdiction TaxJurisdiction 1
TeleboxNumber TeleboxNumber 1
TelexNumber TelexNumber 1
ValidityStartDate ValidityStartDate 2
@EndUserText.label: 'Profit Center'
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IFIPROFITCENTER'
@AbapCatalog.preserveKey:true

@AccessControl.authorizationCheck: #CHECK
@AccessControl.privilegedAssociations:  [ '_ProfitCenterHierarchyNode'
//--[ GENERATED:012:29JlHNUf7jY4ipE4XHfNBG

,'_ControllingAreaText','_SegmentText'
// ]--GENERATED

]
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.representativeKey: 'ProfitCenter'
@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.supportedCapabilities: [ #ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #EXTRACTION_DATA_SOURCE ]
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION

@ObjectModel.usageType: {
  dataClass: #MASTER,
  serviceQuality: #A,
  sizeCategory: #M
}

@Analytics:{
    dataCategory: #DIMENSION,
    dataExtraction: {
        enabled: true,
        delta.changeDataCapture: {
        automatic: true
        }
    }
}

@Search.searchable: true
@Consumption.filter.businessDate.at: true
define view I_ProfitCenter
  as select distinct from cepc


  //--[ GENERATED:012:29JlHNUf7jY4ipE4XHfNBG

  association [1..1] to I_ControllingArea              as _ControllingAreaText          on  $projection.ControllingArea = _ControllingAreaText.ControllingArea
  association [0..*] to I_SegmentText                  as _SegmentText                  on  $projection.Segment = _SegmentText.Segment
  // ]--GENERATED

  association [1..1] to I_ControllingArea              as _ControllingArea              on  $projection.ControllingArea = _ControllingArea.ControllingArea
  association [0..*] to I_ProfitCenterText             as _Text                         on  $projection.ControllingArea = _Text.ControllingArea
                                                                                        and $projection.ProfitCenter    = _Text.ProfitCenter
                                                                                        and $projection.ValidityEndDate = _Text.ValidityEndDate
  association [0..*] to I_ProfitCenterHierarchyNode    as _ProfitCenterHierarchyNode    on  $projection.ControllingArea = _ProfitCenterHierarchyNode.ControllingArea
                                                                                        and $projection.ProfitCenter    = _ProfitCenterHierarchyNode.ProfitCenter
  association [0..1] to I_Country                      as _Country                      on  $projection.Country = _Country.Country
  association [0..1] to I_CompanyCode                  as _Company                      on  $projection.CompanyCode = _Company.CompanyCode
  association [0..1] to I_Segment                      as _Segment                      on  $projection.Segment = _Segment.Segment
  association [0..1] to I_Region                       as _Region                       on  $projection.Country = _Region.Country
                                                                                        and $projection.Region  = _Region.Region

  association [0..*] to I_PrftCtrCompanyCodeAssignment as _PrftCtrCompanyCodeAssignment on  $projection.ControllingArea = _PrftCtrCompanyCodeAssignment.ControllingArea
                                                                                        and $projection.ProfitCenter    = _PrftCtrCompanyCodeAssignment.ProfitCenter

  //association[0..*] to I_TaxJurisdiction           as _TaxJurisdiction           on $projection.TaxJurisdiction   = _TaxJurisdiction.TaxJurisdiction

  association [0..1] to I_Language                     as _Language                     on  $projection.Language = _Language.Language
  association [1..1] to E_ProfitCenter                 as _Extension                    on  $projection.ControllingArea = _Extension.ControllingArea
                                                                                        and $projection.ProfitCenter    = _Extension.ProfitCenter
                                                                                        and $projection.ValidityEndDate = _Extension.ValidityEndDate

{
      //--[ GENERATED:012:29JlHNUf7jY4ipE4XHfNBG

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

      @ObjectModel.foreignKey.association: '_ControllingArea'
  key kokrs        as ControllingArea,
      @ObjectModel.text.association: '_Text'
      @ObjectModel.hierarchy.association: '_ProfitCenterHierarchyNode'
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
  key prctr        as ProfitCenter,

      @Semantics.businessDate.to: true
  key datbi        as ValidityEndDate,
      verak        as ProfitCtrResponsiblePersonName,
      
///////////////////////////////////////////////////////////////////////////

// Attention

//           Please do NOT use this field CompanyCode from this view

//                (it is empty and will not be used/filled)

//

//  The assignment CompanyCode - Profitcenter is built in another way

// We cannot delete the wrong field here because of DDL guidelines

///////////////////////////////////////////////////////////////////////      

      bukrs        as CompanyCode,
      
      verak_user   as ProfitCtrResponsibleUser,
      @Semantics.businessDate.from: true
      datab        as ValidityStartDate,
      abtei        as Department,
      khinr        as 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      as Segment,
      lock_ind     as ProfitCenterIsBlocked,
      pca_template as FormulaPlanningTemplate,
      anred        as FormOfAddress,
      name1        as AddressName,
      name2        as AdditionalName,
      name3        as ProfitCenterAddrName3,
      name4        as ProfitCenterAddrName4,
      stras        as StreetAddressName,
      pfach        as POBox,
      ort01        as CityName,
      pstlz        as PostalCode,
      pstl2        as POBoxPostalCode,
      ort02        as District,
      @ObjectModel.foreignKey.association: '_Country' //Inserted by VDM CDS Suite Plugin

      land1        as Country,
      @ObjectModel.foreignKey.association: '_Region'
      regio        as Region,
      txjcd        as TaxJurisdiction,
      @Semantics.language:true
      @ObjectModel.foreignKey.association: '_Language' //Inserted by VDM CDS Suite Plugin

      spras        as Language,
      telf1        as PhoneNumber1,
      telf2        as PhoneNumber2,
      telbx        as TeleboxNumber,
      telx1        as TelexNumber,
      telfx        as FaxNumber,
      teltx        as TeletexNumber,
      datlt        as DataCommunicationPhoneNumber,
      drnam        as ProfitCenterPrinterName,
      usnam        as ProfitCenterCreatedByUser,
      ersda        as ProfitCenterCreationDate,

      _Text,
      _Country,
      _ControllingArea,
      _ProfitCenterHierarchyNode,
      _Language,
      _Company,
      _Segment,
      _Region,
      _PrftCtrCompanyCodeAssignment,
      //--[ GENERATED:012:29JlHNUf7jY4ipE4XHfNBG

      @Consumption.hidden: true
      _ControllingAreaText,
      @Consumption.hidden: true
      _SegmentText
      // ]--GENERATED


      //_TaxJurisdiction

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"CEPC"
],
"ASSOCIATED":
[
"E_PROFITCENTER",
"I_COMPANYCODE",
"I_CONTROLLINGAREA",
"I_COUNTRY",
"I_LANGUAGE",
"I_PRFTCTRCOMPANYCODEASSIGNMENT",
"I_PROFITCENTERHIERARCHYNODE",
"I_PROFITCENTERTEXT",
"I_REGION",
"I_SEGMENT",
"I_SEGMENTTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/