Hi Giri,
Program is giving a run time error because you are trying to pass all fields selected in your select query to a work area fully.
SELECT MATERIAL_NMBER
MATERIAL_DESCRIP
MAINTAIN_STATUS
CREATEDBY
CREATEDON
from ZMAT_TEST into TABLE ls_mara where MATERIAL_NMBER in s_matnr.
instead try to use
SELECT MATERIAL_NMBER
MATERIAL_DESCRIP
MAINTAIN_STATUS
CREATEDBY
CREATEDON
from ZMAT_TEST into corresponding fields of TABLE lt_mara where MATERIAL_NMBER in s_matnr.
Hope it will be helpful for you.
Regards,
Kannan