Skip to Content
0
Former Member
Feb 27, 2007 at 03:47 AM

Push button "Select Block" on the list screen?Interactive report

534 Views

Hi, i am developing a plain report(Use read data & write output, not ALV).

And there was a checkbox(itab-chx) before each line of the output list.

The customer wants me to add 4 buttons on the menu bar, they are 'Delete', 'Select ALL', 'Deselect all', <b>'Select block'</b>.

As far as i know that 'Delete' button is for the user to delete the entries which they have checked using the checkbox.

As for 'Select ALL' is that when they push this button, all the checkbox on the output list are checked.

As for 'Deselect all' is that ...all are unchecked.

<b>BUT</b> i dont have any idea on 'Select Block' function?? What it is and how to program and handling with this button???

Below is my code for those button, just dont know what 'Select block' means 😔

at user-command.
  case sy-ucomm.
    when 'DLT'. 'Delete
         'Do delete things...

    when 'SLL'. 'Select all      
      loop at itab.
        itab-chx = 'X'.
        modify itab index sy-tabix.
      endloop.

      sy-lsind = 0.
      perform output.


    when 'DSL'. 'Deselect all
      loop at itab.
        itab-chx = ' '.
        modify itab index sy-tabix.
      endloop.

      sy-lsind = 0.
      perform output.


    when 'SBL'.  'Select block
        
      '???? No idea at all!!!


  endcase.

Great thanks!!! Any helps?

Hoo lala 😔

Message was edited by:

Hoo lala

Message was edited by:

Hoo lala