R_SubscrpnContrKeyFigureTP

DDL: R_SUBSCRPNCONTRKEYFIGURETP Type: view_entity TRANSACTIONAL

KPIs of Contract - TP

R_SubscrpnContrKeyFigureTP is a Transactional CDS View that provides data about "KPIs of Contract - TP" in SAP S/4HANA. It reads from 1 data source (I_SubscriptionContract) and exposes 6 fields with key field SubscriptionContract.

Data Sources (1)

SourceAliasJoin Type
I_SubscriptionContract I_SubscriptionContract from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label KPIs of Contract - TP view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY SubscriptionContract
SubscrpnContrTotalNetAmount
SubscrpnContrTotalGrossAmt
SubscrpnContrTotalTaxAmount
SubscrpnContrCurrency
_SubscriptionContract _SubscriptionContract
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'KPIs of Contract - TP'
@Metadata.ignorePropagatedAnnotations: true

@VDM: {
  lifecycle.contract.type: #SAP_INTERNAL_API,
  viewType: #TRANSACTIONAL
}

@ObjectModel.usageType:{
    serviceQuality: #C,
    sizeCategory: #S,
    dataClass: #MIXED
}


/* Change T000, cause ATC SELF */
define view entity R_SubscrpnContrKeyFigureTP
  as select from I_SubscriptionContract

  association to parent R_SubscriptionContractTP as _SubscriptionContract on $projection.SubscriptionContract = _SubscriptionContract.SubscriptionContract


{

  key cast( '0000000000' as crmt_object_id_db ) as SubscriptionContract,
      @Semantics.amount.currencyCode : 'SubscrpnContrCurrency'
      cast ( '0' as crmt_net_value  )           as SubscrpnContrTotalNetAmount,
      @Semantics.amount.currencyCode : 'SubscrpnContrCurrency'
      cast ( '0' as crmt_gross_value )          as SubscrpnContrTotalGrossAmt,
      @Semantics.amount.currencyCode : 'SubscrpnContrCurrency'
      cast ( '0' as crmt_tax_amount )           as SubscrpnContrTotalTaxAmount,

      cast ( 'EUR' as crmt_currency )           as SubscrpnContrCurrency,

      _SubscriptionContract

}
where
  SubscriptionContract is initial
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SUBSCRIPTIONCONTRACT"
],
"ASSOCIATED":
[
"R_SUBSCRIPTIONCONTRACTTP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/