Hi Imran,
Check the paramater rdisp/max_wprun_time. Go to RZ11 and enter the parameter. Then go to change value. By default it must have been set as 600 seconds. change that to 3600 seconds or so in new value and save it.
Try this if it works and lets also wait for other experts to comment on this.
Regards,
Amit Rajoria