Skip to Content
Former Member
Jul 05, 2011 at 08:20 AM

IFrames remain active. How do I close these ?



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 ?