I_SalesContractTypeText

DDL: I_SALESCONTRACTTYPETEXT Type: view_entity BASIC Package: VDM_SD_SLS_OA_CCO

Sales Contract Type - Text

I_SalesContractTypeText is a Basic CDS View that provides data about "Sales Contract Type - Text" in SAP S/4HANA. It reads from 2 data sources (I_SalesContractType, I_SalesDocumentTypeText) and exposes 5 fields with key fields SalesContractType, Language. It has 1 association to related views. Part of development package VDM_SD_SLS_OA_CCO.

Data Sources (2)

SourceAliasJoin Type
I_SalesContractType SalesContractType inner
I_SalesDocumentTypeText Text from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_SalesContractType _SalesContractType $projection.SalesContractType = _SalesContractType.SalesContractType

Annotations (14)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataExtraction.enabled true view
Consumption.ranked true view
EndUserText.label Sales Contract Type - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey SalesContractType view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY SalesContractType I_SalesContractType SalesContractType
KEY Language I_SalesDocumentTypeText Language
SalesContractTypeName
_SalesContractType _SalesContractType
_Language I_SalesDocumentTypeText _Language
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataExtraction.enabled: true
@Consumption.ranked: true
@EndUserText.label: 'Sales Contract Type - Text'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.dataCategory: #TEXT
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.usageType:{
  serviceQuality: #A,
  sizeCategory: #S,
  dataClass: #CUSTOMIZING
}
@ObjectModel.representativeKey: 'SalesContractType'
@ObjectModel.supportedCapabilities: [#CDS_MODELING_ASSOCIATION_TARGET,
                                     #CDS_MODELING_DATA_SOURCE,
                                     #EXTRACTION_DATA_SOURCE,
                                     #LANGUAGE_DEPENDENT_TEXT,
                                     #SEARCHABLE_ENTITY,
                                     #SQL_DATA_SOURCE]
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
define view entity I_SalesContractTypeText
  as select from I_SalesDocumentTypeText as Text
    inner join   I_SalesContractType     as SalesContractType on Text.SalesDocumentType = SalesContractType.SalesContractType
    
  association [0..1] to I_SalesContractType as _SalesContractType on $projection.SalesContractType = _SalesContractType.SalesContractType

{
      @ObjectModel.foreignKey.association: '_SalesContractType'
      @ObjectModel.text.element: ['SalesContractTypeName']
  key SalesContractType.SalesContractType,

      @Semantics.language: true
      @ObjectModel.foreignKey.association: '_Language'
  key Text.Language,

      @Search: {
        defaultSearchElement: true,
        fuzzinessThreshold: 0.9,
        ranking: #LOW }
      @Semantics.text: true
      cast( Text.SalesDocumentTypeName as sd_sales_contract_type_name preserving type ) as SalesContractTypeName,

      _SalesContractType,
      Text._Language
}