2012 May 31 7:34 PM
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.
2012 Jun 01 4:16 AM
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
2012 Jun 01 4:16 AM
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
2012 Jun 05 1:15 PM