Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Bapi for PO creation with reference to Purchase Requisition - PReq

Former Member
0 Kudos

Can any one let me know if there is any BAPI to Create PO with reference to PReq. I know we can easily write a BDC for ME21 but... is there a similar functionality via BAPI's ?

6 REPLIES 6

Former Member
0 Kudos

Use the BAPI <b>BAPI_PO_CREATE</b>.

Regards,

Prakash.

0 Kudos

Where do you supply Purchase Requisition details ?

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

The BAPI to creat purchase orders is BAPI_PO_CREATE1, not sure if it handles referencing a purchase req.

Regards

RIch Heilman

0 Kudos

I saw these 2 BAPI's but I didn't find any interface for PReq's... am I missing some thing ?

Former Member
0 Kudos

If you creating PO from a purchase requisition..Try using call transaction to ME59..

Thanks,

Naren

Former Member
0 Kudos

Hi Vinod,

This is just idea.

Get Purchase Requisition details using

<b>BAPI_REQUISITION_GETDETAIL</b> and then use <b>BAPI_PO_CREATE1</b>. I think there is no Direct BAPI.

*******Poorna*********