2014 May 02 9:25 PM
I have a customer who would like to call an External Pricing Engine to calculate the pricing for sales orders. This is from an ECC system and not from a CRM system. Has any one done it?
What would be the right user exit to make such a call to the external system and get the prices and continue the process? Can you please share your experiences?
Any sample code will be very much appreciated.
Thanks.
I have a customer who would like to call an External Pricing Engine to calculate the pricing for sales orders. This is from an ECC system and not from a CRM system. Has any one done it?
What would be the right user exit to make such a call to the external system and get the prices and continue the process? Can you please share your experiences?
Any sample code will be very much appreciated.
Thanks.
2014 May 03 12:55 AM
Hi Leo,
Let me see if I get this right. You have an ECC and when a sales order is being created you want to query one other system, the Pricing Engine, to determine some condition values and what not.
Is it like this or do you want the sales conditions to be updated regularly from the pricing engine?
Both approaches differ a lot but are somewhat similar to what can be done in CRM or any Sales Force App.
There is also a product, SAP Price and Margin Management by Vendavo, but I have no knowledge about it or how it works.
regards,
Edgar
2014 May 06 2:19 PM
2014 May 03 7:03 PM
You could use the enhancement point ES_SAPFV45P(\PR:SAPFV45P\EX:PREISFINDUNG_11) to update the values for some condition types calculated by std. pricing function module(named PRICING). The code you write here will be called after the 'PRICING' function module is called by VA01. I think you will need to update the condition values in XKOMV[] itab.
I have used this enhancement spot successfully when we wanted to send pricing simulated to an external system when other options were not feasible. However I have only used it for exporting the simulated pricing and not modifying it.
Hope this helps.
2014 May 06 2:23 PM
Thanks Aashrith.
We would like make an RFC call to the external system. For example, in Banking, it can be done as stated in the documentation: Interface to External Price Calculators - Price Calculator for Financial Instruments - SAP Library .
My question is: Can we do something similar to this to determine pricing in sales order? If so where can we make that RFC call?
Thanks again.
Leo
2014 May 06 2:43 PM
If you restrict to some rules, like the base price and some discount conditions, it won't be to difficult to set an RFC and get price data to your sales order. You can create routines for those condition values and inside them call the RFC.
There is a risk associated to this type of online connection that should be mitigated to guarantee some type of communication timeout responses and treatment to other types of communication problems.
More complex solutions, like replacing the entire pricing schema, are probably unfeasible.
regards,
Edgar
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |