How to show an editable itab in a popup?

1.8k views Asked by At

I have an editable ALV buttons (via status gui), SAVE, REFRESH, and HISTORICAL.

enter image description here

I don't have any problem with save and refresh, but in historical i would like to show via popup an itab, but this itab needs to be editable or at least have any button to update changes.

It's important not to use a custom dynpro in this case. So, is there any FM to fill that requirements?

Thanks!

Edit:

Ok, it seems i will have to use a table control via dynpro. I leave the issue unresolved to post my solution when I have it done

1

There are 1 answers

0
cape_bsas On

Have you tried the good old FM REUSE_ALV_GRID_DISPLAY and pass some values to these parameters?

i_screen_start_column         = 5  " X0
i_screen_start_line           = 5  " Y0
i_screen_end_column           = 60 " X1
i_screen_end_line             = 20 " Y1

(values are for example)

And in the fieldcat you should set up these flags to make the column editable.

ls_fieldcat-checkbox  = abap_true.
ls_fieldcat-edit      = abap_true.