SAP Message 50802 - Internal error: Unexpected exception when calling FM &1 (RC: &2)

Diagnosis
The function module &V1& was canceled with an exception (return codeV2), that the developer of the program (v3 v4) had not reckonedwith, or that is not permitted in this context.
The program has an unexpected status and is therefore terminated.

System Response
Program termination (possibly with short dump)

Procedure
Make a note of the message, the data constellation and the steps thatresulted in the error. Create a problem message.