如何启用SAP CRM附件UI上的advanced按钮

Posted sap-jerry

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了如何启用SAP CRM附件UI上的advanced按钮相关的知识,希望对你有一定的参考价值。

As the steps are a little bit tricky, I use the working UI component SMCOV and SMCCMBO to illustrate.
After Advanced button is clicked:

技术图片

Step1: The navigation link of SMCCMBO is triggered, navigation link 2ADDDOC:

技术图片

So define the similar navigation link with EXACTLY the NAME 2ADDDOC in your own wrapper component like SMCCMBO:

技术图片

Since the navigation target is SMCCMBO/MainWindow, its inbound plug 2ADDDOC will be called:

技术图片
技术图片

Step2: You should implement the inbound plug like below:

技术图片

the outbound plug should be implemented like below, use exactly the name TODOC_ADDDOC.

技术图片
技术图片

Then define the navigation link TODOC_ADDDOC in your UI component which holds overview page, in my case, SMCOV.

Note: DO NOT define it in your wrapper component ( SMCCMBO) !!

技术图片

Step3: Now inbound plug ADDDOC of SMCCMBO/DetailWindow will be called:

技术图片
技术图片
技术图片

So you should implement the inbound plug IP_ADDDOC as below:

技术图片

Also implement the outbound plug OP_TO_ADDDOC in detail window as below, use exactly the name TO_ADDDOC in line 3.

技术图片
技术图片

This means you should define the navigation link TO_ADDDOC in wrapper component SMCCMBO.

技术图片

Now the navigation target is AttachmentProperty.MainWindow, inbound plug 2ADDDOC.

技术图片
技术图片

Step4: Actually our development finished till step3. From this step, the execution is within Content management‘s code.

技术图片

Here we can observe the navigation link NL_2ADDDOC finally points to advanced page.

技术图片

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
技术图片









以上是关于如何启用SAP CRM附件UI上的advanced按钮的主要内容,如果未能解决你的问题,请参考以下文章

SAP CRM点了附件的超链接后报错的处理方式

如何在SAP CRM WebClient UI里创建HANA Live Report

SAP UI5和CRM WebUI的View和Controller是如何绑定的

如何把SAP UI5应用部署到SAP云平台的Fiori Launchpad里去

SAP附件UI里选择的文件是如何传到ABAP服务器的

SAP CRM WebClient UI的Delta处理机制介绍