cancel
Showing results for 
Search instead for 
Did you mean: 

IFrames remain active. How do I close these ?

Former Member
0 Kudos

Hi,

I am using an IFrame (in its own view) to call a standard sap transaction (url). This Iframe is in a VDU so that i have the navigation appearing on the left hand side. I am using this as opposed to 'call window' as it looks neater rather than having the standard sap transaction (url) appearing in a new window.

All works fine but i have one major issue. When the user navigates away from the Iframe the session does not close. In sm04, the sessions are still active. So for example, change a particular sales order will remain locked.

I guess the solution would be to Close or destroy the Iframes when they navigate from them.

If this is the solution, how can i achieve this ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Ok..i managed to pick the brains of a fellow consultant so he was able to give me the solution.

Firstly , I created an IView Transaction ( Setting SAP Gui Windows and not SAP Gui HTML )

I then set the URL to this new URL link and embedded that in my IFrame.

Now when the user navigates away from the IFrame, the session disappears and is no longer in SM04.