Skip to Content
Former Member
Sep 30, 2008 at 06:31 PM

Update pricing routine cond value with 'BAPI_SALESORDER_SIMULATE' cond val



I'm trying to create 908 pricing routine which updates the one of the PO condition values with the sales order simulated condition value.

It seems there is a problem with pricing routine XKOMV structure.

At first the XKOMV structure is filled with all the condition records of PO line item. Once I try to call the functional module 'BAPI_SALESORDER_SIMULATE' in 908 pricing routine to simulate sales order price. At this point of time XKOMV structure is replaced by condition records of sales order.

This is the reason I can not update the price condition value for PO condition type.

Can anyone let me know is there any other way to do this.