参考如下链接:
FIORI ELement list report 细节开发,设置过滤器,搜索帮助object page跳转等_fiori element label 变量-CSDN博客
注:odata搜索帮助可以直接将值带出来,而不需要进行任何的重定义
搜索帮助metedata配置如下(待验证,几日后见分晓)
<Annotations Target="ZSALESORDERSLISTS_SRV.SaleslLists/Vbeln"> <!--绑定到对应搜索帮助的字段-->
<Annotation Term="com.sap.vocabularies.Common.v1.ValueList">
<Record>
<PropertyValue Property="Label" String="Sales Order Type"/>
<!--绑定导入的搜索帮助-->
<PropertyValue Property="CollectionPath" String="ZshvbelnSet"/>
<PropertyValue Property="SearchSupported" Bool="true"/>
<PropertyValue Property="Parameters">
<Collection>
<!--相当于指定主键,搜索帮助的返回值-->
<Record Type="com.sap.vocabularies.Common.v1.ValueListParameterOut">
<PropertyValue Property="LocalDataProperty" PropertyPath="Vbeln"/>
<PropertyValue Property="ValueListProperty" String="Vbeln"/>
</Record>
<!--搜索帮助其它列,描述什么的在这里设置-->
<!--<Record Type="com.sap.vocabularies.Common.v1.ValueListParameterDisplayOnly">-->
<!-- <PropertyValue Property="ValueListProperty" String="Netwr"/>-->
<!--</Record>-->
</Collection>
</PropertyValue>
</Record>
</Annotation>
</Annotations>