‎2009 Jun 25 2:07 PM
Hi friends,
Is ther any function module or BAPi for adding items to the purchase requsition(ME51n)
Thanks in advance
‎2009 Jun 25 2:12 PM
Hi varsha,
you can use this bapi BAPI_REQUISITION_CREATE.
If you want to change the existing purchase requisition item details, use the bapi BAPI_REQUISITION_CHANGE with the old item values along with the new ones.
Thanks & Regards,
Arun.
‎2009 Jun 25 2:12 PM
‎2009 Jun 25 2:14 PM
Hi,
Using the BAPI:BAPI_REQUISITION_GETDETAIL existing PR header and item details and then modify the item tables with the new items and then update using the BAPI_PR_CHANGE/BAPI_REQUISITION_CHANGE
Hope this helps you
Regards
Shiva
‎2009 Jun 25 2:15 PM