Skip to Content
author's profile photo Former Member
Former Member

Open external URL in event Button.

Hi experts,

I have created a Button in Web Client that call an RFC. Later depending on response, It should open an external URL (e.g http://www.google.es).

I don't know how I can open a new link with abap code in the event.

Anyone knows it?

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Feb 06, 2012 at 08:16 PM

    Dear Alex,

    Please refer to the last post in this [thread|how-to-open-url-using-a-some-button-in-crm-webui] for the solution.

    Thanks

    Vishal

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 07, 2012 at 09:59 PM

    Hi,

    In the code where you defined the button use JS

    ls_button-on_client_click = 'javascript:window.open ("http://www.google.es","Google","width=750,height=600,resizable=yes");Google.focus()'. 

    Rgds,

    Shobhit

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 08, 2012 at 06:45 AM

    Hi Alex,

    You can use an iframe in a BSP page to load the external URL.

    Regards,

    Leon

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.