how to use relative URL for BEx report
I am developing a application which embeding Bex reports. I use a iFrame which need a absolute url for Bex report. This way has a problem that everytime I deploy to a different Portal, I have to change the URL. So, is there anyway I can use a relative url for BW report?