Skip to Content
0
Apr 21, 2008 at 10:22 AM

Reg add internal table fields

28 Views

i am having one internal table with following fields

bukrs,werks,kostl,arbpl,aufnr,gjahr,perio,tog001,wogtbr,megbtr

on this with changing of aufnr i need to add only tog001,wogbtr and megbtr

the record is as follows

Company Code Plant Cost.Centre Work.Centre Production.Order Activity .Plan.Price Total.Price Total.Qty Unit.of.measure

1090 2001 10906092 APACKAGE 7007089 145.34 145.34 1.992 HR

1090 2001 10906092 APACKAGE 7007089 277.17 277.17 1.992 HR

1090 2001 10906092 APACKAGE 7007090 121.11 121.11 1.660 HR

1090 2001 10906092 APACKAGE 7007090 230.97 230.97 1.660 HR

1090 2001 10906092 APACKAGE 7007091 102.95 102.95 1.411 HR

1090 2001 10906092 APACKAGE 7007091 196.33 196.33 1.411 HR

and i want the result as follows

Company Code Plant Cost.Centre Work.Centre Production.Order Activity .Plan.Price Total.Price Total.Qty Unit.of.measure

1090 2001 10906092 APACKAGE 7007089 422.51 422.51 3.984 HR

1090 2001 10906092 APACKAGE 7007090 352.08 352.08 3.32 HR

1090 2001 10906092 APACKAGE 7007091 299.28 299.28 2.822 HR

please give the solution.