C_ServiceCostRateDEX

DDL: C_SERVICECOSTRATEDEX Type: view_entity CONSUMPTION Package: FINS_CO_COST_RATE

Service Cost Rate

C_ServiceCostRateDEX is a Consumption CDS View (Fact) that provides data about "Service Cost Rate" in SAP S/4HANA. It reads from 1 data source (I_ServiceCostRate_2) and exposes 27 fields with key field AccountingCostRateUUID. It has 1 association to related views. Part of development package FINS_CO_COST_RATE.

Data Sources (1)

SourceAliasJoin Type
I_ServiceCostRate_2 _Rate from

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_AccountingCostRate _Extension $projection.AccountingCostRateUUID = _Extension.AccountingCostRateUUID

Annotations (16)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Service Cost Rate view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.modelingPattern #ANALYTICAL_FACT view
ObjectModel.sapObjectNodeType.name AccountingCostRate view
VDM.viewType #CONSUMPTION view
Analytics.dataCategory #FACT view
Analytics.dataExtraction.enabled true view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.elementSuffix CRT view
AbapCatalog.extensibility.quota.maximumFields 340 view
AbapCatalog.extensibility.quota.maximumBytes 10000 view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY AccountingCostRateUUID AccountingCostRateUUID
Ledger I_ServiceCostRate_2 Ledger
CurrencyRole CurrencyRole
CompanyCode CompanyCode
ControllingArea ControllingArea
CostCenter CostCenter
ActivityType ActivityType
IsIntercompanyRate IsIntercompanyRate
ReceivingCompanyCode ReceivingCompanyCode
ServiceCostLevel ServiceCostLevel
PersonnelNumber PersonnelNumber
WBSElementInternalID WBSElementInternalID
WBSElementExternalID WBSElementExternalID
WorkItem WorkItem
TimeSheetOvertimeCategory TimeSheetOvertimeCategory
ValidityStartFiscalYear ValidityStartFiscalYear
ValidityStartFiscalPeriod ValidityStartFiscalPeriod
ValidityStartFiscalYearPeriod ValidityStartFiscalYearPeriod
ValidityStartDate ValidityStartDate
ValidityEndFiscalYear ValidityEndFiscalYear
ValidityEndFiscalPeriod ValidityEndFiscalPeriod
ValidityEndFiscalYearPeriod ValidityEndFiscalYearPeriod
ValidityEndDate ValidityEndDate
CostCtrActivityTypeQtyUnit CostCtrActivityTypeQtyUnit
Currency Currency
CostRateVarblAmount CostRateVarblAmount
CostRateScaleFactor CostRateScaleFactor
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED

@EndUserText.label: 'Service Cost Rate'

@Metadata.ignorePropagatedAnnotations: true

@ObjectModel: {
    usageType: {
        sizeCategory: #L,
        serviceQuality: #D,
        dataClass: #MIXED
    }
    ,supportedCapabilities: [#EXTRACTION_DATA_SOURCE]
    ,modelingPattern: #ANALYTICAL_FACT
    ,sapObjectNodeType.name: 'AccountingCostRate'
}

@VDM.viewType: #CONSUMPTION

@Analytics:{
    dataCategory: #FACT,
    dataExtraction: {
        enabled: true,
        delta.changeDataCapture: {
          mapping: [
            {
            role: #MAIN,
            table: 'ACCOSTRATE',
            tableElement: [ 'RATEUUID' ],
            viewElement: [ 'AccountingCostRateUUID' ]
            },
            {
            role: #LEFT_OUTER_TO_ONE_JOIN,
            table: 'PRPS',
            tableElement: [ 'PSPNR' ],
            viewElement: [ 'WBSElementInternalID' ]
            },
            {
            role: #LEFT_OUTER_TO_ONE_JOIN,
            table: 'CSSL',
            tableElement: [ 'KOKRS', 'KOSTL','LSTAR','GJAHR' ],
            viewElement: [ 'ControllingArea','CostCenter','ActivityType','ValidityStartFiscalYear' ]
            }
          ]
        }
    }
}

@AbapCatalog.extensibility: {
  extensible: true,
  elementSuffix: 'CRT',
  dataSources: ['_Rate'],
  quota: {
    maximumFields: 340,
    maximumBytes: 10000
  }
}

define view entity C_ServiceCostRateDEX
  as select from I_ServiceCostRate_2 as _Rate
  association [1..1] to E_AccountingCostRate as _Extension on $projection.AccountingCostRateUUID = _Extension.AccountingCostRateUUID
{
  key AccountingCostRateUUID,
      _Rate.Ledger,
      CurrencyRole,
      CompanyCode,
      ControllingArea,
      CostCenter,
      ActivityType,
      IsIntercompanyRate,
      ReceivingCompanyCode,
      ServiceCostLevel,
      PersonnelNumber,
      WBSElementInternalID,
      WBSElementExternalID,
      WorkItem,
      TimeSheetOvertimeCategory,
      @Semantics.fiscal.year: true
      ValidityStartFiscalYear,
      @Semantics.fiscal.period: true
      ValidityStartFiscalPeriod,
      @Semantics.fiscal.yearPeriod: true
      ValidityStartFiscalYearPeriod,
      @Semantics.businessDate.from: true
      ValidityStartDate,
      @Semantics.fiscal.year: true
      ValidityEndFiscalYear,
      @Semantics.fiscal.period: true
      ValidityEndFiscalPeriod,
      @Semantics.fiscal.yearPeriod: true
      ValidityEndFiscalYearPeriod,
      @Semantics.businessDate.to: true
      ValidityEndDate,
      CostCtrActivityTypeQtyUnit,
      Currency,
      @Semantics.amount.currencyCode: 'Currency'
      CostRateVarblAmount,
      CostRateScaleFactor
}