Hi,
Remove below code.
INITIALIZATION.
S_MATNR-LOW = ' ' .
S_MATNR-HIGH = ' '.
APPEND S_MATNR.
Keep S_MATNR in Import parameter and Keep Tables & Export parameter Blank to display the output.
at the most u can use exception like Data not found.
Regards,