I_MKT_CouponCodeUsageType
Marketing: Type of Coupon Code Usage
I_MKT_CouponCodeUsageType is a Basic CDS View that provides data about "Marketing: Type of Coupon Code Usage" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field CouponCodeUsageType. It has 1 association to related views. Part of development package CUAN_CDS_COUPON.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07l | dd07l | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_MKT_CouponCodeUsageTypeText | _UsageTypeText | $projection.CouponCodeUsageType = _UsageTypeText.CouponCodeUsageType |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Marketing: Type of Coupon Code Usage | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | IMKTCPNCDUSGETYP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| ObjectModel.representativeKey | CouponCodeUsageType | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #BASIC | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CouponCodeUsageType | |||
| _UsageTypeText | _UsageTypeText |
@EndUserText.label: 'Marketing: Type of Coupon Code Usage'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'IMKTCPNCDUSGETYP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_ALLOWED
@ObjectModel: {
representativeKey: 'CouponCodeUsageType',
resultSet.sizeCategory: #XS,
usageType: {
dataClass: #META,
sizeCategory: #S,
serviceQuality: #A
}
}
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #BASIC
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE ]
define view I_MKT_CouponCodeUsageType
as select from dd07l
association [0..*] to I_MKT_CouponCodeUsageTypeText as _UsageTypeText on $projection.CouponCodeUsageType = _UsageTypeText.CouponCodeUsageType
{
@ObjectModel.text.association: '_UsageTypeText'
key cast ( substring( domvalue_l, 1, 2 ) as cuan_cpn_code_usage_id preserving type ) as CouponCodeUsageType,
_UsageTypeText
}
where
domname = 'CUAN_CPN_CODE_USAGE_ID'
and as4local = 'A'
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