Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

convert one record row into multiple rows

geetha_k
Active Participant
0 Likes
1,274

Hi,

I have small requirement.I have selected one data base record into an internal table.Now internal table has 1 record i.e 1 row(ex: 10 columns). Now i will convert this single row record into multiple records i.e 10 rows( 10 columns wil; be converted into 10 rows). How i will convert this. Please give me any idea on this.

Regards

Geetha

3 REPLIES 3
Read only

Former Member
0 Likes
652

hi,

take another internal table with same structure .

loop at itab1.

move itab1 to itab2 .

do 10 times.

append itab2.

enddo.

endloop.

hope it will help u .

Read only

Former Member
0 Likes
652

Hi........

can u describe ur internal table structure because u want all the columns in row....!

Regards,

Chintan

Edited by: Chintan_SAP on Apr 28, 2009 12:38 PM

Read only

Former Member
0 Likes
652

Hi Geetha,

Search SCN using keyword, " convert Rows into columns" or vice versa,,,

U will get more answers & solutions,

Look at Some of the Previous threads....

.

Thanks & regards,

Dileep .C