Create one more parameter in the FM , as Log as export parameter. Inside the FM source code, if u r calling a BDC , if the transaction is sucess, in sy-sunrc u will get 0. , if it is zero pass sucess mesaage in the log . u can retrieve the same in the FM in Import parameter.
Hope it useful.
Thanks,
Vijay SR