Callback is not working on remote but working locally in SAP CRM
As one of my requirements in the project, I need to upload a file to SAP-CRM from a server. To do the same, I am calling ‘create_with_file’ method. This method is present in the ‘cl_crm_documents’ class.
To call the method, I have a created an RFC. But here comes the issue, If I am executing the created RFC from function builder, it is working absolutely fine. But If I execute the same RFC from any other external RFC system (System can be anything), it does not work and throws an exception stating ‘RFC callback server not available ’.
I tried to debug the problem, I observed that the program executes to some extent. So it means I am able to establish a connection and it is not a connection related issue.
Can someone help me why this fails when I call externally only?