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

Update quantity using BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Likes
480

Hi,

I'm creating sales orders using BAPI_SALESORDER_CREATEFROMDAT2.

I am getting sales order and everything is working fine.

The only problem is that when i'm checking the sales order number obtained through the BAPI the quantity field is not getting updated.

Its showing blank even though I have populated the table ORDER_ITEMS_IN with the material no and quantity and the table ORDER_ITEMS_INX with the fields material and target_qty as 'X'.

Can someone please tell me if any other field is also required to be updated in the BAPI

2 REPLIES 2
Read only

mvoros
Active Contributor
0 Likes
408

Hi,

I am just guessing. Do you set field qunatity UOM

(field TARGET_QU)?

Cheers

Read only

Former Member
0 Likes
408

Try adding appropriate entries to tables ORDER_SCHEDULES_IN & ORDER_SCHEDULES_INX also