Dear Madhu,
I am not sure what is your business requirements here. But you don't need to write a program and call BAPI to redetermine the prices. Just add a line code in MV45AFZB program as below.
FORM USEREXIT_NEW_PRICING_VBAP CHANGING NEW_PRICING.
new_pricing = 'G'.
ENDFORM.
This will redetermine the price for each item automatically. You can write any conditions or logic in the same for itself.
But if you want to make this happen with BAPI, please follow the below thread.
https://archive.sap.com/discussions/thread/617361
Let me know if you have any questions.
Add comment