How to create PO with reference to Pr through BAPI
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?
THANKS FOR ANY ADVICE!
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.