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

Quantity is not updating while using BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Likes
935

Hi all,

i am Creating Sales Order using BAPI_SALESORDER_CREATEFROMDAT2 BAPI,

Here i am passing all required fields. Sales order also created, but in the created order; quantiy value is updating as 0 only. Even though i passed the value.(BAPISDITM-ARGET_QTY)

My bapi is returning...

SALES_HEADER_IN has been processed successfully

SALES_ITEM_IN has been processed successfully

The sales document is not yet complete: Edit data

Standard Order 12323 has been saved

Help me to solve it.

Thanks

Regards

2 REPLIES 2
Read only

Former Member
0 Likes
459

You cannot update quantinty from that field

use the REQ_QTY field in ORDER_SCHEDULES_IN

and set its corresponding flag in ORDER_SCHEDULES_INX to X

It will work

Read only

Former Member
0 Likes
459

Thanks