Skip to Content
0
Nov 12, 2012 at 07:27 PM

pass items of internal table to class changing a items' field

283 Views

Hi friends.

I have a global internal table which has a lot of sales order.

Inside a loop in it, I create object o_sales_order, but changing some items of this specific sales order.

For example: I iave a internal table with 10 lines. Sales order 6000000000 has 5 items and 6000000001 has 5 items.

I'm trying to pass in method, these 5 items of each one, but inside method I want to change the quantity and give back to global loop with quantities already updated.

I tryied to create a field symbol to point only to these 5 items of global table, but it make a copy, not pointing to 5 items of the global internal table.

Is it complex ? Did you understand ?

best regards.

Glauco