2008 Feb 06 11:29 AM
Hey all,
I am searching for a function module which allows me to update the quantity in a sales order as long as the user creates the sales order.
We have here a requirement to update the sales order quantity and if it is less than the minimum sales order quantity calculated (depends on specific VC configurations) for this product it should be automatically changed to the minimum quantity.
I really appreciate every answer on this question. Of course points will be rewarded to helping answers.
Thank you and best regards
Maik
2008 Feb 06 3:22 PM
2008 Feb 27 9:06 AM
2008 Feb 27 9:23 AM
Sharad gave you the appropriate BAPI and if you need an example please check SAP Note 562124.Yet, you must put an 'X' in the "po_itm_no" field of the "order_item_inx" parameter table in order to work properly.
2008 Feb 27 9:14 AM
Thanks a lot for your answer. Unfortunately this FM requires an already saved Sales Order. As this should be done before the sales order is saved, this FM doesnt work for me. I want to update the sales order quantity (incl. determining new schedule lines) when I leave VC and go back to the sales order.