Hello everybody,
I am dealing with a weird problem related to a remote-enabled function module. The function hits a web service provided by a government entity (it is the Argentinean tax authority AFIP). The problem is that when I execute the function, from SE37, it fails the first time, then I go back and execute it again and the second time it works fine. Then the cycle repeats: fail, works, fail, works.
It looks like the problem is in the connection, but I can only tell that because the name of the exception in the FM is COMMUNICATION_ERROR.
Additional info:
- This problem happens in a QA environment.
- In the production environment it works just fine
- I checked the requested RFC destination in SM59 in both environments and they are set the same, except for one uses the PRD server and the other one the test server as Gateway Host.
Does anyone have an idea where I can start looking at? Are these errors logged somewhere, any extra configuration I should be checking, anything might help.
If you need additional information please let me know.
Thank you very much for your help!
Federico