使用SAP Transaction Launcher将ABAP Webdynpro嵌入到WebClient UI中
发布日期:2021-06-30 14:29:02 浏览次数:2 分类:技术文章

本文共 2589 字,大约阅读时间需要 8 分钟。

THINK twice why you want to include an ABAP webdynpro component into CRM UI, as in CRM application it is not recommended to use ABAP webdynpro to develop UI. In some case for example, PDF preview is far more convenient using standard ABAP webdynpro control “Interactive form”. However if you would like to achieve the same via webclient UI, much more development are unavoidable.

(1) in SPRO, define a new URL entity:

you have to fill the respective url of your webdynpro application to be embedded into this url entity.

Below is how to find the url of your webdynpro application:

just copy the highlighted one to the url configuration below:

(2) Configure transaction launcher,

follow the steps defined in wizard:

Specify a handler class. It is not necessary that the handler class must exist before this wizard is launched, the wizard will automatically generate it for you.

You will need a UI Object Type to finish the wizard. You can either choose to reuse an existing one or create a new one via the customizing node below:

You can just specify the object type name and save it.

In the fourth step of the wizard, specify the URL id created in step1. Complete the wizard.

(3) use tcode CRMC_UI_NBLINKS, locate the navigation profile of your business role, sayTPM-PRO, and double click on “Define Logical Links”.

Choose type “Launch Transaction” from drop down list, and for target ID use the fixed oneEXECLTX. Choose the launch transaction created in step3 as Parameter, and for parameter class choose the class below. Maintain a meaningful description.

(4) Now you should determine from which entry point in CRM UI could launch your ABAP webdynpro component. For example you would to add a new logical link in business role TPM-PRO, work center Master data as screenshot below:

You should first identify the technical name of Work center “Master Data”:

Choose business role TPM-PRO, and double click on “Adjust work centers”, and technical name “MD-ALL” is identified.

Next step you should find out the technical name of logical link group where you can embedded your ABAP webdynpro component:

Choose entry for MD-ALL, double click on “Assign Work Center Link Groups To Work Center”:

Then MD-PRD-SR is what we look for.

(5) Define a new logical link:

Assign the logical link ID to the logical link group:

Go back to “Define Business role”, enable the checkbox “In Menu” and “Visible”:

After all configuration is done, once click the logical link, you can see the ABAP webdynpro in the CRM UI:

The area marked with blank rectangle is the ABAP webdynpro UI.

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

转载地址:https://jerry.blog.csdn.net/article/details/108269436 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:使用SAP Transaction Launcher将ABAP Webdynpro嵌入到WebClient UI中
下一篇:SAP Cloud for Customer Rule Editor的使用方法和底层工作原理

发表评论

最新留言

网站不错 人气很旺了 加油
[***.192.178.218]2024年04月20日 19时15分09秒