C_SalesOrderTypeVH_F2242
Sales Order Type
C_SalesOrderTypeVH_F2242 is a Consumption CDS View that provides data about "Sales Order Type" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentType) and exposes 2 fields with key field SalesOrderType.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocumentType | I_SalesDocumentType | from |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SALESORDERTYPEVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | SalesOrderType | view | |
| Consumption.valueHelpDefault.fetchValues | #AUTOMATICALLY_WHEN_DISPLAYED | view | |
| EndUserText.label | Sales Order Type | view | |
| Consumption.ranked | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrderType | |||
| _Text | _Text |
@AbapCatalog: {
sqlViewName: 'SALESORDERTYPEVH',
compiler.compareFilter: true,
preserveKey: true
}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@Search: {
searchable: true
}
@ObjectModel:{
usageType:{
dataClass: #MASTER,
serviceQuality: #A,
sizeCategory: #L
},
dataCategory: #VALUE_HELP
}
@ObjectModel.representativeKey: 'SalesOrderType'
@Consumption.valueHelpDefault.fetchValues:#AUTOMATICALLY_WHEN_DISPLAYED
@EndUserText.label: 'Sales Order Type'
@Consumption.ranked: true
define view C_SalesOrderTypeVH_F2242 as select from I_SalesDocumentType
{
//key
@Search.defaultSearchElement: true
@ObjectModel.text.association: '_Text'
@Search.fuzzinessThreshold: 0.9
@Search.ranking: #HIGH
key cast( SalesDocumentType as sales_order_type preserving type ) as SalesOrderType,
//association
_Text
}
where
SDDocumentCategory = 'C';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SALESDOCUMENTTYPE"
],
"ASSOCIATED":
[
"I_SALESDOCUMENTTYPETEXT"
],
"BASE":
[
"I_SALESDOCUMENTTYPE"
],
"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