如何隐藏SAP CRM搜索页面的某些搜索条件-阿里云开发者社区

开发者社区> 汪子熙> 正文
登录阅读全文

如何隐藏SAP CRM搜索页面的某些搜索条件

简介: 如何隐藏SAP CRM搜索页面的某些搜索条件

Go to UI workbench:


image.png


And we can see the entries in search attribute drop down list is rendered via this method in controller:


image.png


so we can just redefine controller method:


image.png


For example, if we DO NOT want the product_id appear in UI as search attribute, the solution is simple:


image.png


After that we cannot see product id in search attribute drop down list any more:


[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-ktSAjkHQ-1580390330845)(https://upload-images.jianshu.io/upload_images/2085791-0319d71cdfaff730.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)]


Note

(1) There is NO WAY to remove these search fields from configuration in work bench via ABAP code


image.png


(2) There is NO WAY to hide those fields in overview page via ABAP code. The visibility control could only be done based on assignment block level, not field level.


image.png


We can also configure the attributes by design layer.


image.png

image.png


T-Code: BSP_DLC_SDESIGN

image.png


版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

分享:
+ 订阅

官方博客
最新文章
相关文章
官网链接