HI,
If the user clicks "Enter" after typing the material number,then my logic should be executed.This is required otherwise the user will enter everything(for example after entering 10 materials) and then find that the order cannot be saved.
Thanks,
Rohini