日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

CRM WebClient UI outbound plug的使用

發(fā)布時(shí)間:2023/12/19 编程问答 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 CRM WebClient UI outbound plug的使用 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

Starting point:

An example why we need to configure outbound plug mapping

Technical information: CRMCMP_IBSEARCH/HeaderResultList

requirement: click button “Create Service Contract”, and this will lead to navigation to service contract creation ui.

View hierarchy information

Why do we need outbound plug mapping?

In order to answer it, we must first understand the case when the outbound plug mapping is not necessary.

Result view call outbound plug, pay attention to lr_window.

Method OP_CREATE is called dynamically.

That method in window will call [fire_outbound_plug]{.underline} ( don’t mix it with CALL_OUTBOUND_PLUG !!)

Inside the method, it will call the navigate method of its parent window’s view manager:

Just check the previous view hierarchy screenshot, the method navigate simply insert a new navigation entry to internal table mav_queue, which will be parsed later. Pay attention to which window reference the variable me points to.

And now the navigation entry is handled. The ls_nav_step-owner_window just points to the outer window stored in “me” in previous screenshot:

There is one navigation target found:

So far it works perfectly, however all the logic are working based on static navigation, e.g all navigation information are maintained in design time:

However in order to fulfill the requirement, cross component navigation is necessary - it is not possible to maintain navigation information in design
time.Instead, we must delegate the outbound plug from view HeaderResultList to its wrapper window IB150M_IBASE, and the wrapper window will trigger cross component navigation.

The main difference for outbound plug mapping in runtime

Recall the scenario of normal view navigation, the method call_outbound_plug of its direct window ( CMP Window ) is called.In the mapping case, as its name shows,the method call_outbound_plug of the outer wrapper window is called: The outbound plug is delegated from: 1. view iteself -> 2. direct
window ( CMP window ) ->3. outer wrapper window ( IB150M window ).

The reason why we need the outer wrapper window here is to achieve the cross component navigation logic.

In the outer wrapper window, it is wrong to use call_outbound_plug since it will lead to endless recursive call.

Neither the view manager->navigate must be called, it still causes the wrapper window is inserted as a starting window in navigation entry. The correct way is to call [fire_outbound_plug]{.underline}:

[In this way we gain access to wrapper window’s parent view manager, since now we are inside the implementation of cl_bsp_wd_window and all private attributes are available]{.underline}.

Now me points to standard ui window controller, which is just exactly what we want!

Only this standard window reference can have right to fire cross component navigation:

要獲取更多Jerry的原創(chuàng)文章,請(qǐng)關(guān)注公眾號(hào)"汪子熙":

總結(jié)

以上是生活随笔為你收集整理的CRM WebClient UI outbound plug的使用的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。