Skip to Content
0
Former Member
Jun 03, 2008 at 08:45 AM

help to turn the table

31 Views

Hi,

i have internal table like that and i wont to do pivot like e.g.

to another internal table .

i have

itab1

pernr      orgeh       sick_days        sum
 
123        5555            3                   7
123        5555            4                   7
456        6666            7                  16
456        6666            1                  16
456        6666            8                  16
789        5656            3                  6
789        5656            3                  6

i wont :

itab 2

pernr        123       123      456     456    456           789   789 
orgeh       5555     5555       6666    6666    6666        5656   5656
sick_days     3         4        7         1       8          3         3
sum            7        7        16       16      16          6         6

what is the Best way to do that?

Regards

i reward kindly for helping answer