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

Data Upload

Former Member
0 Likes
442

Hi,

I was wondering if we can read a text file from the desktop using the statement,

OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.

I know i can use some function modules like upload, WS_upload or the gui_upload, but can the same requiremtn be statisfied using the open data set statement for text file on the local computer.

Please let me know,

Ster.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
421

Hi ster,

1. open data set statement for text file on the local computer

Ofcourse not.

2 Bcos Open syntax has been designe for files on application server .

regards,

amit m.

3 REPLIES 3
Read only

Former Member
0 Likes
422

Hi ster,

1. open data set statement for text file on the local computer

Ofcourse not.

2 Bcos Open syntax has been designe for files on application server .

regards,

amit m.

Read only

0 Likes
421

Thanks Amit and Ramesh.

Ster

Read only

Former Member
0 Likes
421

u can't use open dataset to upload data from presentation server.... Open dataset is used to upload data from application server only. this is how SAP has provided functionality.