Hello Everyone,
I want to transpose an internal table rows into columns,below is the internal table format which i want to transpose
Company Code | Material No | Amount |
---|---|---|
2000 | 0000012 | 5000 |
2001 | 0000013 | 500 |
2002 | 0000014 | 50 |
2000 | 0000012 | 1000 |
2001 | 0000013 | 100 |
Now after transpose the internal table format will be like below, and the main condition is that the company code and material no will not change because they are primary keys
Company Code | Material No | Amount1 | Amount2 |
---|---|---|---|
2000 | 0000012 | 5000 | 1000 |
2001 | 0000013 | 500 | 100 |
Please help by providing some example.
Regards,
Xehan