Skip to Content
0
Feb 16, 2014 at 06:31 PM

column to row

24 Views

Hi ,

I have the requirement to convert Columns into row in table:

Input file

------------

Col1 Col2 Col3 Col4 .... .... Coln

101 102 103 104 --- ---- ----

201 202 203 204 -----------

301 302 303 304 -----------

401 402 403 404 ------------

.....

-----

In the table out put should be

Col1

101

201

301

401

Col2

102

202

302

402

Col3

103

203

303

403

Col4

104

204

304

404

---

----

Please suggest/advise how to achieve this in ABAP