SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime-error while using EA05

Former Member
0 Kudos

Hi All,

For a specific user in the prod system there occurs run time error while using EA05.

The user opens the invoice document in EA05 and then simulates the invoice document.

When the user presses "back" button, the run time error occurs.

The error encountered is described below:

RAISE_EXCEPTION

The termination occurred in the ABAP program "CL_GUI_CONTROL================CP"

in "FREE".

The main program was "REAEXCEP ".

source code extract:

000010

000020   METHOD FREE.

000030   * ...

000040     CALL METHOD ME->FINALIZE.

000050

000060   * TODO: Must call control_detroy (method of H_GUI)

000070     IF H_CONTROL IS INITIAL.

     >       RAISE CNTL_ERROR.

000090     ENDIF.

000100

000110   * Unsubscribe Anyway

000120     CLASS CL_GUI_CFW DEFINITION LOAD.

000130     CALL METHOD CL_GUI_CFW=>UNSUBSCRIBE

000140       EXPORTING

000150         REF = ME.

000160   * Call also in CL_GUI_OBJECT

000170     call method cl_gui_cfw=>unregister_cached_control

000180          exporting control = me.

000190

000200   * be careful with lifetime-Management

000210   *   OBJECT WAS CREATED AS CONTROL

000220   *   CALL METHOD OF H_GUI 'DestroyWindow' = THIS_DUMMY_VALUE

000230     IF not H_CONTROL-OBJ-HANDLE IS INITIAL.

000240       CALL METHOD OF H_GUI 'DestroyWindow'

000250         NO FLUSH

000260         EXPORTING #1 = H_CONTROL-SHELLID.

000270       CASE SY-SUBRC.

Thanks in advance.

1 REPLY 1

Former Member
0 Kudos

Hi ,

Please upgrade your SAPGUI to a higher release or patch level.

Regards,

Riyas.