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

Sales Order Pricing Calculation using Pxternal Pricing Engine

Former Member
0 Likes
1,244

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.

5 REPLIES 5
Read only

Former Member
0 Likes
1,079

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

Read only

0 Likes
1,079

Thanks Edgar.

Read only

Former Member
0 Likes
1,079

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.

Read only

0 Likes
1,079

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

Read only

0 Likes
1,079

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