Skip to Content
0
Former Member
Feb 23, 2011 at 03:30 PM

Exception:"RFC callback server not available"while execute upload_with_file

51 Views

Hi,

I'm trying to upload a file from a serverdirectory to the SAP-CRM System (As an attachment of an Opportunity).

Therefore I am using the method "create_with_file" of the "cl_crm_documents class".

To call this method I am using a RFC-Function created by myself.

If I test my RFC-Function within the Function Builder, everything works fine.

If I ecexute the RFC from a external System (in my case MS-Outlook) an error occurs: "Exception: RFC callback server not available"

I started the debugger and the program runs about half way through (So the connection works):

The "create_with_file" calls a couple of functions until the "RFC_START_PROGRAM"-Function is called. The error ocurres exactly at this line.

Does anybody know why the error occurs only if I call the Function from remote and what I could do to solve this problem.

Thaks in advance

Andreas