Skip to Content
0
Former Member
Sep 27, 2005 at 03:09 PM

GUI crashes when using many instances of cl_gui_picture

222 Views

Hello,

I wrote some little application in ABAP which uses 150 instances of the cl_gui_picture-class. These instances are shown in a splitter control (15x10 grid fields).

The pictures are refreshed after the user clicks them.

After clicking about 80 pictures the SAP-GUI crashes.

Some of the pictures turn black and the SAP-Menu and toolbars are not shown correctly any more. After some time (about 1 or 2 minutes) the GUI closes itself without any error-message.

I already tried to solve the problem by refreshing the screen (PAI) every time a picture is changed, but it did not work.

I thought it was a memory problem, but the memory usage on the GUI-machine is constant. At new initialisation of the splitter-grid the old pictures are destructed using the "free" method. They are also freed when leaving the transaction.

What can I do? Any ideas or suggestions?