‎2006 Dec 16 1:16 AM
Hi ,
actually i have uploaded data in to internal table i want to load that into internal table in to specfic path , i have never used this before so please find me little steps
thanks
sridhar
‎2006 Dec 16 1:18 AM
sorry from internal table to application server pls find me sloution ,
thanks
sridhar
‎2006 Dec 16 1:22 AM
Sridhar,
You will have to use OPEN DATASET command for the same.
DATA FNAME(60).
FNAME = '/tmp/myfile'.
OPEN DATASET 'myfile'.
OPEN DATASET FNAME.
loop at itab.
transfer itab to fname.
endloop.
CLOSE DATA FNAME.Regards,
RAvi
‎2006 Dec 16 1:32 AM
what is that 'myfile' for , please i am not getting that one
thanking you
sridhar
‎2006 Dec 16 1:35 AM
myfile is the name of the file to which you wan to write the data. You fill the entire path in the variable FNAME.
IGNORE the OPEN DATASET 'myfile', that is a mistake.
Regards,
Ravi
Note - Please mark all the helpful answers
‎2006 Dec 18 11:37 AM
Use OPEN DATASET <filename> FOR OUTPUT. to store data in application serve.
OPEN DATASET dset FOR access IN mode [position]
[ os_addition]
[error_handling].