I_MKT_TargetGroupType

DDL: I_MKT_TARGETGROUPTYPE SQL: IMKTTGTYPE Type: view BASIC Package: CUAN_CDS_TARGET_GROUP

Marketing: Target Group Type

I_MKT_TargetGroupType is a Basic CDS View (Dimension) that provides data about "Marketing: Target Group Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field TargetGroupType. It has 1 association to related views. Part of development package CUAN_CDS_TARGET_GROUP.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_MKT_TargetGroupTypeText _Text $projection.TargetGroupType = _Text.TargetGroupType

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IMKTTGTYPE view
Analytics.dataCategory #DIMENSION view
AbapCatalog.preserveKey true view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey TargetGroupType view
EndUserText.label Marketing: Target Group Type view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.resultSet.sizeCategory #XS view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY TargetGroupType
_Text _Text
@AbapCatalog.sqlViewName: 'IMKTTGTYPE'
@Analytics.dataCategory: #DIMENSION
@AbapCatalog.preserveKey: true
@VDM.viewType: #BASIC
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.representativeKey: 'TargetGroupType'
@EndUserText.label: 'Marketing: Target Group Type'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING}
@ObjectModel.resultSet.sizeCategory: #XS

/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ]  } */
define view I_MKT_TargetGroupType
  as select from dd07l
  association [0..*] to I_MKT_TargetGroupTypeText as _Text on $projection.TargetGroupType = _Text.TargetGroupType
{
      @ObjectModel.text.association: '_Text'
  key cast(substring(dd07l.domvalue_l,1,2) as cuan_tg_type preserving type) as TargetGroupType,
      _Text
}
where
      domname  = 'CUAN_TG_TYPE'
  and as4local = 'A'