Skip to Content
0
Former Member
Mar 07, 2009 at 10:22 AM

Query on Internal Table

15 Views

Hi Guys,

My ITAB looks like below.

PN      SN        MATNR     BRGEW    VOLUM    
1         11           D1           100             10
1         11           D1           150             25  
1         11           D2            50              10
2         11           F1           100             10
2         11           F2           150             25  
2         11           F2            50              10    

My requirement is for same PN & SN if MATNR is same ADD BRGEW and VOLUM along with the details of PN SN MATNR BRGEW VOLUM and store it in another internal table.

My final Table should look like below

PN      SN        MATNR     BRGEW    VOLUM    
1         11           D1           250             35
1         11           D2            50              10
2         11           F1           100             10
2         11           F2           200             35  

Thanks in Advance,

Prasad.