If we write a hide statement below the 'write' statement ,and before the 'write ' statement what will happen instead of writing exactly in the 'write' statement.
HIDE is used when you are using interactive list. On the list, when you click on some value, you need to store the value in some field. You can use system commands to get the line and read it OR
you can use HIDE statement.
While looping the final table to be written on the list, before the write statement, when you give HIDE statement, then the value gets stored in that variable.
Now, the value you clicked on will be stored in itab-matnr.