cancel
Showing results for 
Search instead for 
Did you mean: 

ME21N - How to trigger Update Prices Automatically

former_member870881
Discoverer
0 Kudos

In ME21N , I'm working with gross price for materials, but prices is not being updated/calculated after entering the item. User should click on <update> button to system calculate the conditions and net price, something happens when user change tax code in invoice tab, update prices is not triggered, and user should click on update button.

How can I call the same functionalities, in code behind, as if the user had clicked on button <update prices>.

I mean, how to trigger the process to calculate prices automatically to force the system update/recalculate the prices?

Has everyone experienced this, and used a solution that worked? If so, could you kindly explain what was the solution, and If possible, could you give me some example.

Accepted Solutions (1)

Accepted Solutions (1)

Neeraj_Jain
Active Contributor
0 Kudos

Hello marcos.deandrade,

Please refer below SAP thread on same issue.

https://answers.sap.com/questions/8516623/automatic-update-of-pricing-in-me21nme21n.html

If satisfied please accept the answer and close the thread.

Regards,

Neeraj Jain

former_member870881
Discoverer
0 Kudos

I've read and analyzed that thread many times. It Just say:

"Try with BADI ME_DEFINE_CALCTYPE"

But How to use this? How can I call this badi? How It Works? I even read documentation and I spent many hours struggling with that, trying to use this badi, but without any sucess. Have you used this already? Can you pass me some example in abap?

Thank you in advance

Neeraj_Jain
Active Contributor
0 Kudos

Have not used. Please discuss with ABAP Consultant to implement this.

Answers (0)