cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

Hi

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;

111050

1 CARTON = 9 PC

1 PALLET = 42 CARTON = 378PC

111020

1 CARTON = 5 PC

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Could anyone have a solution for this ?

Answers (0)