I_CustomerMaterialText

DDL: I_CUSTOMERMATERIALTEXT Type: view_entity BASIC

Customer Material - Text

I_CustomerMaterialText is a Basic CDS View that provides data about "Customer Material - Text" in SAP S/4HANA. It reads from 1 data source (stxl) and exposes 8 fields with key fields SalesOrganization, DistributionChannel, Customer, Product, Language.

Data Sources (1)

SourceAliasJoin Type
stxl stxl from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
EndUserText.label Customer Material - Text view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY SalesOrganization
KEY DistributionChannel
KEY Customer
KEY Product
KEY Language
LongTextID stxl tdid Text ID Header
LongText sdcustmattext_d longtext Text Name
LanguageISOCode

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_CustomerMaterialText.
-- 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_CustomerMaterialText AS
SELECT
  substring(stxl.tdname, 1, 4) AS SalesOrganization,
  substring(stxl.tdname, 5, 2) AS DistributionChannel,
  substring(stxl.tdname, 7, 10) AS Customer,
  substring(stxl.tdname, 17, 40) AS Product,
  cast( stxl.tdspras as spras ) AS Language,
  stxl.tdid AS LongTextID,
  sdcustmattext_d.longtext AS LongText,
  cast('' as laiso) AS LanguageISOCode
FROM stxl
;