SAP Message QS146 - Select a valid position

Procedure
Move the cursor to a line that has a method on it.