Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting communication_failure at RFC Call starting new Task

Former Member
0 Kudos

Hallo Everybody,

I´ve got an Issue that when trying Use my RFC that I always get Sy-Subrc 2 - Communication Failure....

I have no idea anymore what to do.

I post my Source Code here and hope u can tell me what´s the issue or how to find out.

I have another rfc - almost identic, working.

I´m checking everything since hours, I hope someone has a hint for me.

Thx so much in advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Have you tried to change the DESTINATION?

I don't think there's a destination called parallel_generators in your system, you should use NONE as destination

Max

7 REPLIES 7

Former Member
0 Kudos

Hi

Have you tried to change the DESTINATION?

I don't think there's a destination called parallel_generators in your system, you should use NONE as destination

Max

0 Kudos

Thanks for your reply,

I Used NONE and this Group 'parallel_generators' which I created via sm59 and which works fine with the other rfc.

0 Kudos

where is the destination addressed?

0 Kudos

Sorry, I don´t know exactly what you mean by that.

In SM59 I choose the only Serve I´ve got on the development-System in field instance.

And with another RFC this works.

I just made this test I found at a SAP site as well:

Sy-Subrc is 0 by the way...

SO the group looks fine. Should be if it works with the other rfc.

I will check the to RFC against each other one more time, but there is not so much more to se :-S

0 Kudos

I've never used a group for parallel process, so perhaps I'm mistake

but in your code you've assigned parallel_generators to a DESTINATION, not GROUP, perhaps you should use the addition DESTINATION IN GROUP?

Max

0 Kudos

This i´ve must have build this failure in while looking for the actual failure.

Now in Debug-Mode I found out that the TASKNAME is stucking and not counting up.

So it works once and not anymore afterwords because the taskname was already used.

So thanks to you I found all the failures - and now I can go into the weekend with a gooooooood Feeling. Thanks a Lot!!!

0 Kudos

Yes you're right you're not filling the LV_TASKNAME variable, you're concatenating TASK only

Max