I_SalesPlanTypeText
Sales Plan Type Text
I_SalesPlanTypeText is a Basic CDS View that provides data about "Sales Plan Type Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields SalesPlanType, Language. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
| [1..1] | I_SalesPlanType | _SalesPlanType | $projection.SalesPlanType = _SalesPlanType.SalesPlanType |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISDSLSPLANTYPET | view | |
| ObjectModel.representativeKey | SalesPlanType | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Sales Plan Type Text | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesPlanType | |||
| KEY | Language | ddlanguage | ||
| SalesPlanTypeDesc | ||||
| _SalesPlanType | _SalesPlanType | |||
| _Language | _Language |
@AbapCatalog.sqlViewName: 'ISDSLSPLANTYPET'
@ObjectModel.representativeKey: 'SalesPlanType'
@ObjectModel.dataCategory: #TEXT
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Sales Plan Type Text'
@AbapCatalog.compiler.compareFilter:true
@AbapCatalog.preserveKey:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass: #MASTER
define view I_SalesPlanTypeText
as select from dd07t
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
association [1..1] to I_SalesPlanType as _SalesPlanType on $projection.SalesPlanType = _SalesPlanType.SalesPlanType
{
@ObjectModel.foreignKey.association: '_SalesPlanType'
key cast ( substring( domvalue_l, 1, 1 ) as sales_plan_type ) as SalesPlanType,
@Semantics.language
key ddlanguage as Language,
@Semantics.text
cast( ddtext as sp_type_text ) as SalesPlanTypeDesc,
//Association
_SalesPlanType,
_Language
}
where
domname = 'SALES_PLAN_TYPE'
and as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_SALESPLANTYPE"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/
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