如何將SAP CRM產品主數據頁面的assignment block設置成只讀

Created by Jerry Wang, last modified on Sep 29, 2016

Metadata table for relationship:

This method can only set existing data to read only, but could NOT prevent user from creating new data in WebUI.

This method can allow you ( GenIL layer ) to add some post processing of data retrieved from API layer

It works as screenshot below.
How to disable these two buttons:

Approach 1: change enabled attribute in gt_button
Appraoch 2: hard code displayMode = read only


How to disable Edit List button:

Same idea:


要獲取更多Jerry的原創文章,請關注公衆號"汪子熙":

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章