‎2007 Jun 26 12:51 PM
hallow
i wont to buield a internal table i inser in data of mine what is <b>best</b> way to do that?
assume i have itab
and i have field char4
i wont
itab
0000
0001
0002
0006
....
regards
‎2007 Jun 26 12:53 PM
Hello,
data: lv_num type n value '0001'.
DO 10 times.
itab-char4 = lv_num.
append itab.
add 1 lv_num.
enddo.Regrads,
Vasanth
‎2007 Jun 26 12:52 PM
Hi Shnya.
INSERT statement is itself is the best way.
Reward if useful!
‎2007 Jun 26 12:53 PM
Hello,
data: lv_num type n value '0001'.
DO 10 times.
itab-char4 = lv_num.
append itab.
add 1 lv_num.
enddo.Regrads,
Vasanth
‎2007 Jun 26 12:55 PM
hi Vasanth M
all time i need to append difrent num like
0000
0321
0586
regards
‎2007 Jun 26 12:59 PM
‎2007 Jun 26 12:58 PM
Hi,
data wa like line of itab.
wa-field = 0001.
append itab.
wa-field = 0002.
append itab.
this u can do for little data
if u have lot of data
you can add the data in an excel sheet in a column.
save the excel sheet in csv format
then use the function module 'WS_DOWNLOAD'
pass the path of the file including file name and filetype as CSV
import data into table itab.
Regards,
Aparna
‎2007 Jun 26 1:02 PM
HI.
data wa like line of itab.
wa-field = 0001.
append itab.
wa-field = 0002.
append itab.
Rewards all helpfull answers.
Regards.
Jay