05-11-2011 1:04 AM
Hi,
Using the BAPI_SALESORDER_CREATFROMDAT2 with my own price condition values the sales order is still created using the system price condition and not my values. How do I force the sales order to use my condition values and not calculate from standard config?
eg PR00 mine is 52.50 whereas it is 55.50 in the system config for the material, the sales order uses the 55.50 !
Cheers,
Ross G
05-11-2011 1:32 AM
What are you passing into the BAPI? Specifically, what is being passed in the ORDER_CONDITIONS_IN and ORDER_CONDITIONS_INX tables? You are probably already familiar with the IN and INX tables.
05-11-2011 1:57 AM
I am filling in the IN table:-
cond_count
cond_type = 'PR00'
cond_value
condchaman = 'X'
itm_number
condorigin = 'C'
in the INX table:-
cond_count
cond_value = 'X'
updateflag = 'X'
cond_type = 'PR00'
Ross