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


Hi sdn,

I used alert function in javascript to show me what the current URL is. For some reason I am only getting the latter part of the URL part starting with /sap/bw and the beginning portion of the URL is missing. I do not get 'http://...' etc. in the return value.

My javascript is a simple alert(SAP_BW_URLGet()).

What might be wrong?

Thanks in advance.


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jan 09, 2007 at 05:37 AM


    teh URL_Get fn is used to get the query string alone which is the part of the URL after the ?.....

    If you want the full URL use location.href instead...

    This is because the query string is the most important part of the URL...

    alert(location.href) would do the job for you..


    Assign points if useful

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 08, 2007 at 10:35 PM


    Guess there is nothing wrong because of this is enough to start a link etc out of a running application.



    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.