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

BSP App URL

I have one bsp application. the app consists of one initial page(entry point) and any other pages.

I wanna know the initial page's url as like 'http://xxx.xxx.xxxx:50000/sap/bc/bsp/sap/zhr_hap_018/index.htm' to call it from abap report program.

I can't code the fixed url on the report.

as you know the url(domain and port etc) is diffrent where the bsp app runs on(DEV, QAS and PRD).

how can i get the information(domain and port etc)?

i think there are function modules or util classes...

plz. help..

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Oct 23, 2005 at 09:58 AM

    use the following method to build the url

    DATA: url1 TYPE string .

    page TYPE string .

    DATA: params TYPE tihttpnvp.

    page = '<targetpage>.htm' .

    cl_http_ext_webapp=>create_url_for_bsp_application

    EXPORTING

    bsp_application = '<BSP application name>'

    bsp_start_page = page

    bsp_start_parameters = params

    IMPORTING

    local_url = url1.

    params can be filled with any parameter you want to pass to that page.

    Hope this helps.

    Regards

    Raja

    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.