91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

三種動態控制SAP CRM WebClient UI assignment block顯示與否的方法

發布時間:2020-08-07 03:51:18 來源:ITPUB博客 閱讀:154 作者:i042416 欄目:互聯網科技

Hi Friends, It is a common requirement that a certain assignment block in overview page should only be displayed under some condition, for example under control of a business switch.

三種動態控制SAP CRM WebClient UI assignment block顯示與否的方法

Here are three ways which could control the visibility of one assignment block via code.

Approach2: dynamical view detachment

refine method DETACH_STATIC_OVW_VIEWS of the controller class of your overview page. All views put into internal table rt_viewid will be hidden by UI framework in the runtime. The code below just means you can evaluate some condition in line 3, and if the condition is met, the assignment block SearchResult will be hidden.

三種動態控制SAP CRM WebClient UI assignment block顯示與否的方法

Approach3: dynamic UI configuration load

Create a new configuration within which only Search view is displayed. The configuration is bound to a certain UI object type.

三種動態控制SAP CRM WebClient UI assignment block顯示與否的方法

Now we have two UI configurations. The standard configuration will display two assignment blocks by default, the configuration with UI object type = CRM_SMC will only display Search view.

三種動態控制SAP CRM WebClient UI assignment block顯示與否的方法

Implement DO_CONFIG_DETERMINATION:

三種動態控制SAP CRM WebClient UI assignment block顯示與否的方法

method DO_CONFIG_DETERMINATION.
  " IF search result view should be hidden     me->set_config_keys( iv_object_type          = 'CRM_SMC'
                          iv_propagate_2_children = abap_false ).
  " ENDIF  endmethod.

Approach4: Control the visibility via business switch

This is a most elegant way, however it could only be used if you would like to control the visibility of your view via a business switch. When you are assigning your assignment view to the view area of Overview page in runtime repository, a business switch can be assigned as displayed in the picture below. If the switch is turned off, the related view will be automatically hidden by UI Framework.

三種動態控制SAP CRM WebClient UI assignment block顯示與否的方法

After you have assigned a view to the view area of overview page, the switch ID is displayed after view name.

三種動態控制SAP CRM WebClient UI assignment block顯示與否的方法

You could first find the related business function for switch CRM_SOC_SFWS_SMI_2 via tcode SFW1,

三種動態控制SAP CRM WebClient UI assignment block顯示與否的方法

then find the business function status in SFW5:

三種動態控制SAP CRM WebClient UI assignment block顯示與否的方法

If the business function is deactivated, the assignment block will also be hidden automatically.

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

三種動態控制SAP CRM WebClient UI assignment block顯示與否的方法

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

安庆市| 巨鹿县| 西宁市| 磴口县| 漳浦县| 静安区| 扬州市| 武强县| 砚山县| 田东县| 岳西县| 家居| 资中县| 南昌县| 定日县| 铜鼓县| 宁夏| 息烽县| 大厂| 曲沃县| 台东县| 崇义县| 社旗县| 长武县| 历史| 崇礼县| 滨海县| 松溪县| 繁昌县| 诸暨市| 开化县| 临江市| 海安县| 射阳县| 延寿县| 阳城县| 仁怀市| 宁德市| 泾阳县| 凤凰县| 镶黄旗|