I_ServiceCancellationReason
Service Cancellation Reason
I_ServiceCancellationReason is a Basic CDS View (Dimension) that provides data about "Service Cancellation Reason" in SAP S/4HANA. It reads from 1 data source (crmc_cancreason) and exposes 3 fields with key field ServiceContrCancellationReason. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| crmc_cancreason | crmc_cancreason | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_ServiceCanclnReasonText | _ServiceCanclnReasonText | $projection.ServiceContrCancellationReason = _ServiceCanclnReasonText.ServiceContrCancellationReason |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Service Cancellation Reason | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | ISRVCCANCREASON | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.representativeKey | ServiceContrCancellationReason | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.sapObjectNodeType.name | ServiceContrCancellationReason | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceContrCancellationReason | canc_reason | ||
| ServiceContractCanclnParty | cancparty | |||
| _ServiceCanclnReasonText | _ServiceCanclnReasonText |
@EndUserText.label: 'Service Cancellation Reason'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog: {
sqlViewName: 'ISRVCCANCREASON',
compiler.compareFilter: true,
preserveKey: true
}
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel: {
representativeKey: 'ServiceContrCancellationReason',
usageType: {
dataClass: #CUSTOMIZING,
serviceQuality: #X,
sizeCategory: #S
},
supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE]
}
//@Metadata.allowExtensions:true
@Metadata.ignorePropagatedAnnotations: true
@Analytics.dataCategory: #DIMENSION
@Analytics.internalName: #LOCAL
//! Code list for the Service Contract Cancellation Reason
@ObjectModel.sapObjectNodeType.name: 'ServiceContrCancellationReason'
define view I_ServiceCancellationReason
as select from crmc_cancreason
association [1..*] to I_ServiceCanclnReasonText as _ServiceCanclnReasonText on $projection.ServiceContrCancellationReason = _ServiceCanclnReasonText.ServiceContrCancellationReason
{
@ObjectModel.text.association: '_ServiceCanclnReasonText'
key canc_reason as ServiceContrCancellationReason,
@Semantics.text: true
cancparty as ServiceContractCanclnParty,
_ServiceCanclnReasonText
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"CRMC_CANCREASON"
],
"ASSOCIATED":
[
"I_SERVICECANCLNREASONTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"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