cancel
Showing results for 
Search instead for 
Did you mean: 

URL change while transpoting the BSP Application

06-15-2010 6:55 AM
441 views 3 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi Experts,

I have a BSP application where i have a link to the screen in another BSP application.

I have hardcoded the URL link.

When I tranported it to the test system, my server number changes. as i have hardcoded the URL, the link still specifies the screen in the development system.

Has anyone faced this type of issue. How to handle this.

Your inputs will be helpful.

Regards,

Gopal

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

athavanraja
Active Contributor
0 Likes

search this forum for key word "construct bsp url"

Answers (2)

Answers (2)

Former Member
0 Likes

Hi,

it doesn´t surprise me that the URL in test has changed and it will change when you move the code into the production, so why do you have to write a fixed URL in your application ?? this should be dynamic:

data: abs_url   type string,
         local_url type string.

call method runtime->construct_bsp_url
     exporting 
       in_protocol    = 'https'          " give it a try
       in_application = 'it00'           " your target application
       in_page        = 'test.htm'      " the page to be called
     importing
       out_local_url  = local_url
       out_abs_url    = abs_url.


Local URL: /sap/bc/bsp/sap/it00/test.htm
Absolute URL: https://sap19230.os.fth.sbs.de/sap/bc/bsp/sap/it00/test.htm

Former Member
0 Likes

Hi Raj,

Thanks, The issue is solved.

Regards,

Gopal