Skip to Content
avatar image
Former Member

How can i provide the automatically change of sub line item quantity in VA02 ?


Could you please help me to clarify of below issue?

There is a code written for adding a line item automatically when we click on save button to sales order in VA01 . (you can find the code in google when you search as Add line items automatically in VA01 – Sales Order Create). But there is some problem as if i change order quantity from VA01 (before saving the order) or VA02 (after saved the order) then although exact line item quantity changes, Carton and Pallet materials’ quantities being same. (carton and pallet materials coming to order automatically when we click save button for order creation of finished products)There is also some calculation added for how many “finished product” included in how many Carton and Pallet materials. So system should make calculation for carton and pallet materials’ quantities when we change the quantity of exact finished product in order.

In addition to all these we can not make customizing for higher-level item to provide connection of line items(finished product and carton-pallet).. Because according to logic; system calculating all finished products in an order and giving one Carton and one Pallet number which includes all the finished products’ quantity.

For example i have created below order from VA01 and when i open it in VA02 then i can see that there is two different finished products but only one carton and one pallet line items.

Calculation is like;



1 PALLET = 42 CARTON = 378PC



1 PALLET = 60 CARTON = 300 PC

So when i changed the finished products’ quantities then carton and pallet materials’ quantities also should change as highlihted below. But there is no change happening for them. So need some help to find a way for providing this change in behind of code. Please advice.

Thanks in advance

1.jpg (144.2 kB)
2.jpg (104.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Mar 15, 2017 at 12:33 PM


    Could anyone have a solution for this ?

    Add comment
    10|10000 characters needed characters exceeded