C_MKT_CouponCodeTP

DDL: C_MKT_COUPONCODETP SQL: CMKTCOUPONCODETP Type: view CONSUMPTION Package: CUAN_CDS_COUPON

Marketing: Coupon Code Consumption

C_MKT_CouponCodeTP is a Consumption CDS View that provides data about "Marketing: Coupon Code Consumption" in SAP S/4HANA. It reads from 1 data source (I_MKT_CouponCodeTP) and exposes 7 fields with key field CouponCodeUUID. It has 1 association to related views. Part of development package CUAN_CDS_COUPON.

Data Sources (1)

SourceAliasJoin Type
I_MKT_CouponCodeTP CouponCode from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_MKT_CouponTP _CouponTP $projection.CouponUUID = _CouponTP.CouponUUID

Annotations (18)

NameValueLevelField
EndUserText.label Marketing: Coupon Code Consumption view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CMKTCOUPONCODETP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.representativeKey CouponCodeUUID view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
VDM.viewType #CONSUMPTION view
UI.headerInfo.typeName Coupon Code view
UI.headerInfo.typeNamePlural Coupon Codes view
UI.headerInfo.title.label Coupon Code view
UI.headerInfo.title.value CouponCode view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY CouponCodeUUID I_MKT_CouponCodeTP CouponCodeUUID
CouponUUID I_MKT_CouponCodeTP CouponUUID
CouponCode I_MKT_CouponCodeTP CouponCode
EANCodeImageURL I_MKT_CouponCodeTP EANCodeImageURL
QRCodeImageURL I_MKT_CouponCodeTP QRCodeImageURL
CouponCodeSerialNumber I_MKT_CouponCodeTP CouponCodeSerialNumber
_CouponTP _CouponTP

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view C_MKT_CouponCodeTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CMKTCOUPONCODETP

CREATE VIEW C_MKT_CouponCodeTP AS
SELECT
  CouponCode.CouponCodeUUID AS CouponCodeUUID,
  CouponCode.CouponUUID AS CouponUUID,
  CouponCode.CouponCode AS CouponCode,
  CouponCode.EANCodeImageURL AS EANCodeImageURL,
  CouponCode.QRCodeImageURL AS QRCodeImageURL,
  CouponCode.CouponCodeSerialNumber AS CouponCodeSerialNumber
FROM I_MKT_CouponCodeTP AS CouponCode
LEFT OUTER JOIN C_MKT_CouponTP AS _CouponTP ON CouponUUID = _CouponTP.CouponUUID  -- association [1..1]
;