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 in BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Likes
491

Hai,

Now only i solved the customer number problem. Now i am facing problem in quantity field.

the following code for the line item (one).

ORDER_ITEMS_IN-MATERIAL = '000000000000100039'.

ORDER_ITEMS_IN-TARGET_QTY = 2.

ORDER_ITEMS_IN-PLANT = 'V700'.

ORDER_ITEMS_IN-PROFIT_CTR = 'E02902'.

append ORDER_ITEMS_IN.

the sales order created and viewble but there no value in the quantity field and that is empty.

plz tell me any solution,

thanks,

Elamaran

3 REPLIES 3
Read only

Former Member
0 Likes
463

Hi Elam,

CHeck if you have populated ORDER_ITEMS_INX-TARGET_QTY = 'X" or not.

Read only

Former Member
0 Likes
463

Hey Elam,

To populate the quantity in the Sales Order , You need to populate the schedule line structure with Quantity ( not in item structure). Then you would see the quantity in the Sales Order.

Hope this helps.

Regards,

Siva

Read only

0 Likes
463

You must populate the ordered qty into the schedule line table. The items_in table is not the correct location for this qty.