on 02-22-2006 7:29 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.