Application Development 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: 

CONTROL_FLUSH_ERROR with GUI_DOWNLOAD

Former Member
0 Kudos

Dear All

My report throws "CONTROL_FLUSH_ERROR with GUI_DOWNLOAD " even though i am using it in foreground .

Any help will be rewarded .

Regards

Jaman

1 ACCEPTED SOLUTION

Former Member

Check out this thread

https://forums.sdn.sap.com/click.jspa?searchID=875715&messageID=2952760

You will get "CONTROL_FLUSH_ERROR " error when there is some problem with SAP GUI. Check your Gui installation and if possible uninstall the exixting GUI and reinstall the new GUI from fresh.

or use

   CALL METHOD cl_gui_frontend_services=>gui_download
      EXPORTING
        bin_filesize = l_xml_size
        filename     = 'c:tempflights.xml'
        filetype     = 'BIN'
      CHANGING
        data_tab     = l_xml_table
      EXCEPTIONS
        OTHERS       = 24.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.

Regards,

Santosh

6 REPLIES 6

Former Member

Check out this thread

https://forums.sdn.sap.com/click.jspa?searchID=875715&messageID=2952760

You will get "CONTROL_FLUSH_ERROR " error when there is some problem with SAP GUI. Check your Gui installation and if possible uninstall the exixting GUI and reinstall the new GUI from fresh.

or use

   CALL METHOD cl_gui_frontend_services=>gui_download
      EXPORTING
        bin_filesize = l_xml_size
        filename     = 'c:tempflights.xml'
        filetype     = 'BIN'
      CHANGING
        data_tab     = l_xml_table
      EXCEPTIONS
        OTHERS       = 24.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.

Regards,

Santosh

0 Kudos

Dear Santhosh

I am on 4.6c with 6.4 GUI ...Will Uninstall & reinstall GUI help me ?

I am going to that now ?

I have tried with CALL METHOD cl_gui_frontend_services=>gui_download

but still problem persists .

Hey i have uninstalled & reinstalled the same 6.4 SAP front-end but doesnt help ...

What could be the problem ? My internal table is empty .

Is it creating problem ?

Hurray ,,, Append = 'X' was creating problem .. removed it ...

Regards

jaman

Message was edited by:

ABAP Techie

Message was edited by:

ABAP Techie

0 Kudos

hi ,

search for a SAP Note in

https://websmp105.sap-ag.de/~SAPIDP/002006825000000234912001E

I guess you will definitely find some help from this

Regards,

Santosh

0 Kudos

Hurray ,,,solved it !!!!!!!!!!! Append = 'X' was creating problem .. removed it ...

and started working ....GUI was perfectly fine ...

Santosh given u full points

Thanks a ton....

Bye...

Former Member
0 Kudos

Former Member
0 Kudos

Hi Jaman,

Please have a look at the answer given by Martin in the end,

Regards,

Hema.

    • Reward points if it is useful.