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

Opening a file stored at application server

Former Member
0 Likes
699

Experts,

I have put a document on application server using DATASET .

Now I want to open the same file from there only.

ho to do that.

Thnx in Advance

Chetan

Experts,

I have put a document on application server using DATASET .

Now I want to open the same file from there only.

ho to do that.

Thnx in Advance

Chetan

5 REPLIES 5
Read only

Former Member
0 Likes
670

Hi,

you can use open data set stmnt.

Regards,

Sumit

Read only

Former Member
0 Likes
670

Hi Chetan ,

U can use following code to open the file u created in application server.

1.

data: <dataset_name>(25) value '.\tmp\file_sarang_01.txt'.

open dataset <dataset_name> for input in text mode encoding UTF-8

read dataset <dataset_name> into itab_wa.

Append itab_wa to itab.

close dataset <dataset_name>

loop at itab.

write: itab-field1 , itab-field2 .

endloop.

2. U can use transaction CG3Y , to save file from application server to presentation server directly.(A short cut for u)

I hope this solves ur problem

Reagrds.

Note: Reward if useful

Read only

Former Member
Read only

jayanthi_jayaraman
Active Contributor
0 Likes
670

Hi,

GO to AL11 transaction.Follow the path where you placed the documents just by double clicking.

Read only

0 Likes
670

Hi,

let me explain in detail,

I am putting one Word doc at application server using DATASET command throuhg one program. Now from the same program or another program I want to open that word document.

Now here, as per my understanding it put that word document content as a simple text but I want to open it in word.