Skip to Content
0
Former Member
Nov 20, 2012 at 06:54 AM

ALV Grid: Refresh display when insert new row

1424 Views

Hi Experts,

I'm using CL_GUI_ALV_GRID. My requirement is: when I click on Standard Insert button, a new row will be added to the grid, I key in, let say PERNR number to the field and press Enter. Upon Enter, I will get the PERNR to retrieve other information and populate that row. I have no problem with capturing the Enter event and get the PERNR. My problem is I dont know how to reflect the result in the newly added row since the added row is not in my internal table yet. If I create a new structure and append it to my internal table, after calling method REFRESH_TABLE_DISPLAY, a new row will be showed, not the one I am editing.

Any idea on how can I update the content of the added row from Insert button?

Thanks for your help! Cheers!