Skip to Content
Former Member
Aug 01, 2013 at 06:27 PM

condition type addition via bapi


Dear Gurus,

My requirement is very silly.I have created a sales order via 'BAPI_SALESORDER_CREATEFROMDAT2', now i have to insert some condition type into it. With respect to some validations in it,after commit work of BAPI_SALESORDER_CREATEFROMDAT2 i have called BAPI_SALESORDER_CHANGE and passed ITM_NUMBER, COND_TYPE, COND_VALUE,CURRENCY,CONDORIGIN, UPDATEFLAG in it.But still no condition types are getting inserted into the sales order.

Have searched extensively SCN and used all the given solutions, but could not get desired output.

Can anyone let me know what all i should pass other that this in CONDITIONS_IN and IT_CONDITIONS_INX in BAPI_SALESORDER_CHANGE for condition type insertion.

Should i have to use some other BAPI for this?

Waiting for your replies.

With Regards,