I_MKT_CouponCodeUsageTypeText

DDL: I_MKT_COUPONCODEUSAGETYPETEXT SQL: IMKTCPNCDUSGETYT Type: view BASIC Package: CUAN_CDS_COUPON

Marketing: Type of Cpn Code Usage - Text

I_MKT_CouponCodeUsageTypeText is a Basic CDS View that provides data about "Marketing: Type of Cpn Code Usage - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 3 fields with key fields CouponCodeUsageType, Language. Part of development package CUAN_CDS_COUPON.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Annotations (13)

NameValueLevelField
EndUserText.label Marketing: Type of Cpn Code Usage - Text view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName IMKTCPNCDUSGETYT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_ALLOWED view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey CouponCodeUsageType 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 (3)

KeyFieldSource TableSource FieldDescription
KEY CouponCodeUsageType
KEY Language
CouponCodeUsageTypeName
@EndUserText.label: 'Marketing: Type of Cpn Code Usage - Text'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'IMKTCPNCDUSGETYT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_ALLOWED
@ObjectModel:{
  dataCategory: #TEXT,
  representativeKey: 'CouponCodeUsageType',
  usageType: {
    dataClass: #META,
    sizeCategory: #S,
    serviceQuality: #A
  }
}
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #BASIC
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE ]
define view I_MKT_CouponCodeUsageTypeText
  as select from dd07t
{
  key cast ( substring( domvalue_l, 1, 2 ) as cuan_cpn_code_usage_id preserving type ) as CouponCodeUsageType,

      @Semantics.language: true
  key cast( ddlanguage as spras preserving type )                                      as Language,

      @Semantics.text: true
      cast ( ddtext as cuan_cpn_code_usage_name preserving type )                      as CouponCodeUsageTypeName

}
where
      domname  = 'CUAN_CPN_CODE_USAGE_ID'
  and as4local = 'A'