Hi Mohammad,
To know whether FM successfully executed or not, SY-SUBRC value will helpful. But whether particular transaction has run successful or not, that should be handled in your function module source code and that depends on your logic.
Regards,
Vijay