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: 

Create PO through BAPI

Former Member
0 Kudos

Hi Guru's,

Is it Possible to create PO through Standard...........

BAPI ( BAPI_PO_CREATE1 ) only ?

I don't want to use any ZREPORT for this, creating PO by which call these function's .

So let me know ........HOw an I do this .....?

Thanks And Regards

Ankit Singh Rathore.

5 REPLIES 5

Former Member
0 Kudos

Hi,

Yes you can create PO's via BAPI_PO_CREATE1. You will have to write code around the BAPI call to populate all of the required parameters (see the BAPI's documentation in SE37) and then call BAPI_TRANSACTION_COMMIT after each call to save the actual PO.

Gareth.

former_member705122
Active Contributor
0 Kudos

Hi,

yes you can create PO through BAPI_PO_CREATE1.

Check this link:

Regards

Adil

Former Member
0 Kudos

hi

use this FM

ME_CREATE_PO_HEADER

ME_CREATE_PO_ITEM

Cheers

Snehi

Former Member
0 Kudos

Hi

Good

You can crete the PO using the standard BAPI, but as far as the zreport is concerned I dont think you can use the BAPI without using that in a zreport.

Thanks

mrutyun^

krishnendu_laha
Active Contributor
0 Kudos

Hi Friend,

You can create PO through that BAPI, but you should execute BAPI_TRANSACTION_COMMIT without exit from BAPI_PO_CREATE1.

Because that BAPI does not commit itself.

Regards

Krishnendu