R_SubscrpnContrKeyFigureTP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_SubscriptionContract | I_SubscriptionContract | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA