Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8150

How to transpose an internal table rows into columns?

$
0
0

Hello Everyone,

 

I want to transpose an internal table rows into columns,below is the internal table format which i want to transpose

 

Company CodeMaterial NoAmount
200000000125000
20010000013500
2002000001450
200000000121000
20010000013100

 

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 CodeMaterial NoAmount1Amount2
2000000001250001000
20010000013500100

 

Please help by providing some example.

 

Regards,

Xehan


Viewing all articles
Browse latest Browse all 8150

Trending Articles