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

Former Member
0 Likes
851

When I use BAPI_PO_CREATE1 to create a PO and supply it a net price it overrides the price from the info record for that material/vendor.  How can I get it to use the price I am giving it?   It does this kind of randomly, by the way.  It works correctly for most records (uses the net price I am providing) but for a few records it defaults in the info record price. 

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
678

Hi Phil,

Couple of things you can try.

1) In BAPI_PO_CREATE1 mark the Importing parameter NO_PRICE_FROM_PO as 'X'. (No price adoption from last document).

2) Goto TCODE OMFI, Select a Default value, Go to tab Price adoption, and check Manual price becomes Gross price. Assign that default value in your user profile.

Say if the default value was Z1, then in your user profile under own data -> parameters, add EVO as the new parameter and value as Z1.

Logoff, login and check.

Thanks,

Shambu

2 REPLIES 2
Read only

Former Member
0 Likes
679

Hi Phil,

Couple of things you can try.

1) In BAPI_PO_CREATE1 mark the Importing parameter NO_PRICE_FROM_PO as 'X'. (No price adoption from last document).

2) Goto TCODE OMFI, Select a Default value, Go to tab Price adoption, and check Manual price becomes Gross price. Assign that default value in your user profile.

Say if the default value was Z1, then in your user profile under own data -> parameters, add EVO as the new parameter and value as Z1.

Logoff, login and check.

Thanks,

Shambu

Read only

0 Likes
678

That was a huge help. Thank you, Shambu.