Closing BSP application

Hi,
We are using one standard BSP application. we run the application from the portal .
If we logoff from the Portal by clicking on the "Log Off' button it is unlocking all the
underlying database.  But when we close the  application by clicking on Close button ('X') it is not releasing the locked database.
If I need same functionality for 'x' button as existing for "Log Off' button , How it can be done?where should I insert the code.? In all BSP pages of that application?
What standard Bsp application 'SYSTEM ' will do. Can I use it in anyway?
can I use method "CL_BSP_LOGIN_APPLICATION=>GET_SESSIONEXIT_URL()"  ?
anyone can help in this?

Hi Susmi,
What you can do is include the page <b>session_single_frame.htm</b> from the system application into your application...just copy it..
Then, in your application if there is a page named default.htm, then change the variable named target_page in this page from
   DATA: target_page               TYPE STRING VALUE 'session_test.htm'.
to
   DATA: target_page               TYPE STRING VALUE 'default.htm'.
Then always run this page as <b>default.htm</b>....
Now if the user will click on the Browser X button, it will release al;l the locks...
You might need to change a few things on this page though based on custom requirements....
Hope this helps.
<b><i>Do reward each useful answer..!</i></b>
Thanks,
Tatvagna.

Similar Messages

  • BSP application locked when Browser closed..

    Hi ,
    How can handle the logging off my BSP application when browser is closed..
    we had some thing setting of dirty flags in SRM ,which will take care of this..
    Any clue on custom BSP application..
    Can i override window.close() function to logoff
    Regards
    Prasad
    Message was edited by: Ranganatha Prasad Kurupati
    Message was edited by: Ranganatha Prasad Kurupati

    Create yourself a page with flow logic, this will be your initial entry to your application.
    Paste this code below, make sure to set the target_page.
    <%@page language="abap" %>
    <%
       DATA: target_page TYPE STRING VALUE 'zapp.do'.
       DATA: do_not_delete_sso2_cookie TYPE XFELD  VALUE SPACE.
       CL_BSP_LOGIN_APPLICATION=>SET_LOGOFF_URL_PARAM( page = page ).
    %>
    <html>
    <script language="JavaScript">
    <%
       DATA: guid TYPE GUID_32.
       CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = guid.
    %>
    var frame_A = "<%=guid %>_A";
    var frame_B = "<%=guid %>_B";
    function startLoader(name)
        doc=window.frames[name].document;
        doc.writeln('<html><body onload="document.f.submit();">');
        doc.writeln('<form id="f" name="f" target="<%=guid %>_B" method="POST" action="<%=target_page %>">');
        <%  DATA: ffs TYPE tihttpnvp, ff  TYPE  ihttpnvp.
            request->get_form_fields( changing fields = ffs ).
            DELETE ffs WHERE name cs '~'.
            LOOP AT ffs INTO ff.
         %>
              doc.writeln('<input type="hidden" name="<%=ff-name %>" value="<%=ff-value %>">');
        <%ENDLOOP. %>
        doc.writeln('<table border="0" width="100%" height="100%"><tr><td align="CENTER" valign="MIDDLE"><span style="font-family:Arial,sans-serif;">Loading...</span></td></tr></table>');
        doc.writeln('</form></body></html>');
        doc.close();
        <%=runtime->GET_DOMAIN_RELAX_SCRIPT( )  %>}
    function exitBSPApplication(newTargetUrl)
    {<% if runtime->session_manager->is_running is initial.  %>
      <%CLASS cl_bsp_login_application DEFINITION LOAD. %>
      var url  = "<%=CL_BSP_LOGIN_APPLICATION=>GET_SESSIONEXIT_URL( page = page ) %>";
      <%IF do_not_delete_sso2_cookie IS NOT INITIAL. %>
          url += "&bsp_do_not_delete_sso2_cookie=X";
      <%ENDIF. %>
      var prop = 'height=100,width=400,top='(screen.height-100)/2',left='+(screen.width-400)/2;
      var out = window.open(url,'_blank',prop);
    <%endif. %>
      document.getElementById("<%=guid %>_FRAMESET").onunload = null;
      if(newTargetUrl) window.setTimeout('{document.location.href="'newTargetUrl'";}', 750);
    function getHiddenFrame()
        if (document.body.rows=='*,0') return "<%=guid %>_B"; else return "<%=guid %>_A";
    function getShownFrame()
        if (document.body.rows=='*,0') return "<%=guid %>_A"; else return "<%=guid %>_B";
    function swapToFrame(frame)
        if (frame == '<%=guid %>_A') document.body.rows=',0'; else document.body.rows='0,';
    var sap_basis_A_active = false;
    var sap_basis_B_active = false;
    function frameLoaded(name)
        if (name=="<%=guid %>_A" && sap_basis_A_active==false) { sap_basis_A_active = true; return; }
        if (name=="<%=guid %>_B" && sap_basis_B_active==false) { sap_basis_B_active = true; return; }
        var newShowFrame   = getHiddenFrame();
        var newHiddenFrame = getShownFrame();
        try
          doc=window.frames[newShowFrame].document;
          for (var i = 0; i < doc.forms.length; i++) {
            var frm = doc.forms<i>;
            if (frm.target=="") frm.target = newHiddenFrame;
        } catch(e) {}
        swapToFrame(newShowFrame);
        //if (window.frames[newShowFrame].window.sapOnResize)
        //    window.frames[newShowFrame].window.sapOnResize();
        if (window.frames[newShowFrame].window.sapScrollTo)
            window.frames[newShowFrame].window.sapScrollTo();
    </script>
    <frameset id="<%=guid %>_FRAMESET" rows="*,0" onUnLoad="exitBSPApplication();" resize="no" framespacing="0" frameborder="0">
        <frame name="<%=guid %>_A" src="javascript:parent.startLoader('<%=guid %>_A');"  onload="frameLoaded('<%=guid %>_A');">
        <frame name="<%=guid %>_B" src="about:blank"                                    onload="frameLoaded('<%=guid %>_B');">
        <noframes>This browser does not support frames.</noframes>
    </frameset>
    </html>

  • Closing Server Session of a BSP application deployed on the Portal

    I have a BSP application deployed on the Portal v. NW07.  This BSP application is a tab sitting besides other applications such as My Staff of MSS.
    The BSP sets a lock like "CALL FUNCTION 'ENQUEUE' " and the backend system is SAP R/3 4.7. 
    QUESTION: How can I get the server session to terminate when the user navigates from the tab corresponding to my BSP application to the other tabs. 
    Currently, the session doesn't even close when I logoff completely from the Portal.  This BSP used to be deployed to users alone within the
    IE browser and I was able to handle session management using JavaScript code similar to what's in page 'session_single_frame.htm' of BSP 'SYSTEM'.   However, when deployed to the Portal, that piece
    of code doesn't seem to do anything.
    "Supports Portal Integration" is checked and the BSP application is stateful.
    Thanks in advance for your help.
    Achille

    for managing the backend session, all you have to do at the BSP app level is to set the supports portal integration flag, so that it generates the domain relaxation scripts.
    it (ending backendsession) is the job of portal's DSM terminator. More on this can be read from http://help.sap.com/saphelp_nw04/helpdata/en/ca/a9a7408f031414e10000000a1550b0/frameset.htm

  • How to use bsp application SYSTEM for session handling.

    Hi All,
    We are implementing OCI.We have a few BSP applications that are called by standard ITS application.I need to destroy session at server side when the browser is closed for that..
    I copied the pages session_default_frame.htm and session_single_frame.htm from bsp application SYSTEM into my application and made necessary changes.
    I need to pass one url 'HOOK_URL' (this is related to OCI) from starting page of application to final page.
    Now suppose earlier there were two pages in my application page1.htm and page2.htm , so i was able to pass the HOOK_URL from page1 to page2 but after adding the two pages from SYSTEM application , i can pass the HOOK_URL from session_single_frame.htm  to page1.htm
    Page session_single_frame.htm:
    Page attributes:
    hook_url     TYPE     STRING (AUTO)
    OnRequest:
    navigation->set_parameter( hook_url ).
    but cant pass it from page1 to page2...what additional code is required?
    page page1.htm:
    Page attributes:
    hook_url     TYPE     STRING (AUTO)
    onRequest:
    navigation->set_parameter( 'HOOK_URL' ).
    the above code was working fine until i added the two new pages to my application.
    Hope i was able to explain the issue properly.
    Thanks,
    Anubhav.

    Hi,
    Let me describe the steps i have taken oncw again:
    1)Copy page session_single_frame and session_default_frame from SYSTEM application and changed the name in
    DATA: target_page               TYPE STRING VALUE 'session_test.htm'.
    to
    DATA: target_page               TYPE STRING VALUE 'mypage1.htm'
    2)Addes a page attribute HOOK_URL of type string (AUTO) to session_single_frame.htm .
    3)Added the line
    <i n p u t  t y p e="hidden" na m e ="HOOK_URL"  v a l ue = "< % =  hook_url %>">
    to page1.htm so that hook_url is passd to page2.htm (page2.htm has a page attribute HOOK_URL of type string and auto).
    The hook_url in page2.htm looks like:
    "http://sapupd.mycompanyname.com:8002/sap(cz1TSUQlM2FBTk9OJTNhc2FwdXBkX1NSTV8wMiUzYXJUaHBOdE1VZDdhWkVTa3hYZGtPTXRxY1NBTWo3VlAwN3NWQ2c2REYtQVRU)/bc/gui/sap/its/bbpsc02/?~OkCode=ADDI&~Target=_top&~Caller=CTLG&~sap-syscmd=NOCOOKIE&~client=200&~language=EN&~HTTP_CONTENT_CHARSET=utf-8";
    The problem is that after the page is submited , a blank page comes up .
    On closing this blank page the "Endig user session" window comes.
    Please help
    Thanks,
    Anubhav.
    Edited by: Anubhav Jain on Oct 21, 2008 6:49 AM

  • Download the PDF Form as a attachment when button click in BSP application

    Hi All,
    I have scenario, when button click in the BSP application PDF Form want to download in the IE (like one window open with Open,Save and cancel button).
    I have written this code:
    data: pdf type fpformoutput-pdf.
    < Logic for populate value to pdf field ....
    .>
    response->set_header_field(
                         name  = 'cache-control'
                         value = 'max-age=0' ).
      response->set_header_field(
                         name  = 'content-disposition'
                         value = 'attachment; filename=webforms.pdf' ).
      response->set_data( data   = pdf ).
    Once button is clicked pop up is opened and closed automatically because of browser or adobe reader issue.
    How can I resolve this problem ?
    In the IE i need to change any settings ?
    IE version = 7.0
    Adobe reader = 9.0
    I have tried in the same code with IE = 6.0 and adobe reader 8.1.2 its getting download the pdf form working fine.
    The same think i want in IE 7.0 and adobe reader 9.0, what needs to be done ?
    Regards,
    Boopathi M

    Hello Ravi,
    Best would be to bind the dataSource of the InteractiveForm ui element to the parent node containing the table's data. Then specify a name of a template to be created in the templateSource and hit <enter>. Some popups later, the system will have created a template from the structure of the context. All you need to do now is to drag&drop the data structure inside the template designer to the template itself. This will result in a table. Save, activate and return the Web Dynpro view. Don't forget to unbind the pdfSource and enjoy.
    Best regards,
    Thomas

  • Issue with : Stateful BSP Applications: New State Management Option

    Reference:weblog by Thomas Jung -  /people/thomas.jung3/blog/2004/11/09/updated-stateful-bsp-applications-new-state-management-option
    I see a comment by one user to send the complete code... I am not sure what else can be sent   - try it out rather than getting spoon-fed. - getting offline - sorry...
    I had two issues with this ITSM way of session handling.
    First - if you are using an SP42 environment, check CL_BSP_RUNTIME=>ON_SESSION_CMD() to see if CANCEL is defined as an option. If not make sure that you use &sap-sessioncmd=CLOSE" instead of the &sap-sessioncmd=CANCEL" . If CANCEL is not defined , it will give you shortdumps...
    Second - when I closed the window, the session was not terminated. I used onbeforeUnLoad="exitBSPApplication(); instead of onUnLoad="exitBSPApplication(); and it worked fine. Not sure if it has any other issues.
    But now I am facing a new issue... all but one application is not ending... I have no clue on why this is happening.. I am still checking..
    Thanks Thomas, you are the best, as always...

    Thanks for checking the code in your system.
    After some investigation, I found the behavior as explained below.
    If the actual url has any fields passed as parameters, e.g.. /default.htm?var1=a&var2=2 ...
    - if I use CANCEL as the option, a shortdump is created and the session is not closed. if I use CLOSE, Session is terminated and no shortdump happens.
    If the actual url does not have any parameters, e.g.. /default.htm ...
    - CANCEL does the work, but CLOSE does not exit the session.
    In my applications I used request->get_form_fields to see if there are any parameters, and if there are, then I use CLOSE as the option and else, I use CANCEL. So now, the session
    management works beautifully...
    There is a good chance that I am doing something wrong here too.

  • Session Management in BSP applications

    Hello,
    I habe been developing the following application to send E-Mails from Outlook to SAP WEB AS Abap Stack:
    - I have created a COM-Addin in MS Outlook
    - When the user clicks on a button, that I have created, the currently marked E-Mail-Message is read
    - The E-Mail-Information is analysed
    - MS Internet Explorer is dynamically opened by my Outlook application
    - A html form is dynamically created
    - html form is posted dynamically to a BSP-application
    -> Basically what I have is a HTML form, that is posted to a BSP application
    I am facing the problem that Web AS is mixing up different sessions:
    - I have no user specified for my BSP application, that means whenever a client visits my page a login popup should appear
    - I have defined the first page of my web application as stateless
    So what I expected was, that whenever my html form is posted to the Web AS, I get a logon popup, and everytime my web page is called a new session is started
    Actually MS Internet Explorer and my BSP Web Application are acting differently:
    When I post the html form for the first time, the logon popup appears and everything works fine
    When I post the html form for the second time WITHOUT CLOSING THE FORMER INTERNET EXPLORER INSTANCE, the LOGON POPUP DOES NOT APPEAR, and the BSP application is using old, wrong data from the former html form
    When I CLOSE ALL INTERNET EXPLORER INSTANCES, THE LOGON POPUP APPEARS, and I get the correct information for my BSP application
    ->
    Whenever I have already sent a html form to the application and do not close all internet explorer instances, my BSP application mixes up old data
    Whenever I have already sent a html form to the application and CLOSE all internet explorer instances, my BSP application is working fine.
    I have the following settings for my BSP application in transaction SICF:
    - Logon Procedure: Stanadard
    - Anonymous Logon Data:
         Client: 301
         User: [blank]
         Password: [blank]
    Does anybody have an idea how to get my application to work correctly?
    - I cannot change internet explorer settings as I have many clients and no authorization for that
    - I can change (maybe meta data?) the html form
    - Are there any settings of the BSP application that I can change, so that my application works fine
    Thanks for your help in advance!
    Andreas

    Hello Sebastian,
    Thanks for your answer!!!
    Unfortunately I cannot close the brower window via javascript, as my BSP application is not simply one page reveiving the form and sending one response page, but the BSP application consists of more pages (providing search functionalities,...).
    I have tried the following:
    - I have opened a new Internet Explorer application "IE-application1"
    - I have started my MS Outlook application which (dynamically) opened a new Internet Explorer "window2".
    - The Mail was saved to SAP
    - I closed the "window2"
    - I sent another mail to SAP via "window3"
    -> SAP was still remembering the session of "window2" and mixed up the session (session info obviously was hold in "IE-application1")
    I did not fully understand your answer refering to BSP Application "system" and its page "session_single_frame.htm" together with the source code of "session_single_frame.htm".
    What I need is, to tell my startpage "index.htm" the following: Forget every cookie and session and whatever else you have had until now, take the input values of the html form and process them. Is this possible with "session_single_frame.htm"?
    Andreas

  • SESSION_MANAGER access from BSP application

    Hello there!!
    We've developed a Customer Interaction Center Z BSP application, which is used as a customer location cockpit: It's been developed over a CRM system and it performs calls to several backend transactions via ITS (which are always opened in a new Internet Explorer window, meanwhile "central BSP window" (the cockpit one) keeps always opened)...
    But we just can't reach backends SESSION_MANAGER transaction (SAP initial screen) because, when we type '/N' in backend's transaction bar, system closes Internet Explorer backend window!!
    We've tried it following several ways but, unfortunately, we always reached the same outcome: BACKEND INTERNET EXPLORER WINDOWS IS CLOSED BY THE SYSTEM (only the BSP cockpit, the non-backend window, keeps opened)...
    -No way by typing '/N' in navigation bar
    -No way by calling a Z transaction which executes a report which calls SESSION_MANAGER transaction
    -No way by using S000 transaction
    -No way by using SAPMSYST report (dynpro 0040)
    Any help would be (kindly) appreciated.
    Thanks in advance, greetings from Madrid.

    i guess this is more related to ITS.
    which ITS are you using?
    integrated or standalone.
    i checked in both (using standard webgui service) i dont see any problem using /n or /<transaction>
    Regards
    Raja

  • Loggin intp BSP applications using SAP Dialog user

    Hi,
    I used SAP - service type user to log into my BSP applications in the following way:
    ========================================
    data: usr type bapialias,
    pwd type bapipwd.
    data: return type table of bapiret2,
    wa_return type bapiret2,
    bname type USUSERNAME.
    usr = request->get_form_field( 'username' ).
    pwd = request->get_form_field( 'password' ).
    CALL FUNCTION 'SUSR_INTERNET_USERSWITCH'
    EXPORTING
    ALIAS = usr
    PASSWORD = pwd
    IMPORTING
    BNAME_AFTER_SWITCH = bname
    TABLES
    RETURN = return.
    loop at return into wa_return.
    err_msg = wa_return-message.
    endloop.
    if bname is not initial.
    navigation->goto_page( 'main.htm' ).
    endif.
    ===========================================
    From the above, i am able to log in successfully. INow i need to log in as SAP Dialog user. Is there any way where i can log into BSP where the sap users are dialog types..
    Thx,
    Rajesh

    Hey Raja,
    Thanks for ur timely suggestions.
    Now its working fine.
    I am closing this issue.

  • Error in using PERFORM in eventhandler in a BSP Application.

    Hi All,
    Can we use Subroutines in BSP applications?
    If yes then please help me with syntax .
    Best Regards,
    Anubhav.
    Edited by: Anubhav Jain on Dec 20, 2007 10:52 PM

    You can call subroutine with below Synatx:
    DATA: progname(20) TYPE C VALUE 'YTESTINCLUDE' .
    PERFORM your_perform_name IN PROGRAM (progname) IF FOUND.
    "where your_perform_name is the form within the include program YTESTINCLUDE[/code]
    Raja T
    Edited by: Raja Thangamani on Dec 20, 2007 4:58 PM

  • Error message in bsp application

    hi
    Im tamil selvan .....this is my first bsp application i created .. but i cant view the output..the default html code itself not executing... i copied the same code in text and saved in html its executing there... i dont know what is the issue..is any system files are missing...plz guide me im new to bsp....first what should i learn ...  the below is the error i pasted...
    Business Server Page (BSP) error
    What happened?
    Calling the BSP page was terminated due to an error.
    SAP Note
    The following error text was processed in the system:
    Die URL enthält keine vollständige Domainangabe (isys-ecc statt isys-ecc.).
    Exception Class CX_FQDN
    Error Name 
    Program CX_FQDN=======================CP
    Include CX_FQDN=======================CM002
    ABAP Class CX_FQDN
    Method CHECK
    Line 10 
    Long text -
    Error type: Exception
    Your SAP Business Server Pages Team

    Hi Tamil,
    welcome to the SAP Community Network. You will find lots of great resources, tips, and examples here.
    Of course to find them you have to look for them. You will find most people more than happy to help you with problems if you first try and help yourself by searching for the solution yourself.
    So please, search the forums for the solution to your problem before you post.
    Cheers
    Graham Robbo

  • SSO via Windows authentication for a BSP application

    Hi,
    is it possible to configure/implement a bsp-application, so that the user of the application is authenticated in the SAP system through the windows user (without entering the user or password). I search for a mechanism, that is like the SSO mechanism in the SAP EP. We don't have SAP EP, neither we have a java stack installation.
    Exists a way to implement this scenario?
    My idea was it, to use the same functionality, like in the SAP GUI, when configuring SSO. Unfortunately I don't find any hints about this topic.
    Regards,
    Thomas

    One best way is to embed the BSP page in the iview of the EP. As your are telling EP is not available i think there is no other way around.

  • Javascript error calling a bi 7.0 webapplication from a bsp application

    Hi everyone,
    This is the scenario we're facing a javascript error :
    Enterprise Portal is calling a custom bsp application ( via an iview in the enterprise portal ) in the bi system with a parameter "template_id" and a value, which is the technical name of a bi web application.
    The bsp application is evaluating the parameter by some custom code and creating a html page with a redirect or a maintenance message to the bi web application passed with the parameter "template_id".
    The html link to the bi web application is created according to this documentation :
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/03d4ac801467e6e10000000a1553f6/content.htm
    Purpose of the bsp application :
    in the bi system there is a database table to maintain a flag for each webtemplate and infocube, which should not be called via the enterprise portal for a certain time ( some kind of maintenance switch ). The bsp application then decides to show a maintenance page for the called webtemplate or to send the redirect page to the client.
    The process described above is :
    working with the bi 7.01 sp7 in the bi ( enterprise portal sp22 ) in the productive system.
    working in the Q&A system bi 7.01 sp8 with bi 3.5 web applications.
    not working in the Q&A system bi 7.01 sp8 with bi 7.0 web applications.
    The javascript error calling bi 7.0 web applications is :
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET4.0C; .NET4.0E)
    Timestamp: Mon, 6 Jun 2011 09:11:04 UTC
    Message: Object doesn't support this property or method
    Line: 96
    Char: 11
    Code: 0
    URI: https://mlptb1.mlp-ag.com:58001/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=B_221_002_KUNDEN_POSTEN_AD
    We've opened a message. Support center is saying that this method isn't supported by sap. We should ommit the bsp application and the used functionality.
    Is there any way to find out, what is causing this object is missing ?
    Is there another way than a bsp application to use this custom maintenance function in the described system setup ?
    system components :
    production system
    SAP NetWeaver 7.0 Portal SP22
    SAP BI 7.01 SP 7
    q&a system
    SAP NetWeaver 7.0 Portal SP22
    SAP BI 7.01 SP 8
    Kind regards.
    Dirk

    Hello everyone,
    we did some further analysis on this problem und we think we found the problem.
    The error occurs while trying to execute the standard url for web templates inside a Enterprise Portal Frame, for example
    https://XXX:XXX/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=XXX
    While executing the URL a HTML-Page with some embeded Javascript-code is sent back to the browser.
    In this Javascrip-Code, the method-call "dsmObj.registerAll" leads to a script error in Internet Explorer.
    dsmObj.registerAll("pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex", "GUSID:6FC9SuhGDPIMMLwOdeHEIg--_7WQud13yeLJDz2kYoQFSg--", "1307605928212");
    In SP7, the method "dsmObj.registerFullKey" is called instead of "dsmObj.registerAll". This has changed in SP8.
    dsmObj.registerFullKey("GUSID:iBPvyska9*xE_JBalkQG2g--YyKv2C3NToP0I79Mw7EO8w--", "1307606479963");
    The object "dsmObj" seems to reference the parent frame of the Enterprise Portal.
    Has anyone seen this before? Any ideas how we can fix this?
    Kind regards,
    Matthias
    Edited by: Matthias Keller on Jun 9, 2011 2:07 PM

  • Custom F4 help in a BSP application working in Mozilla but not in IE

    Hi,
    I have created a custom F4 help in a BSP application.
    It is working in Mozilla but not in IE. I tried enabling javascript as well but still it is not working.
    Can someone please suggest a possible solution for this?

    Hi,
    See simmilar discussion in thread /thread/1883519 [original link is broken]
    I think this may be helpful for you.
    Thanks,
    Chandra

  • How to set up use of relative URLs for a BSP application

    Dear all,
    I need to access a BSP application through our external portal.
    This is failing because generated URLs are absolute URLs (they mention physical server name, not known of course on the internet) where they should be relative URLs (they use external portal URL as prefix).
    How to set this up?
    I'm logged on http://myportal.com/irj/portal and want to call a BSP application. To build this page, my internet client (Internet Explorer) tries to get elements from the server. Looking at HTTP trace, I can see that my IE is trying to reach the physical server, not known on internet of course, then page loading fails.
    Ex absolute URL : http://myservername.domain.com/sap/bw/[...]/image1.gif
    This is the behavior I can see at the moment.
    Relative URL : http://myportal.com/sap/bw/[...]/image1.gif
    This is what I'd like to see.
    Many thanks in advance for your help.
    François

    Any idea ?

Maybe you are looking for