Application Development and Automation 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: 
Read only

Can I use the BAPI_PO_CREATE1 to create a PO with reference to a PR?

Former Member
0 Likes
4,863

Hi experts.

I have a big question. I have been spend many hours in this site to find an answer about if I can use the BAPI_PO_CREATE1, to create a Purchase Order with reference to a Purchase Requisition. I could n ot find nothing about this.

Can somebody tell me if can I use it?

There are some threads that say "It is posible", but I would like to know the Structure name and the field name where I have to put the Purchase Requisition in the BAPI to create my PO.

I hope that somebody can help me.

Thanks a lot!!

Best Regards.

Jesus Martinez

ABAP Developer

Comala, Colima, Mexico

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,926

The field is available in POITEM structure, fields are PREQ_NO and PREQ_ITEM.

This should work, try it out. Ensure that you have update structure propoerly updated for these fields (POITEMX)

4 REPLIES 4
Read only

Former Member
0 Likes
1,927

The field is available in POITEM structure, fields are PREQ_NO and PREQ_ITEM.

This should work, try it out. Ensure that you have update structure propoerly updated for these fields (POITEMX)

Read only

0 Likes
1,926

Thanks Elango Masilamany .

Now it is working.

Thanks a lot.

Read only

rob_smeets2
Participant
1,926

I know this is an ancient topic, but in order to have all the necessary info together: (for everyone's future reference)

How to create a PO with reference to a Purchase requisition which is properly released and assigned:

Bapi_po_create1

POHeader: document type (also POHEADERX)

POItem : item number, plant, storage location, PR number, PR item (also POItemx)

and that should be all! it would be useful if SAP clarified that in their documentation because this is a very common scenario...

Read only

0 Likes
1,926

Don't know if anyone still looks at this post, but thanks Rob for giving such a simple explanation of how to use the BAPI to convert a purchase requisition. Works a treat.