Application Development 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: 

Update pricing routine cond value with 'BAPI_SALESORDER_SIMULATE' cond val

Former Member
0 Kudos

Hi,

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.

Thanks,

Sudheer.

1 REPLY 1

Former Member
0 Kudos

Working, if i give DESTINATION 'NONE' after the BAPI 'BAPI_SALESORDER_SIMULATE'.

Thanks,

Sudheer