Application Development and Automation 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: 
Read only

Problem in REFRESH_TABLE_DISPLAY

Former Member
0 Likes
694

Dear All,

I am new to ALV GRID. While using REFRESH_TABLE_DISPLAY I am getting errors OK(539). Basically I want to delete the CHEQUE entries based on the criteria on selection-screen. There is F4 help for cheques . once I press enter, the details of the cheque will be shown on container on selection screen itself . The delete pushbutton is also there on selection-screen. The problem is that second time I am pressing F4 help and selecting different cheque , the details of first cheque is shown on the selection-screen not the selected one. I tried to use REFRESH_TABLE_DISPLAY but it is giving an abend(A) type message.

1 REPLY 1
Read only

Former Member
0 Likes
486

I managed the resolve the issue. I find out that cl_gui_alv_grid->mt_outtab was empty .when I was calling REFRESH_GRID_DISPLAY. I found out the place where mt_outtab was getting initial. Actually initially for both set_table_for_first_display and refresh_grid_display this code was common.

create object g_custom_container

exporting container_name = g_container.

create object g_grid

exporting i_parent = g_custom_container.

Due to this mt_outtab was getting refreshed.

So I gave the condition that if the grid has been displayed once no need to create grid container again and it worked.

Thank you for your support.

Regards,

Debopriyo