P_NChLanguageSortOrder
P_NChLanguageSortOrder is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_Language) and exposes 1 field with key field Language.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Language | I_Language | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PNCHLANGORD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (1)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Language | Language |
@AbapCatalog.sqlViewName: 'PNCHLANGORD'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM: {
private: true,
viewType: #CONSUMPTION
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
usageType: {
serviceQuality: #C,
sizeCategory: #S,
dataClass: #MIXED
}
}
// This view is needed for sorting by NChs main languages first
define view P_NChLanguageSortOrder
as select from I_Language
{
key Language,
cast (
case
when Language = 'E' // English
then 1
when Language = 'S' // Spanish
then 2
else 3 // All other languages
end as basicdescriptionsortordervalue ) as BasicDescriptionSortOrderValue
}
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