Hi everyone,
I am having a problem during receiving the results related to a RFC call from one system(X10) to other system(Y10).
When i just run RFC with ;
CALL FUNCTION 'RFC_FUNC1' DESTINATION 'Y10'.
Everything works fine, however when i try to run this one in parallel mode and trigger, i can see calculations are correct but system gives error on that line
RECEIVE RESULTS FROM FUNCTION 'RFC_FUNC1'
This line raises an error with the following detail;
Function module "RFC_FUNC1'" has been called as an asynchronous RFC with
reply.
The reply was programmed inconsistently to the call however, meaning
that class-based exceptions were to be used in position one but not in
the other.
Error in the ABAP application program.
The current ABAP program "RFC_FUNC1'" had to be interrupted because
it contains
a statement that cannot be executed.
Later i created an another function module in my system X10 just to trigger RFC_FUNC1 in system Y10. Now i changed my logic just to trigger RFC_FUNC2 in my system X10. (RFC_FUNC1 is triggered inside the FUNC2 ) I can see results are received from the RFC_FUNC1 but still i get same error when i run
RECEIVE RESULTS FROM FUNCTION 'RFC_FUNC2'.
What can be the problem ? First time i got error like this.