首页 > 其他分享 >CDS标准视图:ABC标识文本 I_ABCIndicatorText

CDS标准视图:ABC标识文本 I_ABCIndicatorText

时间:2024-12-30 13:31:11浏览次数:1  
标签:ABC ABCIndicatorText Language ABCIndicator ObjectModel 视图 true

  • 视图名称:ABC标识文本 I_ABCIndicatorText
  • 视图类型:基础视图
  • 视图代码:
点击查看代码
@EndUserText.label: 'ABC Indicator - Text'
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IABCINDICTEXT'
@AbapCatalog.compiler.compareFilter: true
@Analytics: { dataExtraction.enabled: true }
@AccessControl.authorizationCheck: #NOT_REQUIRED

@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel: {
  dataCategory: #TEXT,
  representativeKey: 'ABCIndicator',
  semanticKey:  [ 'ABCIndicator' ],
  usageType: {
    dataClass: #CUSTOMIZING,
    sizeCategory: #S,
    serviceQuality: #A
  }
}

@Metadata.ignorePropagatedAnnotations
@Search.searchable: true
@ObjectModel.supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET]


define view I_ABCIndicatorText as select from t370c_t
association[0..1] to I_ABCIndicator as _ABCIndicator on $projection.ABCIndicator = _ABCIndicator.ABCIndicator
association[0..1] to I_Language as _Language on $projection.Language = _Language.Language{

    @ObjectModel.foreignKey.association: '_ABCIndicator'
    @ObjectModel.text.element: ['ABCIndicatorDesc']
    key t370c_t.abckz as ABCIndicator,

    @ObjectModel.foreignKey.association: '_Language'
    @Semantics.language: true
    key t370c_t.spras as Language,

    @Semantics.text: true
    @EndUserText.label: 'ABC Indicator Text'
    @Search.defaultSearchElement: true
    @Search.fuzzinessThreshold: 0.8
    @Search.ranking: #HIGH

    cast( t370c_t.abctx as eams_abctx preserving type ) as ABCIndicatorDesc,

    _ABCIndicator,
    _Language
}

  • 事务代码:

  • 视图结构:

字段名称 设备名称
ABC 标识 ABCINDICATOR
语言 LANGUAGE
ABC 标识描述 ABCINDICATORDESC

标签:ABC,ABCIndicatorText,Language,ABCIndicator,ObjectModel,视图,true
From: https://www.cnblogs.com/guanxing/p/18640817

相关文章

  • AT_abc237_g [ABC237G] Range Sort Query 题解
    题目传送门前置知识珂朵莉树/颜色段均摊解法观察到只有\(=x\)的位置才是重要的,而其他位置上的数具体是什么并不重要,我们只需要关注其大小关系。第一遍将\(\gex\)的数看做\(1\),将\(<x\)的数看做\(0\)。第二遍将\(>x\)的数看做\(1\),将\(\lex\)的数看做\(1\)。......
  • CDS标准视图:技术对象类别文本 I_TechnicalObjectTypeText
    视图名称:技术对象类别文本I_TechnicalObjectTypeText视图类型:基础视图代码:点击查看代码@EndUserText.label:'TechnicalObjectType-Text'@ObjectModel.dataCategory:#TEXT@Analytics:{dataExtraction:{enabled:true,delta.changeDataCapture.automatic:......
  • CDS标准视图:功能位置种类描述 I_FlocCategoryText
    视图名称:功能位置种类描述I_FlocCategoryText视图类型:基础视图代码:点击查看代码@EndUserText.label:'FunctionalLocation-Text'@ObjectModel.dataCategory:#TEXT@VDM.viewType:#BASIC@AbapCatalog:{sqlViewName:'IFLOCTEXT',preserveKey}@AbapCatalog.comp......
  • CDS标准视图:功能位置可用标签 I_FUNCNLLOCALTERNATIVELABEL
    视图名称:功能位置可用标签I_FUNCNLLOCALTERNATIVELABEL视图类型:基础视图代码:点击查看代码@EndUserText.label:'FunctionalLocationAlternativeLabels'@VDM.viewType:#BASIC@AccessControl.authorizationCheck:#CHECK@AbapCatalog.sqlViewName:'IFUNCTLOCALTLBL'......
  • CDS标准视图:功能位置信息 I_FunctionalLocationData
    视图名称:I_FunctionalLocationData视图类型:基础视图视图代码:点击查看代码@EndUserText.label:'FunctionalLocationData'@VDM:{viewType:#COMPOSITE,lifecycle.contract.type:#PUBLIC_LOCAL_API}@AbapCatalog.sqlViewName:'IFUNCTLOCATTR'@AbapCatalog......
  • CDS标准视图:功能位置描述 I_FunctionalLocationText
    视图名称:功能位置描述I_FunctionalLocationText视图类型:基本视图视图代码:点击查看代码@EndUserText.label:'FunctionalLocation-Text'@ObjectModel.dataCategory:#TEXT@VDM.viewType:#BASIC@AbapCatalog:{sqlViewName:'IFLOCTEXT',preserveKey}@AbapCatalo......
  • 每天40分玩转Django:Django类视图
    Django类视图一、知识要点概览表类别知识点掌握程度要求基础视图View、TemplateView、RedirectView深入理解通用显示视图ListView、DetailView熟练应用通用编辑视图CreateView、UpdateView、DeleteView熟练应用Mixin机制ContextMixin、LoginRequiredMixin理解原理视图配置......
  • [题解](更新中)AtCoder Beginner Contest 386(ABC386) A~E
    A-FullHouse2容易发现,答案为Yes\(\iff\)输入中恰好出现了\(2\)种不同的数,可以用set等数据结构来计算不同元素的个数。点击查看代码#include<bits/stdc++.h>usingnamespacestd;set<int>se;signedmain(){ for(inti=1,a;i<=4;i++){ cin>>a; se.insert(a); } c......
  • 视图、存储过程、触发器 整理
    //视图//视图就是基表的映射//创建视图//create[orreplace]view视图名称[(视图列表)]asselect语句[with[cascaded|local]checkoption];//查看创建视图语句//showcreateview视图名称;//查看视图书记//select*from视图名称...;//修改视图//方......
  • SwiftUI 简单时间线视图开发教程
    SwiftUI简单时间线视图开发教程本教程详细介绍了如何实现一个时间线视图,并逐步分析代码的设计思路。我们会特别分析时间线中连接线的实现,探讨其连续性如何保持以及偏移量计算的原因。简单时间线视图1.整体视图结构TimeLineView是整个时间线组件的入口,包含以下......