C_SalesOrderTypeVH_F2242

DDL: C_SALESORDERTYPEVH_F2242 Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_SalesDocumentType I_SalesDocumentType from

Annotations (15)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/