Skip to Content

Opening a uRL

Hi,

I have a BSP application which has some page attributes. Now when my BSP application gets loaded i want to call another URL in the same window. The URL will have some dynamic parameters built from these page attributes.

Please do let me how i can build the URL dynamically and also open that URL in the same window.

I am new to this technology so please guide me with this.

Regards

Sidharth

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2004 at 06:38 PM

    You can build the URL using

    data lv_url type string.

    call method runtime->get_url_same_session

    exporting

    application_url = '/sap/bc/bsp/sap/ / main.do'

    receiving

    url = lv_url.

    Concatenate the parameters to the url using the format

    any_url?attribute1=value1&attribute2=value2

    Navigate from the Server side using

    navigation->goto_page( url = lv_url ).

    Retrieve the parameters from the request object in the target page.

    Hope this helps

    -Suresh

    Message was edited by: Suresh Babu

    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.