Hi Srinivas,
I guess you are performing the prompt payment functionality through some custom code that is plugged either in some User exit or in some events.
Check the logic of the custom code and you will be able to find the way out.
Thanks,
Amlan