extracting data from ecc5.0 & uploading it in ecc6.0
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.
select * into table zmseg from mseg.
loop at zmseg.
assign component sy-index of structure zmseg to <fs>.
if sy-subrc <> 0.
if sy-index = 1.
xout = <fs>.
concatenate xout <fs> into xout separated by ','.
append xout to iout.
call function 'GUI_DOWNLOAD'
filename = 'C:\test.csv'
data_tab = iout.
Message was edited by: