Determining empty selection in IW28: I'm implementing an InputScript that automates IW28. Is there any way to find out if the resulting list is empty? In this case the user gets a message and stays on the selection screen. How can I check whether the /8 action to generate the list has returned a message instead of showing the list?
In your InputScript, use a further Screen command for the selection screen 1000. You may check the message id and number to see if other messages might have occured on this screen:

// Selection screen IW28
Screen RIQMEL20.1000
...
  Enter "/8"

// Still on screen 1000?
Screen RIQMEL20.1000
  if V[_msgid=IH] and V[_msgno=047]
   ...
   Enter ...
   Leave
  endif

  // handle other messages if necessary
...

// List screen
Screen SAPLSLVC_FULLSCREEN.0500
...