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: 

conditions in BAPI not working

ross_goodman
Participant
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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.

0 Kudos

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