Hello,
1) If your external program is rfcexec, then you can follow note 353597,BUT you have to double check what is your "real" external program as rfcexec is only anexample program.
If your "real" external program is not rfcexec or you are not sure what the "real" is, you need to check with the relevant application or third party what the program is and how
Their program can be registered on the gateway as the different application may has different registration method.
Here you have used rfcexec, error below indicate BAPI_ISOURCE_DP_GETPARDEF does not exist in rfcexec,so you have to double check again if 3rd-party is changed.
Function BAPI_ISOURCE_DP_GETPARDEF not found
Best Regards,
Yong Luo