Hi Charm,
There might be 2 reasons.
1.As mentioned by Always learner above.
2.Check the Z RFC function module.Inside the program for improving the performance they might have set some conditions like process only so and so data if more abend.It happens in most of the Zfunction modules.Please debug or read through the comments.
Hope it will be helpful.
Regards,
Kannan