C_CustomerMaterialLongTextTP

DDL: C_CUSTOMERMATERIALLONGTEXTTP SQL: CSDCUSTMATLTXT Type: view CONSUMPTION Package: ODATA_SD_CUSTOMER_MATERIAL

Customer Material Texts

C_CustomerMaterialLongTextTP is a Consumption CDS View that provides data about "Customer Material Texts" in SAP S/4HANA. It reads from 1 data source (I_CustomerMaterialLongTextTP) and exposes 20 fields with key fields SalesOrganization, DistributionChannel, Customer, Material, Language. It has 4 associations to related views. Part of development package ODATA_SD_CUSTOMER_MATERIAL.

Data Sources (1)

SourceAliasJoin Type
I_CustomerMaterialLongTextTP I_CustomerMaterialLongTextTP from

Associations (4)

CardinalityTargetAliasCondition
[1..1] C_CustomerMaterial_F2499 _CustomerMaterialText $projection.SalesOrganization = _CustomerMaterialText.SalesOrganization and $projection.DistributionChannel = _CustomerMaterialText.DistributionChannel and $projection.Customer = _CustomerMaterialText.Customer and $projection.Material = _CustomerMaterialText.Material
[0..1] C_LangISOCodeValueHelp _Language $projection.LanguageISOCode = _Language.LanguageISOCode
[1..1] I_LanguageText _LanguageName $projection.LanguageForEdit = _LanguageName.LanguageCode and _LanguageName.Language = $session.system_language
[0..1] C_CustMatlTextObjectTypeVH _CustMatlTextObjectTypeVH $projection.LongTextIDForEdit = _CustMatlTextObjectTypeVH.TextObjectType and _CustMatlTextObjectTypeVH.TextObjectCategory = 'KNMT'

Annotations (22)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CSDCUSTMATLTXT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Customer Material Texts view
Search.searchable false view
VDM.viewType #CONSUMPTION view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.dataCategory #TEXT view
Metadata.allowExtensions true view
UI.headerInfo.typeName Customer Material - Text view
UI.headerInfo.typeNamePlural Customer Material - Texts view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value TextObjectTypeName view
UI.headerInfo.description.type #STANDARD view
UI.headerInfo.description.value LanguageISOCode view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY SalesOrganization SalesOrganization Sales Organization
KEY DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
KEY Customer Customer Sold-to Party
KEY Material Vehicle Model
KEY Language Language Report Text Language
KEY LongTextID LongTextID Text ID
SalesOrganizationForEdit SalesOrganizationForEdit Sales Org.
DistributionChannelForEdit DistributionChannelForEdit RefDistCh-Cust/Mat.
CustomerForEdit CustomerForEdit Customer
MaterialForEdit Product
LanguageForEdit LanguageForEdit Original Language
LanguageISOCode LanguageISOCode Language ISO Code
LanguageName _LanguageName LanguageName Name
LongTextIDForEdit LongTextIDForEdit Text ID
TextObjectTypeName _CustMatlTextObjectTypeVH TextObjectTypeName
LongText LongText Text Name
_CustomerMaterialText _CustomerMaterialText
_Language _Language
_LanguageName _LanguageName
_CustMatlTextObjectTypeVH _CustMatlTextObjectTypeVH

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_CustomerMaterialLongTextTP.
-- 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: CSDCUSTMATLTXT

CREATE VIEW C_CustomerMaterialLongTextTP AS
SELECT
  SalesOrganization,
  DistributionChannel,
  Customer,
  cast(Material as productnumber preserving type ) AS Material,
  Language,
  LongTextID,
  SalesOrganizationForEdit,
  DistributionChannelForEdit,
  CustomerForEdit,
  cast(MaterialForEdit as productnumber preserving type ) AS MaterialForEdit,
  LanguageForEdit,
  LanguageISOCode,
  _LanguageName.LanguageName AS LanguageName,
  LongTextIDForEdit,
  _CustMatlTextObjectTypeVH.TextObjectTypeName AS TextObjectTypeName,
  LongText
FROM I_CustomerMaterialLongTextTP
LEFT OUTER JOIN C_CustomerMaterial_F2499 AS _CustomerMaterialText ON SalesOrganization = _CustomerMaterialText.SalesOrganization AND DistributionChannel = _CustomerMaterialText.DistributionChannel AND Customer = _CustomerMaterialText.Customer AND Material = _CustomerMaterialText.Material  -- association [1..1]
LEFT OUTER JOIN C_LangISOCodeValueHelp AS _Language ON LanguageISOCode = _Language.LanguageISOCode  -- association [0..1]
LEFT OUTER JOIN I_LanguageText AS _LanguageName ON LanguageForEdit = _LanguageName.LanguageCode AND _LanguageName.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN C_CustMatlTextObjectTypeVH AS _CustMatlTextObjectTypeVH ON LongTextIDForEdit = _CustMatlTextObjectTypeVH.TextObjectType AND _CustMatlTextObjectTypeVH.TextObjectCategory = 'KNMT'  -- association [0..1]
;