Virtual InfoProvider based on remote-enabled function
I created a virtual InfoProvider based on a remote-enabled function on another server. I indicated the server where this function is located (see screenshot_1). However, every time I try to display data in InfoProvider, I get the following messages (screenshot_2): "An exception with the type CX_SY_DYN_CALL_ILLEGAL_FUNC occurred, but was neither handled locally, nor declared in a RAISING", "Function call failed; could not find the function ZFM_VIRTUAL_CUBE". However, I do have that funtion on my other server. Here is its signature:
What could be the reason for that and how can I fix it? I checked whether I can remotely call that function inside an Abap program on my server, and it worked.