Application Development and Automation 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: 
Read only

internal table to application server

Former Member
0 Likes
810

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

5 REPLIES 5
Read only

Former Member
0 Likes
566

sorry from internal table to application server pls find me sloution ,

thanks

sridhar

Read only

Former Member
0 Likes
566

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

Read only

0 Likes
566

what is that 'myfile' for , please i am not getting that one

thanking you

sridhar

Read only

0 Likes
566

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

Read only

Former Member
0 Likes
566

Use OPEN DATASET <filename> FOR OUTPUT. to store data in application serve.

OPEN DATASET dset FOR access IN mode [position]

[ os_addition]

[error_handling].