‎2010 Jan 06 9:34 AM
Hi All,
I have a requirement where i need to create a report to close all PR's that were created a year ago. Please note that i need to Close them and not delete them.
FOr this i have come upon two BAPI's
1 BAPI_PR_CHANGE
2 BAPI_REQUISITION_DELETE
Please let me know so as to which one will serve my purpose,and what are the fields that should be changed for this purpose .
It would be GR8 if some1 has a sample code for the same.
Thanks in Advance
‎2010 Jan 06 9:45 AM
‎2010 Jan 06 9:45 AM
‎2010 Jan 06 10:07 AM
To Keshav.T,
Hi Keshav thanks for the info, i have one more query
How can i get the error report from the BAPI??
ie I need to print out which all PR's were closed successfully and the ones that were not closed with the reason for not closing ,
Please help.....
Im rewarding u points for the first answer!11
‎2010 Jan 06 10:13 AM
The bapi will be having a retrun table which stores the messages.
You can refer this link[http://wiki.sdn.sap.com/wiki/display/Snippets/BAPIReturnMessage+Capturing]
‎2010 Feb 05 10:50 AM