SAP Message 50887 - Internal error: Unexpected exception &2 when calling function module &1

Diagnosis
The function module &V1& was terminated with an exception (&V2&), thatthe developer of the calling program (&V3& &V4&) had not reckoned with,or that is not allowed here.
The program is in an unplanned condition and is therefore terminated.

System Response
Program termination (possibly with short dump).

Procedure
Note down the message. The data constellation and the entries that ledto the error. Create a problem message.