cancel
Showing results for 
Search instead for 
Did you mean: 

FM to update pricing on the sales order

Former Member
0 Kudos

Hi,

Would anyone know a FM to update the pricing on the Sales Order? Same as if we clicked manually on Update pricing on the conditions tab.

Thank you very much.

Hope to hear from you soon. I'll give reward to anyone who can help me.

Earl G. Faren

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Earl,

You can try with BAPI_SALESORDER_CHANGE. If I find any more information about the specific FM, I'll post a reply again over here.

Cheers

Nikhilesh

Former Member
0 Kudos

There are two important function modules which you should call if you want to reprice (and which SAP uses too):

1. PRICING -> This FM is used for non-group conditions for calculation of pricing at the item level

2. PRICING_COMPLETE -> This FM is used for pricing at the document level (e.g. group or header conditions).

When you call these FM's, remember to provide the value of Pricing Type (KSTEU).

Hope this helps,

Regards

Nikhilesh