简体   繁体   English

如何在使用 CDS 注释创建的 SAP Fiori 工作列表应用程序中添加搜索帮助?

[英]How can I add search help in a SAP Fiori Worklist Application created using CDS annotations?

I want to add search help to a field in a SAP Fiori Worklist Application created using CDS annotations.我想向使用 CDS 注释创建的 SAP Fiori 工作列表应用程序中的字段添加搜索帮助。 What annotations should I use?我应该使用哪些注释?

You create a value help view and associate it by using annotation @Consumption.valueHelp:您创建一个值帮助视图并使用注释@Consumption.valueHelp:其关联@Consumption.valueHelp:

define view C_A_VIEW as select from I_A_VIEW as A      
  association [0..1] to I_VALUEHELP_VIEW as _VALUEHLEP
    on $projection.....
{ 

    @Consumption.valueHelp: '_VALUEHLEP'
    A.Field  

}

It is documented in here https://help.sap.com/viewer/cc0c305d2fab47bd808adcad3ca7ee9d/7.5.9/en-US/8a8415c033d441b2b079a53aff129463.html它记录在此处https://help.sap.com/viewer/cc0c305d2fab47bd808adcad3ca7ee9d/7.5.9/en-US/8a8415c033d441b2b079a53aff129463.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM