I_MerchandiseCategoryText

DDL: I_MERCHANDISECATEGORYTEXT Type: view_entity BASIC

Merchandise Category - Text

I_MerchandiseCategoryText (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

MerchandiseCategoryText · Cross Applications

I_MerchandiseCategoryText is a Basic CDS View that provides data about "Merchandise Category - Text" in SAP S/4HANA. It reads from 2 data sources (t023t, klah) and exposes 7 fields with key fields MerchandiseCategory, Language. It has 2 associations to related views.

SAP Help Documentation

CategoryProduct Taxonomies
Purpose
This CDS view provides language dependent text for merchandise categories. This CDS view provides the data to answer the following business questions: What are the varieties of descriptions and texts associated with merchandise categories for a given language? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: C_TCLA_BKA (Controls user access to class types) C_KLAH_BKP (Authorization for class maintenance)

Structure
Further Important Fields Important fields in this view include the following: Field Name Description MerchandiseCategory Merchandise category Language Language MerchandiseCategoryName Merchandise category name MerchandiseCategoryText Merchandise category text

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentLO-RFM-MD-MC
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source for Data Extraction, Language-Dependent Text
PackageCross Applications for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides language dependent text for merchandise categories.</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>What are the varieties of descriptions and texts associated with merchandise categories for a given language?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (2)

SourceAliasJoin Type
t023t MerchandiseCategoryText from
klah MrchdsCategory inner

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_MerchandiseCategory _MerchandiseCategory $projection.MerchandiseCategory = _MerchandiseCategory.MerchandiseCategory
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (14)

NameValueLevelField
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey MerchandiseCategory view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name MerchandiseCategoryText view
EndUserText.label Merchandise Category - Text view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY MerchandiseCategory t023t matkl Product Sold Group
KEY Language t023t spras Off. Language
MerchandiseCategoryName t023t wgbez Material Group Description
MerchandiseCategoryText t023t wgbez60 Description of the Material Group
ClassInternalID klah clint Internal Class Number
_MerchandiseCategory _MerchandiseCategory
_Language _Language

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 I_MerchandiseCategoryText.
-- 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.

CREATE VIEW I_MerchandiseCategoryText AS
SELECT
  MerchandiseCategoryText.matkl AS MerchandiseCategory,
  MerchandiseCategoryText.spras AS Language,
  MerchandiseCategoryText.wgbez AS MerchandiseCategoryName,
  MerchandiseCategoryText.wgbez60 AS MerchandiseCategoryText,
  MrchdsCategory.clint AS ClassInternalID
FROM t023t AS MerchandiseCategoryText
INNER JOIN klah AS MrchdsCategory ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MerchandiseCategory AS _MerchandiseCategory ON MerchandiseCategory = _MerchandiseCategory.MerchandiseCategory  -- association [1..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;