A_ServiceCostRate_2

DDL: A_SERVICECOSTRATE_2 Type: view_entity BASIC

Service Cost Rate

A_ServiceCostRate_2 is a Basic CDS View that provides data about "Service Cost Rate" in SAP S/4HANA. It reads from 1 data source (I_ServiceCostRate_2) and exposes 19 fields with key field AccountingCostRateUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceCostRate_2 I_ServiceCostRate_2 from

Associations (1)

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

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Service Cost Rate view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
OData.entityType.name ServiceCostRate_Type view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY AccountingCostRateUUID AccountingCostRateUUID
CompanyCode CompanyCode
ReceivingCompanyCode ReceivingCompanyCode
IsIntercompanyRate IsIntercompanyRate
CostCenter CostCenter
TimeSheetOvertimeCategory TimeSheetOvertimeCategory
ActivityType ActivityType
ServiceCostLevel ServiceCostLevel
PersonnelNumber PersonnelNumber
WorkItem WorkItem
WBSElementExternalID WBSElementExternalID
ValidityStartFiscalYearPeriod ValidityStartFiscalYearPeriod
ValidityEndFiscalYearPeriod ValidityEndFiscalYearPeriod
Currency Currency
CostRateVarblAmount CostRateVarblAmount
CostRateScaleFactor CostRateScaleFactor
CostCtrActivityTypeQtyUnit CostCtrActivityTypeQtyUnit
Ledger Ledger
CostRateIsOverwriteMode
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Service Cost Rate'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #B,
  sizeCategory: #L,
  dataClass: #TRANSACTIONAL
}

@OData.entityType.name: 'ServiceCostRate_Type'

@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@ObjectModel: {
  createEnabled: true,
  updateEnabled: true,
  deleteEnabled: true
}

define view entity A_ServiceCostRate_2
  as select from I_ServiceCostRate_2
  association [1..1] to E_AccountingCostRate as _Extension on $projection.AccountingCostRateUUID = _Extension.AccountingCostRateUUID
{
  key AccountingCostRateUUID,

      CompanyCode,

      ReceivingCompanyCode,
      IsIntercompanyRate,
      CostCenter,
      TimeSheetOvertimeCategory,
      ActivityType,
      ServiceCostLevel,
      PersonnelNumber,
      WorkItem,
      WBSElementExternalID,

      ValidityStartFiscalYearPeriod,
      ValidityEndFiscalYearPeriod,

      Currency,
      @Semantics.amount.currencyCode: 'Currency'
      CostRateVarblAmount,
      CostRateScaleFactor,
      CostCtrActivityTypeQtyUnit,
      Ledger,
      cast( '' as abap_boolean) as CostRateIsOverwriteMode

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SERVICECOSTRATE_2"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/