I have problem with session.
I have a component, worklist Approval.
Where i do approve the request.
Now I had number of components where the approval views are depending on the request.
I constructed a url and open the external window. so it creates a new session.
BUT when i close the main window, the child window(Approval views of different components do not get closed.
I resolved this problem by using IFRAME.
I created one view and changed ROOTUIELEMENTCONTAINER to IFRAME.
and now bind the source to the URL which i am creating and open this view as pop-up.
NOT THE problem is, when i clicked on link to call a application which contains APPROVE button. It works fine.
and when i close the new window(IFRAME Pop-up ) the session did not get close. (As per SM04 transcation).
and when again click on the link, it gives me dump.
The following error text was processed in the system L2D : The ASSERT condition was violated.
The error occurred on the application server ingnrlms003_L2D_20 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: ADD_EVENT_TO_QUEUE of program CL_FPM========================CP
Method: IF_FPM~RAISE_EVENT of program CL_FPM========================CP
Method: IF_FPM~RAISE_EVENT_BY_ID of program CL_FPM========================CP
Method: DISPATCHER of program CL_BILL_PRS_ASST_COPY==CP
Method: APPLY_GRP of program /1BCWDY/6S7IQ8Q22LDH4AQFNHRA==CP
Method: IF_COMPONENTCONTROLLER~APPLY_GRP of program /1BCWDY/6S7IQ8Q22LDH4AQFNHRA==CP
Method: WDDOMODIFYVIEW of program /1BCWDY/6S7IQ8Q22LDH4AQFNHRA==CP
Method: IF_WDR_VIEW_DELEGATE~WD_DO_MODIFY_VIEW of program /1BCWDY/6S7IQ8Q22LDH4AQFNHRA==CP
Method: DO_MODIFY_VIEW of program CL_WDR_DELEGATING_VIEW========CP