‎2007 Oct 19 7:21 PM
Hello all,
I have a requirement like this. Whenever user create or changed PO, Then info record should updated in me12 also condition records also needs to be updated in conditional records. I know how to update info records. But i dont know the FM or Bapi for the same. Please let me know the solution to update the info record whenever Po Changed or manual Po created.
Thanks in advance,
Ravi
‎2007 Oct 19 7:23 PM
Use BAPI_PO_CHANGE to change condition records. Check the BAPI documentation for details.
Check the sample code on BAPI_PO_CHANGE
http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm
Hope this helps.
ashish
‎2007 Oct 19 7:44 PM
HI
Thanks for ur reply. My problem is when i change or create a po manually then , i am triggerins a Badi. Inside this Badi, i am writting a code for updating an Info record(Me12). Also i need to update conditional records also. After updating this, when i try to create a new po, then the latest price should be pulled out from tables. Do pull this price i need to update the price and conditional record. In this case we cant use Bapi_po_change. Please tell me any other FM or Bapi.
Thanks
Regards
Ravi