Application Development and Automation 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: 
Read only

Problem creating sales order with BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Likes
292

Hi,

I'm using BAPI_SALESORDER_CREATEFROMDAT2 to create sales order with manual pricing condition type. However, after i run bapi, i got a sales order with zero value. The condition value that i pass doesn't show in sales order. My condition type shows with zero condition value. These are the value that i pass to BAPI.

step_nr = '200'.

item_nr = '000010'.

cond_type = 'ZPC2'.

CONDITIONS_IN-ITM_NUMBER = item_nr.

CONDITIONS_IN-COND_ST_NO = step_nr.

CONDITIONS_IN-COND_TYPE = cond_type.

CONDITIONS_IN-COND_VALUE = 100.

Please comment or give me an example how to use this bapi to create manual condition type in sales order. Thank you very much.

1 REPLY 1
Read only

Former Member
0 Likes
260

Hi

Try passing the currency value as well