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

write data into application server

Former Member
0 Likes
889

I have populated my internal table with values.That i need to write it to applcation server.

How to do it?

i went into al11,but the filename is not showing.

Plz help

6 REPLIES 6
Read only

Former Member
0 Likes
657
Read only

Former Member
0 Likes
657

Please press F1 on TRANSFER. Also search SCN with this. You will find plenty of examples.

Rob

Read only

kanishakgupta1
Contributor
0 Likes
657

Use open dataset and close dataset statements......

Use transfer staement to transfer the data from internal table to the file.

regards

kanishak

Read only

Former Member
0 Likes
657

Hi,

If you want populate the internal table data to the application server, first you need to open the file in application server using open data set statement.

OPEN DATASET l_filename_app FOR APPENDING IN TEXT MODE ENCODING DEFAULT .

after that you need to mention trnasfer statement.

TRANSFER l_data_string TO l_filename_app.

after that you need to close the file.

CLOSE DATASET l_filename_app.

Rgds,

Venu.

Read only

Vijay
Active Contributor
0 Likes
657

hi,

you can directly load file to appl server through transaction cg3z.

thanks

vj

Read only

Former Member
0 Likes
657

hi,

please use these statements to write in a application server.

OPEN DATASET <FNAME> FOR OUTPUT IN TEXT MODE ENCODING DEFAULT LINE SMARTFEED.

*take data of internal table into string.

*after that use this statement.

TRANSFER <DATA_STRING> TO <FNAME>.

CLOSE DATASET <FNAME>.