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

BAPI_PO_CREATE1 - referencing RFQ

venkateswaran_k
Active Contributor
0 Likes
936

Dear All

I have one specific requiremnt that from ME49, user should be able to create a PO referencing that RFQ.

Does anyone know that, is there any BAPI to create PO just referencing the RFQ number. If so Please give me a tips.

I was looking into BAPI_PO_CREATE1, but not successful.

Thanks and Regards,

Venkat

3 REPLIES 3
Read only

Former Member
0 Likes
629

first of all check wat are the mandatory inputs required to create RFQ for a particular PO?

For e.g if u want to create a GRN, u need to provide GL account number while creating PO through BAPI_PO_CREATE1.

I have used this FM.

So check what extra input field is required. This can be easily checked when creating the RFQ through its std transaction.

Read only

former_member222709
Contributor
0 Likes
629

Hi Venkat,

BAPI_PO_CREATE1 is the easiest and right way to do it. As you mentioned that you are facing some problems, then, please enlist the problems. The errors/issues/problems faced by you can be resolved.

If you are passing RFQ reference in the header, then, it may not work as expected. The RFQ reference needs to be passed in the line item table for every line item. To add to it, if you also have a PR reference, then, your account assignment data will flow through the PR and data required to pass to BAPI will be minimal.

You can search SDN for parameters to be passed to BAPI_PO_CREATE1.

Regards,

Pranav.

Read only

former_member216611
Participant
0 Likes
629

Hi first of all go manullay enter the all the details to create po , your function consultents may help regarding this , if functional consultents are not avalibke check manually up to crate order ,

if you run bapi it returns messages through bapiret2 internal table , dont forget to use bapi_trnasction_commiti after useing bapi_po_create1 , if you wont use the data base tables are not updated properly if your prb is sloved please close the thread.

Regard

Siva