简体   繁体   中英

Change it_outtab after the first display (ALV grid)

Is it possible to change the it_outtab , ie the data of my alv without destroying it?

I know that to change the field catalog it is possible with this method:

CALL METHOD gr_alvpl->set_frontend_fieldcatalog
  EXPORTING
    it_fieldcatalog = gt_fldct.


CALL METHOD gr_alvpl->refresh_table_display( ).

But if I have to change the it_outtab parameters, is it possible?

Yes. Use the method REFRESH_TABLE_DISPLAY , as outlined in the documentation .

The ALV Grid keeps a reference to the table you passed to it during initialization. You update the contents of that original table and then tell the Grid to update itself.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM