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

Simulate PO pricing

Former Member
0 Likes
2,013

Hello all,

I am facing a bit of a challenge in finding a FM that would allow me to get the current price of a PO item (simulate pricing) that fits my requirements. I have tried BAPI_PO_CREATE1 in test mode and ME_PO_PRICE_SIMULATION, which do what I need -- except they both require SAP authorization to create a new PO. Unfortunately, these are not good in my case because users with only display privileges should be able to run the report I am currently working on, it currently gives an error since they don't have the permissions.

Does anyone know any other FM's or methods that I could use to simulate pricing, that does not require privileges to be able to create a new PO?

Thanks,

Dan

1 REPLY 1
Read only

Former Member
0 Likes
1,188

My workaround was to make a copy of ME_PO_PRICE_SIMULATION, and create a copy of the include LEINJF0S, and add an export parameter to the function call 'ME_CREATE_PO_HEADER' (I_NO_AUTHORITY_CHECK = 'X') which bypassed the authority check for PO Create.