I_MKT_CouponCodeTypeText
Marketing: Coupon Code Type - Text
I_MKT_CouponCodeTypeText is a Basic CDS View that provides data about "Marketing: Coupon Code Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 3 fields with key fields CouponCodeType, Language. Part of development package CUAN_CDS_COUPON.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | from |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Marketing: Coupon Code Type - Text | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | IMKTCPNCODETYPET | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.representativeKey | CouponCodeType | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #BASIC | view | |
| Search.searchable | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CouponCodeType | |||
| KEY | Language | |||
| CouponCodeTypeName |
@EndUserText.label: 'Marketing: Coupon Code Type - Text'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'IMKTCPNCODETYPET'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_ALLOWED
@ObjectModel:{
dataCategory: #TEXT,
representativeKey: 'CouponCodeType',
usageType: {
dataClass: #META,
sizeCategory: #S,
serviceQuality: #A
}
}
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #BASIC
@Search.searchable: true
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE ]
define view I_MKT_CouponCodeTypeText
as select from dd07t
{
key cast ( substring( domvalue_l, 1, 1 ) as cuan_cpn_code_type preserving type ) as CouponCodeType,
@Semantics.language: true
key cast( ddlanguage as spras preserving type ) as Language,
@Semantics.text: true
@Search: {
ranking: #HIGH,
defaultSearchElement: true
}
cast ( ddtext as cuan_cpn_code_type_name preserving type ) as CouponCodeTypeName
}
where
domname = 'CUAN_CPN_CODE_TYPE_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