C_ProdSubstnRsnTextTP
Product Substitution Reason Text
C_ProdSubstnRsnTextTP is a Consumption CDS View that provides data about "Product Substitution Reason Text" in SAP S/4HANA. It reads from 1 data source (R_ProdSubstnRsnTextTP) and exposes 7 fields with key fields Language, MDSubstnObjectType, MDSubstnReason.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_ProdSubstnRsnTextTP | R_ProdSubstnRsnTextTP | projection |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| Metadata.allowExtensions | true | view | |
| EndUserText.label | Product Substitution Reason Text | view | |
| ObjectModel.representativeKey | MDSubstnReason | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Language | Language | ||
| KEY | MDSubstnObjectType | MDSubstnObjectType | ||
| KEY | MDSubstnReason | MDSubstnReason | ||
| MDSubstnReasonDescription | MDSubstnReasonDescription | |||
| LanguageNamelocalized | ||||
| _Language | _Language | |||
| _MDObjectType | _MDObjectType |
@AccessControl: {
authorizationCheck: #CHECK
}
@Metadata.allowExtensions: true
@EndUserText.label: 'Product Substitution Reason Text'
@ObjectModel: {
representativeKey: 'MDSubstnReason',
dataCategory: #TEXT,
usageType: {
dataClass: #MASTER,
serviceQuality: #A,
sizeCategory: #S
}
}
@VDM: {
viewType: #CONSUMPTION
}
define view entity C_ProdSubstnRsnTextTP
as projection on R_ProdSubstnRsnTextTP
{
@Consumption.valueHelpDefinition: [{
entity.name: 'I_Language' , entity.element: 'LanguageISOCode'
}]
@ObjectModel.text.element: ['LanguageName']
key Language,
key MDSubstnObjectType,
key MDSubstnReason,
MDSubstnReasonDescription,
/* Associations */
_Language._Text.LanguageName : localized,
_Language,
_MDObjectType,
_Reason : redirected to parent C_ProdSubstnRsnTP
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_LANGUAGE",
"I_LANGUAGETEXT",
"R_PRODSUBSTNRSNTEXTTP"
],
"ASSOCIATED":
[
"C_PRODSUBSTNRSNTP",
"I_LANGUAGE",
"I_SAPOBJECTTYPE"
],
"BASE":
[
"R_PRODSUBSTNRSNTEXTTP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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