Hi Vamsi,
This is hypothetical question. can't imagine the code of ZME59!!
if it is not working for only return PO, check the configuration! better to check with functional consultant on configuration and then check the program.
Provide me piece of code, which you are getting error.
Rg, Kiran.