I_MKT_CouponCodeUsageType

DDL: I_MKT_COUPONCODEUSAGETYPE SQL: IMKTCPNCDUSGETYP Type: view BASIC Package: CUAN_CDS_COUPON

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)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_MKT_CouponCodeUsageTypeText _UsageTypeText $projection.CouponCodeUsageType = _UsageTypeText.CouponCodeUsageType

Annotations (13)

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

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