Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Calling URL from Button in BPS planning layout ?

Hi !!

I have a requirement to call a URL pointing to another customer developed BSP application from BPS planning layout on press of a button.

I tried to implement this by calling the FM "CALL_BROWSER" within a Planning Function exit however it doesnt work as the FM 'CALL_BROWSER' has exception of being run in Background .

I also tried another approach of implementing the URL call in Javascript but the problem here is that the Button option in planning layout doesnt allow you to specify the "onClientclick" event .

I need to implement this specifically as a button , the option of URL is not acceptable for the requirement .

Please let me know the solution / sugessions from your side.

Thanks

replied

Hi,

Here's what you can do:

1) Create a new subcomponent type TEXT

2) Set the HTML indicator for the Text object to True

3) Edit the text and insert the following (replace www.google.com with your own link :o)

<b><a class="urBtnStd urV" href="http://www.google.com">Google</a></b>

4) Run your webinterface

Hope this helps,

-Jacob Lund

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question