I_SalesOrderTypeText
Sales Order Type - Text
I_SalesOrderTypeText is a Basic CDS View that provides data about "Sales Order Type - Text" in SAP S/4HANA. It reads from 2 data sources (I_SalesOrderType, I_SalesDocumentTypeText) and exposes 5 fields with key fields SalesOrderType, Language. It has 1 association to related views. Part of development package VDM_SD_SLS_SO.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesOrderType | SalesOrderType | inner |
| I_SalesDocumentTypeText | Text | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SalesOrderType | _SalesOrderType | $projection.SalesOrderType = _SalesOrderType.SalesOrderType |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Consumption.ranked | true | view | |
| EndUserText.label | Sales Order Type - Text | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.modelingPattern | #LANGUAGE_DEPENDENT_TEXT | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.representativeKey | SalesOrderType | view | |
| Search.searchable | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrderType | I_SalesOrderType | SalesOrderType | |
| KEY | Language | I_SalesDocumentTypeText | Language | |
| SalesOrderTypeName | ||||
| _SalesOrderType | _SalesOrderType | |||
| _Language | I_SalesDocumentTypeText | _Language |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataExtraction.enabled: true
@Consumption.ranked: true
@EndUserText.label: 'Sales Order Type - Text'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.dataCategory: #TEXT
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.usageType:{
serviceQuality: #A,
sizeCategory: #S,
dataClass: #CUSTOMIZING
}
@ObjectModel.representativeKey: 'SalesOrderType'
@ObjectModel.supportedCapabilities: [#CDS_MODELING_ASSOCIATION_TARGET,
#CDS_MODELING_DATA_SOURCE,
#EXTRACTION_DATA_SOURCE,
#LANGUAGE_DEPENDENT_TEXT,
#SEARCHABLE_ENTITY,
#SQL_DATA_SOURCE]
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
define view entity I_SalesOrderTypeText
as select from I_SalesDocumentTypeText as Text
inner join I_SalesOrderType as SalesOrderType on Text.SalesDocumentType = SalesOrderType.SalesOrderType
association [0..1] to I_SalesOrderType as _SalesOrderType on $projection.SalesOrderType = _SalesOrderType.SalesOrderType
{
@ObjectModel.foreignKey.association: '_SalesOrderType'
@ObjectModel.text.element: ['SalesOrderTypeName']
key SalesOrderType.SalesOrderType,
@Semantics.language: true
@ObjectModel.foreignKey.association: '_Language'
key Text.Language,
@Search: {
defaultSearchElement: true,
fuzzinessThreshold: 0.9,
ranking: #LOW }
@Semantics.text: true
cast( Text.SalesDocumentTypeName as sd_sales_order_type_name preserving type ) as SalesOrderTypeName,
_SalesOrderType,
Text._Language
}
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