Skip to Content
0
Former Member
Nov 26, 2012 at 11:57 AM

Calling RFC from a program scheduled in background, starting new task - Timeout issue

1014 Views

Hi All,

We are working on performance improvement for a program and decided to take the approach of breaking down the data (close to 500,000 records) in packets and calling them in a separate dialog work process by calling the RFC in a separate task (call Function ... in separate task). The number of tasks called is dependent on the number of work processes available determined by function SPBT_INITIALIZE.

The executable program (Report) will be scheduled in background. It will select all the data (500,000 records), break it into packets, say 4 packets with 125,000 records each and call function module with 125,000 records, starting 4 tasks in parallel.

Since the volume of data is quite high, need help with few questions:

1) Though the data is independent but it would take more than 10 mins/600 secs and the dialog work process triggered by the asynchronous RFC would time out. Is there a way to handle this?

2) What could be other ways to process the data?

Thanks in advance!

Shyam