使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中

i042416發表於2020-08-28

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:


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中 使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


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:


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


just copy the highlighted one to the url configuration below:


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


(2) Configure transaction launcher,


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


follow the steps defined in wizard:


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


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.


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


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:


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


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


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


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


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


(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.


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


(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:


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


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


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


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


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


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


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


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


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


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


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


(5) Define a new logical link:


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


Assign the logical link ID to the logical link group:


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


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


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


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


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


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


使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


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

使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2715432/,如需轉載,請註明出處,否則將追究法律責任。

相關文章