How do one handle exception in RFC? i have created an RFC which i will use to display data to the portal using WebDynpro (Java). The input parameter is only 1 field which is the 'SY-UNAME'. What i would like to achieve is, if the 'SY-UNAME' is null (not exist), it should return an error message 'user not found'. This message in return can be exported as well to the portal.
Newbie in ABAP here. Need all the help possible