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

Error in background on GUI_UPLOAD.

Neslinn
Participant
0 Likes
1,545

Hi,

If i run a report in background which contains the function module : GUI_UPLOAD it is getting the error message as 'Error uploading C:\Documents and Settings\...' .

do the gui_upload wont execute in background?.

Please suggest.

Usefull anwers will be rewarded.

Neslin.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,259

GUI_UPLOAD FM will not work in Background.

so try to use OPEN dataset command instead of GUI_UPLOAD FM

Thanks

Seshu

GUI_UPLOAD FM will not work in Background.

so try to use OPEN dataset command instead of GUI_UPLOAD FM

Thanks

Seshu

7 REPLIES 7
Read only

Former Member
0 Likes
1,259

deleted

first upload the file from desktopto application server before running in Background job and use that

Message was edited by:

Kiran Machavarapu

Read only

Former Member
0 Likes
1,260

GUI_UPLOAD FM will not work in Background.

so try to use OPEN dataset command instead of GUI_UPLOAD FM

Thanks

Seshu

Read only

Former Member
0 Likes
1,259

Hi Neslin..

In background ur program gets executed on application server.....so no link to desktop file location

So to excess the file put them on appl. server and use the Open, close dataset.

Message was edited by:

Dhananjay Patil

Read only

Former Member
0 Likes
1,259

Hi Neslin,

GUI_UPLOAD wont work in the back ground as these function modules need presentation or GUI but in the back ground process we dont have access on the GUI.

Instead, upload the data using DATASET statements.

Thanks,

Vinay

Read only

Former Member
0 Likes
1,259

Hi

The GUI Upload and GUI download FMs are used only when the program is executed in the foreground only.

If we have to use the GUI download in the background u have to first create a program such that the file from the presentation server is trannsferred to the application server through the help of the dataset statements.

Then on onwards your program would be executed in the background succesfully.

Regards

Rajesh.

Read only

Former Member
Read only

Former Member
0 Likes
1,259

Hi Neslin,

We have the same problem, just wondering if you got it to work using GUI_UPLOAD or did you find another method of uploading from presentation server when running program in background ..

Thanks