Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Grid -- DUMP

Former Member
0 Kudos
573

Hi All,

I have unique problem.

There is tranaction which display's data in ALV Grid ,

Using some button a new sub screen is called which displays data in ALV grid.

User performs some action in second alv grid, some settings like colors / editable property of this grid are changed.

Now user closed this screen control goes back to grid 1.

User gets a dump now.

But If user performs same steps in another PC he does not get a dump.

Now my question " Is there any link between PC settings and ALV dump ". Both PC have same GUI version.

Thanks for your help in advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
151

Hi,

Check whether in the PAI of the screen you have cleared the container

WHEN 'BACK' OR 'EXIT' OR 'CANC'.

PERFORM exit_program.

ENDCASE.

&----


*& Form EXIT_PROGRAM

&----


  • text

----


FORM exit_program.

CALL METHOD o_grid_container->free.

CALL METHOD cl_gui_cfw=>flush.

IF sy-subrc NE 0.

  • Error in FLush

ENDIF.

LEAVE TO SCREEN 0.

ENDFORM. " EXIT_PROGRAM

Thanks & Regards,

Judith.

8 REPLIES 8

Former Member
0 Kudos
152

Hi,

Check whether in the PAI of the screen you have cleared the container

WHEN 'BACK' OR 'EXIT' OR 'CANC'.

PERFORM exit_program.

ENDCASE.

&----


*& Form EXIT_PROGRAM

&----


  • text

----


FORM exit_program.

CALL METHOD o_grid_container->free.

CALL METHOD cl_gui_cfw=>flush.

IF sy-subrc NE 0.

  • Error in FLush

ENDIF.

LEAVE TO SCREEN 0.

ENDFORM. " EXIT_PROGRAM

Thanks & Regards,

Judith.

0 Kudos
151

Hi Judith,

Why should it dump only in certain PC's and not in all.

Regards,

Srikanth.

Former Member
0 Kudos
151

Hi Srikanth,

I see that this is your first post at SDN. And I welcome you here. Hope you'll have some interesting times in this forum :-).

Now coming to your query, It would be great if you can specify what the short dump ID is. Also, if it is a standard transaction that you're talking about, could you lemme know what it is ?

Regards,

Anand Mandalika.

Former Member
0 Kudos
151

Hi Grandhe

The problem is only with your GUI. reinstall your Gui/ or If your using the same Os , copy the folder SAP in C:\Program Files from the system ( Which is not giving dump) to the system ( Which gives dump) . Hope this will work.

Thanks

Senthil

0 Kudos
151

Hi Senthil,

I have re installed my GUI.

This dump happens in couple of systems ,not just single system.

Regards,

Srikanth

Former Member
0 Kudos
151

hi Srikanth Grandhe ,

Only way is to copy the folder SAP in C:\Program Files from the system ( Which is not giving dump) to the system ( Which gives dump) . Hope this will work.

Thanks

Senthil

0 Kudos
151

Are you the Senthil that took Ken Greenwood's ABAP class with Mary and I

0 Kudos
151

Hi

I guess the problem is not related with the GUI. As mentioned before, it should be something about freeing the object. Pay attention to that part.

Regards

*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>