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

Getting CONTROL_FLUSH_ERROR error with GUI_UPLOAD

sreeramkumar_madisetty
Active Contributor
0 Likes
591

Hi Friends

In my Report I am using the FM: GUI_UPLOAD and while running the report in foreground, I am getting the proper results. But while running the same in Background I am getting the error: CONTROL_FLUSH_ERROR .

As my understanding ,to resolve this we have to upgrade the sap gui.

Can anyone suggest me the exact reason for this error and the solution as well.

Points are assured for useful answers.

@SAP GURUS: I am eagerly waiting for your help and suggestions on this.

Regards,

Sree

4 REPLIES 4
Read only

Former Member
0 Likes
565

Hi,

GUI_UPLOAD does not work in background mode. This is applicable only for foreground mode.

Shruthi

Edited by: Shruthi R on May 23, 2008 8:58 AM

Read only

0 Likes
565

Hi Shruthi

Thanks for your Response.

Can you/any one provide me the respective SAP Note for the same.

Regards'

Sree

Read only

0 Likes
565

Hi,

As far as i know, there is no note for this. this is the functionality of GUI_UPLOAD>

GUI_* and WS_* function modules are not designed to work in that way, as they need to access your personal computer file.

To choose the correct download method to used, you can check the value of SY-BATCH in your code, check if background or foreground mode and then execute.

Hope this helps. Pls reward points if useful.

Shruthi

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
565

Closed.