Application Development 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: 

How to take data from List to internal table

Former Member
0 Kudos

Hi

my requirement as

When user click the save button in list then entered data in a XYZ field should be store in internal table .

more specific how to take data from List to internal table .

Thanks

Subham

1 ACCEPTED SOLUTION

Former Member
0 Kudos

create one more internal table,

now use at user-coomand.

case sy-uocmm.

when 'SAVE'.

loop at old_inttable.

move the data old int_table to new int_table

append new int_table.

endloop.

endcase.

3 REPLIES 3

Former Member
0 Kudos

create one more internal table,

now use at user-coomand.

case sy-uocmm.

when 'SAVE'.

loop at old_inttable.

move the data old int_table to new int_table

append new int_table.

endloop.

endcase.

Former Member
0 Kudos

u can use the READ LINE.......statement to read the contents in a list. the system field sy-lisel holds the value of current line contents

Former Member
0 Kudos

hi

good

declare a flag,

if you click that field give the condition as if flag is true than store that value to a particular variable and do the calculation as per your requirement.

thanks

mrutyun^