cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a URL to BSP Page in CRM

Former Member
0 Kudos

I want to add an URL to the BSP page, could anyone give me insights on this. What I mean is

in the CRM Activities page, at the bottom I would like to add an element called URL and

when I click on URL it should goto that particular URL for example

it could be www.yahoo.com

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You can add the URL to the BSP page layout as a hyper link.

1. Copy the view into your package.

2. Go to the view layout ,locate the location ,you want to add the URL link

3. add the link

<b><a href="http://www.yahoo.com" target="_blank">My Yahoo!!</a><b>

Hope this helps.

Thirumala.

Former Member
0 Kudos

Kalluri,

Could you explain me in detail, How do you copy view into package? How do I add the link?

Former Member
0 Kudos

Adding a URL to a BSP page and adding a URL to a PCUI page are two entirely different things. At least I think they are.

We are using a different approach for adding to PCUI page (like Activities):

Create an iView for the page.

In CRM customizing...

<b>Navigation (URL Generation)</b>

> Define a new Object Method.

> Assign Method to Object

> Assign Object Method to Role

<b>Application Element</b>

Either create an Event (button) and link it to the Object & Method or link a field in Field Group.

I'm still working the details out myself, but that's the idea anyway.

HTH,

Eric

Former Member
0 Kudos

Adding a URL to BSP page ,PCUI application is Certainly differs.

I thought Kewl Bee was asking how to add URL to a BSP view page.

Thanks,

Thirumala.

Former Member
0 Kudos

Hello,

I think I am confused here, I want to add a url to Portals? would this be different from adding an url to PCUI?

Kewl

Former Member
0 Kudos

Which page do you want to change?

If you're talking about Activities, where you can search, edit, and create new activities, that is PCUI.

-Eric

Former Member
0 Kudos

Hi Kewl,

Doing the following steps will help you call the external application (http://www.yahoo.com) from one of the tabs of opportunity application from Potal.

The steps are:

• Create a new custom package ‘ZCRM_NI’ where all the new DDIC structures and the class implementation will be done.

• Create a new table structure ‘ZCRMT_BSP_OPPORT_URL’ with two new fields namely, ‘Object Key’ and ‘URL’ in the structure.

• Create a new class ‘ZCL_OPPORT_URL’ which implements the interface IF_CRM_BSP_MODEL_ACCESS_IL.

• Change the READ method of this class to call the URL of Yahoo from the newly created tab page.

• Implement the blank method MODIFY of the same class.

• Create a new field group ‘Z_OPPORT_URL’ and attach the newly created structure ‘ZCRMT_BSP_OPPORT_URL’ to this field group.

• Enter the above created Field Group Name and then create the Field Group Structure.

• Add two events ‘Z_OPPORT_URL’ and ‘ZOPP_HD_MB’ in the blueprint customizing table.

• Assign event ‘ZOPP_HD_MB’ to the Group Tab Page ‘OPP_1’ for Opportunity.

• Assign event ‘Z_OPPORT_URL’ to the Group Page Tab Structure for Opportunity.

• Go to the application set in the blueprint customizing and add the entry for the class ‘ZCL_OPPORT_URL’ against the structure ‘ZCRMT_BSP_OPPORT_URL’ for the application CRMD_BUS2000111.

• The event in the blueprint customizing table for the new tab is 'ZOPP_HD_MB'.

The method READ of ZCL_OPPORT_URL class has to be implemented with the following code:

METHOD if_crm_bsp_model_access_il~read.

DATA :

lv_account TYPE bu_partner,

lv_submi TYPE crmt_object_id,

lv_guid TYPE crmt_object_guid,

lt_screen_structure TYPE TABLE OF zcrmt_bsp_opport_url,

wa_portal TYPE char32.

wa_portal = 'www.yahoo.com'.

*

  • Create URL WinGUI Call via Portal Application integrator

*

CONCATENATE 'http://' wa_portal

INTO ls_screen_structure-url.

CASE iv_screen_structure_name.

  • Call Yahoo

WHEN 'zcrmt_bsp_opport_url'.

READ TABLE it_object_key INDEX 1 INTO lv_account.

ENDCASE.

INSERT ls_screen_structure INTO TABLE lt_screen_structure.

et_screen_structure = lt_screen_structure.

ENDMETHOD.

I believe this will help.

Best Regards,

Kunal

gregorw
Active Contributor
0 Kudos

Hello Kunal,

would have been nice if you point to the Weblog where you've grab this: <a href="/people/gregor.wolf3/blog/2005/05/27/use-crm-pcui-html-viewer-to-call-a-custom-url">Use CRM PCUI HTML viewer to call a custom URL</a>.

Regards

Gregor