11-03-2007 8:34 AM
hi all,
ive to extract data from tables (mseg , mkpf , bseg ,bkpf) of ecc5.0 to ecc6.0 for this ive written a report on ecc5.0 which copies the data of mseg in internal table.
Now i want to upload this data into ecc6.0 .
<b>Can anyone plz tell me a method by using which i can upload this extracted data into ecc 6.0??its very urgent so if possible kindly reply at earliest.</b>
<b>System is not connected so no transport request can be created.</b>
thnx & rgds.points would be awarded to all.
report zmseg .
data: zmseg type table of mseg with header line.
data: iout type table of string .
data: xout type string.
field-symbols: <fs>.
select * into table zmseg from mseg.
loop at zmseg.
clear xout.
do.
assign component sy-index of structure zmseg to <fs>.
if sy-subrc <> 0.
exit.
endif.
if sy-index = 1.
xout = <fs>.
else.
concatenate xout <fs> into xout separated by ','.
endif.
enddo.
append xout to iout.
endloop.
call function 'GUI_DOWNLOAD'
exporting
filename = 'C:\test.csv'
tables
data_tab = iout.
Message was edited by:
abbaper
11-03-2007 8:53 AM
since ur downloading to excel or notepad
just write a prog for table update to mseg, or bkpf as the case maybe
tc
saji
11-03-2007 8:53 AM
since ur downloading to excel or notepad
just write a prog for table update to mseg, or bkpf as the case maybe
tc
saji
11-03-2007 9:01 AM
hi,
thnx for replying,
my file is on presentation serever how should i use fm rfc_read_table to read it into mseg of ecc 6.0.
and can u plz tell me as how to use it?
rgds
Message was edited by:
abbaper