cancel
Showing results for 
Search instead for 
Did you mean: 

Integrating web dynpro application into CRM WEB UI assignment block

Former Member
0 Kudos

Hi,

I have created a new assignment block using transaction BSP_WD_CMPWB int the CRM 7.0 WEB UI, and i want the content of this block to be a custom web dynpro app.

I can't currently find a way to add this into the assignment block configuration so that it picks it up, and also passes in the BP number as a parameter.

I have modififed the BP_HEAD BSP to include the new view, I just need to get it to show the web dynpro app as the content.

Any suggestions would be great.

Thanks

Matt.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Matt,

what about the good old BSP extension <bsp:call url='url to your WD application'>? Add this into the view layout of the view which is shown when opening the assignment block?

/Florian

Former Member
0 Kudos

Hi Florian,

Thanks for the advice.

I've tried putting the following code into the .htm page under the View Layout node (the first 4 lines are the standard stuff that was in there):

<%@page language="abap" %>

<%@extension name="thtmlb" prefix="thtmlb" %>

<%@extension name="chtmlb" prefix="chtmlb" %>

<%@extension name="bsp" prefix="bsp" %>

<bsp:call url='http://www.google.co.uk'>

I get a syntax error of "An open tag was not closed". I haven't done any BSP development before so maybe i'm missing something simple!

Thanks

Matt.

0 Kudos

Hi Matt,

BSP is quite petty with closing all tags. Your call to google should be <bsp:call url='http://www.google.co.uk' />.

I hope this is enough. I haven't tried it myself but to get it working with the parameters you will have to bind the context nodes to your google view and then use it in your URL parameter.

/Florian

Former Member
0 Kudos

Hi Florian,

Thanks that syntax work ok, however when I go to the BP screen in the web UI i get the following error message displayed:

Cannot display view Z_WEBDYNPRO_APP/Attributes of UI Component BP_HEAD

An exception has occurred

Exception Class CX_BSP_INV_PAGE - BSP Exception: Das Objekt http://www.google.co.uk in der URL /sap(ZT1TMDgyTmpFNU1sOWZYMTlmTTE5Zk5UZGZTcTR6Tm14MlJqbmhBQUFBQ2hRMld3PT0=)/bc/bsp/sap/z_webdynpro_app/Attributes.do ist nicht gültig.

Method: CL_BSP_PAGE_BASE=>CREATE_PAGE

Source Text Row: 117

Any ideas?

Thanks for your help.

Matt.

0 Kudos

Hi Matt,

It seems that the bsp:call only works within the BSP stack. As an alternative there is always the HTML redirect.

http://en.wikipedia.org/wiki/Meta_refresh

Is your WD application Java or ABAP? If it is an ABAP application you might be able to call the internal URL consisting on ICF path and controller name.

/Florian

Edited by: Florian Wunderle on Sep 15, 2009 11:15 AM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Matt,

Were you able to make it work? I have the same requierement, we would like to run a webdynpro application or VC application inside an assignment block,but arent quite sure how to proceed. Did the BSP command help you? Could you share your learnings with us.

Rgds

SIrahuén Pólito

Former Member
0 Kudos

Hello, Matt!

Are you still interested in solution of your problem? If yes, I can help you

Vadim

Former Member
0 Kudos

Hi,

I have the same issue and am not able to solve it . Could anyone of you please help. In my case, I need to embed a BSP application in WEB UI . Also, the access to the memory / instances for the business objects created in the WEB UI session is required. Is this possible ??

Cannot use component usage, as it does not allow me to use a BSP application as the component for usage in the Web UI component. I tried to create a view in the WEB UI component, assign it to a window, created a iframe and called the BSP application within the Iframe but the final view does not render in this way and a blank page is rendered.

Any help or suggestion would be highly appreciated.

Regards,

Asrunangshu Sarma

Former Member
0 Kudos

Hi,

Another note, I know that we could use transaction launcher to launch any bsp application but then, the point with the memory and the instances for the business objects created in the web ui session is not solved. I dont have any access to the data created in the Web UI session.

Regards,

Asrunangshu Sarma

Former Member
0 Kudos

Hi

I am interested in the solution. Please post it here.

Former Member
0 Kudos

Hi,

Just had the same requriment. I found the following solution for ABAP web dynpros.

If you use an ABAP web dynpro then find the path and application name in the SICF transaction and use that as src input. Example:

<iframe src ="../../../webdynpro/sap/z_wd_test_appl" width="100%" height="300">

<p>Your browser does not support iframes.</p>

</iframe>

The "../../../" Will remove the bsp path. Append and remove them as needed.

You can ofcause make this a link as well.

Best Regars

Kris