I_MKT_CouponCodeTypeText

DDL: I_MKT_COUPONCODETYPETEXT SQL: IMKTCPNCODETYPET Type: view BASIC Package: CUAN_CDS_COUPON

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)

SourceAliasJoin Type
dd07t dd07t from

Annotations (14)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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'