SAP Message 77005 - An error occurred executing application &, view &, routine &

Diagnosis
When you exit the specified routine, SY-SUBRC has a value other than 0.

System Response
The procedure is therefore terminated as this error cannot be dealtwith.

Procedure
Alternatives:
1. Remove the cause of the error in the specified routine.
2. If the error is not to be dealt with, reset the SY-SUBRC to 0
before you exit the specified routine.