Application Development and Automation 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: 
Read only

RFC Function module executing in tasks error

Former Member
0 Likes
621

Hi Gurus,

I have a rfc enabled function module that I am executing in tasks . The first two passes went correct but the third pass gave the shortdump: Communication failure.

What can be done to correct this .

A RAISE statement in the program "SAPLYQM_PLANT_REL" raised the exception

condition "COMMUNICATION_FAILURE".

Since the exception was not intercepted by a superior

program, processing was terminated.

>>>>>>CALL FUNCTION 'YQM_SAMPLE_RELEASE_TASKS' starting new task 'FUNC1'

destination 'NONE'

performing set_function1_done on end of task

EXPORTING

I_PHYNR = i_PHYNR

I_YYPREPDATE = i_YYPREPDATE

I_REL = I_REL

TABLES

T_RETURN = t_RETURN.

wait until functioncall1 = done.

Thank you .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
417

Hi,

the error COMMUNICATION FAILURE occurs if a server is unavailable for processing of the task or possibly there is no free processes available.

Check this link.

It has a good example how to handle teh error.

[http://saphelp.border-states.com/EN/fa/096e92543b11d1898e0000e8322d00/frameset.htm]

Regards,

Ankur Parab

1 REPLY 1
Read only

Former Member
0 Likes
418

Hi,

the error COMMUNICATION FAILURE occurs if a server is unavailable for processing of the task or possibly there is no free processes available.

Check this link.

It has a good example how to handle teh error.

[http://saphelp.border-states.com/EN/fa/096e92543b11d1898e0000e8322d00/frameset.htm]

Regards,

Ankur Parab