1.
http://scn.sap.com/thread/593239
http://scn.sap.com/thread/1554903
http://scn.sap.com/thread/3161225
I wanted to create PO with reference to PR through BAPI_PO_CREATE (4.6c), but i found there is no field to set PR info in the parameter. Is the bapi right for this case, or there are other functions?
If u want to maintain PR field in the BAPI_PO_CEATE,
then in the FM, there is PO_ITEM_SCHEDULES table, where you have the PR field named,
PREQ_NO BANFN Purchase Requisition Number
PREQ_ITEM Item Number of Purchase Requisition
There you can maintain PR data.
=================================================================
2. using function module to convert PR to PO and getting error message 056
http://scn.sap.com/thread/1688399
the function module is MM_GROUP_REQUISITIONS .