Hi,
Scenario
I have one basic BSP application (BSP APP A) that show a table with some registers. When the user clicks on an entry, a new window is open that points to a second BSP application (BSP APP B). Actually, if we open multiple windows clicking multiple times on the entry in BSP APP A, all these windows which refer to BSP APP B share one unique session. I need to change this behaviour because I need to open a new session for each window that is launched from BSP APP A, so that means that the server need to create a new session for each opened window, although all of them uses the same BSP application (BSP APP B). I have read that this can be achieved using URL parameter sap-syscmd=nocookie, so session is mangled in URL and not stored in a cookie; this way each window includes a different "mangled" URL, that means a different session because there is no cookie shared among them.
Apart from this, I have used the unload mechanism using a guard frameset as is implemented in ITSM standard BSP application. So each window closed must free a session. This is actually working without the use of sap-syscmd=nocookie, so if I open a window and close it the session is correctly freed (except in Firefox, which does not free session at window closing).
Problem
My problem arises when I try to use sap-syscmd=nocookie parameter to allow multiple windows, each one with its own session. I have tried to call the BSP APP B frameset with this paremeter but this generates various entries in SM04, not only one (as before using the parameter). I think maybe this happens because the parameter sap-syscmd=nocookie is propagated over all calls to server and each one generates a new session, don't know. I have also tried to use the paremeter sap-syscmd=nocookie in the BSP APP B frame that actually holds the application, not in the guard frameset, but with no luck.
For the sake of clarity, the behaviour I would like to achieve using BSPs is the same as in the standard WDA application grrm_powl_rnp (WDA component GRRM_POWL). When user clicks in a table entry, a new window is opened, that would correspond to my BSP APP B.
I know this is a complex matter, any help would be aprreciated
Thank you in advance.