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

WS_upload query?

Former Member
0 Likes
357

hai,

by using FM WS_UPLOAD u can upload a txt file from PS.

let us assume we have 10 PS and the txt file saved at path 'c:\folderx\filex.txt' in a perticular server, with FM WS_UPLOAD we only specifiy the file path but not PS id. How system knows from which PS it has to upload the file?

2 REPLIES 2
Read only

Former Member
0 Likes
323

you need pass the file name to the WS_UPLOAD.

one way is you can create a parameter on the selection screen for inputing the filename and use the same in calling the WS_UPLOAD.

Would like to update you that <b>WS_UPLOAD</b> is obsolte, you can use <b>GUI_UPLOAD</b> function module

Read only

Former Member
0 Likes
323

Hi,

When you use the Function module WS_UPLOAD or UPLOAD or GUI_UPLOAD, it will ask you to select a file, this asks the path where you are executing this function module, it won't ask which presentation server you want.

Regards

Sudheer