I_ServiceContractTypeVH

DDL: I_SERVICECONTRACTTYPEVH Type: view BASIC Package: CRMS4_SERVICE_CONTRACT

Service contract type value help

I_ServiceContractTypeVH is a Basic CDS View that provides data about "Service contract type value help" in SAP S/4HANA. It reads from 2 data sources (crmc_proc_type, I_ServiceDocumentTypeStdVH) and exposes 3 fields with key field ServiceContractType. Part of development package CRMS4_SERVICE_CONTRACT.

Data Sources (2)

SourceAliasJoin Type
crmc_proc_type _proc_type inner
I_ServiceDocumentTypeStdVH I_ServiceDocumentTypeStdVH from

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ISERVCNTRTYPEVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.resultSet.sizeCategory #XS view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey ServiceContractType view
VDM.viewType #BASIC view
Search.searchable true view
Consumption.ranked true view
EndUserText.label Service contract type value help view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ServiceContractType I_ServiceDocumentTypeStdVH ServiceDocumentType Service Contract Type
ServiceObjectType I_ServiceDocumentTypeStdVH ServiceObjectType
ServiceContractTypeName
@AbapCatalog: {
  sqlViewName: 'ISERVCNTRTYPEVH',
  compiler.compareFilter: true,
  preserveKey: true
}
@ObjectModel: {
  dataCategory: #VALUE_HELP,
  usageType: {serviceQuality: #X, sizeCategory: #XL, dataClass: #CUSTOMIZING },
  resultSet: {sizeCategory: #XS }
}
@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'ServiceContractType'
@VDM.viewType: #BASIC
@Search.searchable: true
@Consumption.ranked:true
@EndUserText.label: 'Service contract type value help'
define view I_ServiceContractTypeVH 
  as select from I_ServiceDocumentTypeStdVH
  inner join crmc_proc_type as _proc_type on I_ServiceDocumentTypeStdVH.ServiceDocumentType = _proc_type.process_type
{
      
  @Search.defaultSearchElement: true
  @EndUserText.label : 'Service Contract Type'
  @ObjectModel.text.element: ['ServiceContractTypeName']
  @UI.textArrangement: #TEXT_FIRST
  @Search.ranking:#HIGH
  key I_ServiceDocumentTypeStdVH.ServiceDocumentType as ServiceContractType,
      
  @Search.defaultSearchElement: true
  @Search.ranking:#LOW
  I_ServiceDocumentTypeStdVH.ServiceObjectType,

  @Semantics.text: true
  @Search.defaultSearchElement: true
  @Search.ranking:#LOW
  _ServiceDocumentTypeText[1:Language=$session.system_language].ServiceDocumentTypeName                  as ServiceContractTypeName
  
}
where I_ServiceDocumentTypeStdVH.ServiceObjectType = 'BUS2000112'
  and _proc_type.template_type = ''