C_CustomerMaterialLongTextTP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_CustomerMaterialLongTextTP | I_CustomerMaterialLongTextTP | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA