I_SponsoredClass
Sponsored Class
I_SponsoredClass is a Basic CDS View (Dimension) that provides data about "Sponsored Class" in SAP S/4HANA. It reads from 1 data source (gmspclass) and exposes 12 fields with key field SponsoredClass. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| gmspclass | gmspclass | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SponsoredClassType | _Type | $projection.SponsoredClassType = _Type.SponsoredClassType |
| [0..*] | I_SponsoredClassText | _Text | $projection.SponsoredClass = _Text.SponsoredClass |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Sponsored Class | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | SponsoredClass | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.allowExtensions | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | IGMSPCLASSQL | view | |
| AbapCatalog.preserveKey | true | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SponsoredClass | sponsored_class | ||
| SponsoredClassType | class_type | |||
| SponsoredClassIsBillable | flg_billable | |||
| GteeMBdgtTransfObjIsVldtd | validate_fmbt | |||
| GteeMBdgtAndPostObjIsVldtd | validate_fmba | |||
| SponsoredClassAuthznGrp | auth_group | |||
| CreatedByUser | created_by | |||
| CreationDate | created_on | |||
| LastChangedByUser | modified_by | |||
| LastChangeDate | modified_on | |||
| _Type | _Type | |||
| _Text | _Text |
//Do not use it and use I_SponsoredClassCore
@EndUserText.label: 'Sponsored Class'
@Analytics: { dataCategory: #DIMENSION, dataExtraction.enabled: true }
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.representativeKey: 'SponsoredClass'
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE]
@ObjectModel.usageType: {
dataClass: #MASTER,
serviceQuality: #C,
sizeCategory: #L
}
@Metadata.allowExtensions:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations:true
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.sqlViewName: 'IGMSPCLASSQL'
@AbapCatalog.preserveKey:true
define view I_SponsoredClass
as select from gmspclass
association [1..1] to I_SponsoredClassType as _Type on $projection.SponsoredClassType = _Type.SponsoredClassType
association [0..*] to I_SponsoredClassText as _Text on $projection.SponsoredClass = _Text.SponsoredClass
{
@ObjectModel.text.association: '_Text'
key sponsored_class as SponsoredClass,
@ObjectModel.foreignKey.association: '_Type'
class_type as SponsoredClassType,
flg_billable as SponsoredClassIsBillable,
validate_fmbt as GteeMBdgtTransfObjIsVldtd,
validate_fmba as GteeMBdgtAndPostObjIsVldtd,
auth_group as SponsoredClassAuthznGrp,
created_by as CreatedByUser,
@Semantics.systemDate.createdAt: true
created_on as CreationDate,
modified_by as LastChangedByUser,
@Semantics.systemDate.lastChangedAt: true
modified_on as LastChangeDate,
_Type,
_Text
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"GMSPCLASS"
],
"ASSOCIATED":
[
"I_SPONSOREDCLASSTEXT",
"I_SPONSOREDCLASSTYPE"
],
"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