0

I am using function "REUSE_ALV_GRID_DISPLAY" in order to display a grid. My problem is that not all the buttons in ALV toolbar are displayed. For example, I can not see the "delete row" button.

This is my call:

  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'    
  EXPORTING
     IT_FIELDCAT   = fieldcatalog
  TABLES
      t_outtab     = lt_files_records_final    
  EXCEPTIONS
     PROGRAM_ERROR = 1
     OTHERS        = 2.

Can you please help?

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
mary_kos
  • 1
  • 1
  • 3

1 Answers1

0

IF you need the full editor functionality (including cell editors), you will have to move away from the (obsolete and unsupported) function module to the class CL_GUI_ALV_GRID. See the documentation here.

If you only need a delete button, it might be easier to add a custom button. Check the program SALV_DEMO_TABLE_FUNCTIONS for an example (and start using the ALV OM instead of the old function modules - much easier to code with).

vwegert
  • 18,371
  • 3
  • 37
  • 55
  • Thank you! I will try to create a custom button. – mary_kos Jan 13 '15 at 12:15
  • The example uses a screen. I don't have to use a screen. I was told to use a report in order to display some records and according to user's selections. The user must also be able to delete these records, so I am trying to find a way to do this. Is this feasible without using a screen? – mary_kos Jan 13 '15 at 12:29
  • [Yes.](https://help.sap.com/saphelp_erp2004/helpdata/en/41/b22041d69ba52fe10000000a155106/content.htm) – vwegert Jan 13 '15 at 13:27