Prerequisites
You have called the material in the Material master and are in the view in which you want to make the substance assignment.
Procedure
You can determine the required substance using the substance search by calling the input help (F4).