C_SalesContractTypeValueHelp

DDL: C_SALESCONTRACTTYPEVALUEHELP Type: view CONSUMPTION Package: ODATA_SD_S4H_COMMON

Sales Contract Specific Document Types

C_SalesContractTypeValueHelp is a Consumption CDS View that provides data about "Sales Contract Specific Document Types" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentType) and exposes 3 fields with key field SalesDocumentType. It is exposed through 1 OData service (UI_SALESCONTRACTMANAGE). Part of development package ODATA_SD_S4H_COMMON.

Data Sources (1)

SourceAliasJoin Type
I_SalesDocumentType SalesDocumentType from

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName CSALESCTRTYPEVH view
AbapCatalog.compiler.compareFilter true view
ClientDependent true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Sales Contract Specific Document Types view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.representativeKey SalesDocumentType view
UI.headerInfo.typeName Sales Contract Type view
UI.headerInfo.typeNamePlural Sales Contract Types view
Search.searchable true view
Consumption.ranked true view
Consumption.valueHelpDefault.fetchValues #AUTOMATICALLY_WHEN_DISPLAYED view

OData Services (1)

ServiceBindingVersionContractRelease
UI_SALESCONTRACTMANAGE UI_SALESCONTRACTMANAGE V4 C1 NOT_RELEASED

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY SalesDocumentType SalesDocumentType Sales Contract Type
SalesDocumentTypeLangDepdnt
SalesDocumentTypeName
@AbapCatalog: {
   sqlViewName: 'CSALESCTRTYPEVH',
   compiler.compareFilter: true
}

@ClientDependent: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Sales Contract Specific Document Types'

@VDM: {
  viewType: #CONSUMPTION
}
@ObjectModel:{ usageType:{ dataClass: #CUSTOMIZING,
                           serviceQuality: #A,
                           sizeCategory: #S
                           },
               dataCategory:#VALUE_HELP,
               resultSet.sizeCategory: #XS,
               representativeKey: 'SalesDocumentType'
}


@UI.headerInfo:{
  typeName:       'Sales Contract Type',
  typeNamePlural: 'Sales Contract Types'
}

@Search.searchable: true
@Consumption: {
  ranked: true,
  valueHelpDefault.fetchValues:#AUTOMATICALLY_WHEN_DISPLAYED
}
define view C_SalesContractTypeValueHelp
  as select from I_SalesDocumentType as SalesDocumentType

{
    @EndUserText.label : 'Sales Contract Type'  
    @Search: {
      defaultSearchElement: true,
      ranking: #HIGH
    }
    @UI.lineItem: [{ position: 10, importance: #HIGH }]
    @ObjectModel.text.element: ['SalesDocumentTypeName']
  key SalesDocumentType,

      @UI.hidden: true
      @Search: {
        defaultSearchElement: true,
        ranking: #HIGH
      }
      @UI.textArrangement: #TEXT_SEPARATE
      SalesDocumentType._SalesDocumentTypeLangDepdnt[1:Language=$session.system_language].SalesDocumentTypeLangDepdnt,

      @Search: {
        defaultSearchElement: true,
        ranking: #LOW,
        fuzzinessThreshold: 0.9
      }
      @UI.lineItem: [{ position: 20, importance: #HIGH }]
      SalesDocumentType._Text[1:Language=$session.system_language].SalesDocumentTypeName
}
where
  SDDocumentCategory = 'G'