R_CustomerMaterialLongTextTP
Customer Material long text - TP
R_CustomerMaterialLongTextTP is a Transactional CDS View that provides data about "Customer Material long text - TP" in SAP S/4HANA. It reads from 1 data source (I_CustomerMaterialText) and exposes 11 fields with key fields LongTextID, SalesOrganization, DistributionChannel, Customer, Product.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustomerMaterialText | CustomerMaterialText | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Customer Material long text - TP | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.dataCategory | #TEXT | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LongTextID | I_CustomerMaterialText | LongTextID | |
| KEY | SalesOrganization | I_CustomerMaterialText | SalesOrganization | |
| KEY | DistributionChannel | I_CustomerMaterialText | DistributionChannel | |
| KEY | Customer | I_CustomerMaterialText | Customer | |
| KEY | Product | I_CustomerMaterialText | Product | |
| KEY | Language | I_CustomerMaterialText | Language | |
| LanguageForEdit | I_CustomerMaterialText | Language | ||
| LongTextIDForEdit | I_CustomerMaterialText | LongTextID | ||
| LongText | I_CustomerMaterialText | LongText | ||
| LanguageISOCode | I_CustomerMaterialText | LanguageISOCode | ||
| _CustomerMaterial | _CustomerMaterial |
@VDM: {
lifecycle.contract.type: #SAP_INTERNAL_API,
viewType: #TRANSACTIONAL
}
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Customer Material long text - TP'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
usageType:{
serviceQuality: #C,
sizeCategory: #L,
dataClass: #TRANSACTIONAL
},
dataCategory: #TEXT
}
define view entity R_CustomerMaterialLongTextTP
as select from I_CustomerMaterialText as CustomerMaterialText
association to parent R_CustomerMaterialTP as _CustomerMaterial on $projection.Customer = _CustomerMaterial.Customer
and $projection.Product = _CustomerMaterial.Product
and $projection.SalesOrganization = _CustomerMaterial.SalesOrganization
and $projection.DistributionChannel = _CustomerMaterial.DistributionChannel
{
key CustomerMaterialText.LongTextID,
key CustomerMaterialText.SalesOrganization,
key CustomerMaterialText.DistributionChannel,
key CustomerMaterialText.Customer,
key CustomerMaterialText.Product,
@Semantics.language: true
key CustomerMaterialText.Language,
// @ObjectModel.editableFieldFor: 'SalesOrganization'
// CustomerMaterialText.SalesOrganization as SalesOrganizationForEdit,
// @ObjectModel.editableFieldFor: 'DistributionChannel'
// CustomerMaterialText.DistributionChannel as DistributionChannelForEdit,
// @ObjectModel.editableFieldFor: 'Customer'
// CustomerMaterialText.Customer as CustomerForEdit,
// @ObjectModel.editableFieldFor: 'Product'
// CustomerMaterialText.Product as ProductForEdit,
@ObjectModel.editableFieldFor: 'Language'
CustomerMaterialText.Language as LanguageForEdit,
@ObjectModel.editableFieldFor: 'LongTextID'
CustomerMaterialText.LongTextID as LongTextIDForEdit,
@ObjectModel.virtualElement: true
@Semantics.text:true
CustomerMaterialText.LongText,
// @ObjectModel.mandatory: true
CustomerMaterialText.LanguageISOCode,
// For Access control
// _CustomerMaterial._Customer,
// @Consumption.hidden: true
// @ObjectModel.editableFieldFor: 'Customer'
// _CustomerMaterial.Customer as CustomerForEdit,
_CustomerMaterial
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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