<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Control Flush Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-flush-error/m-p/3053397#M723047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure of internal table ITAB is   &lt;/P&gt;&lt;P&gt;FIELD1  CHAR 18&lt;/P&gt;&lt;P&gt;FIELD2  CHAR 18&lt;/P&gt;&lt;P&gt;FIELD3  CHAR 40&lt;/P&gt;&lt;P&gt;FIELD4  CHAR 40&lt;/P&gt;&lt;P&gt;FIELD5  CHAR 10&lt;/P&gt;&lt;P&gt;FIELD6  CHAR 40&lt;/P&gt;&lt;P&gt;FIELD7  CHAR 12&lt;/P&gt;&lt;P&gt;FIELD8  DATS  8&lt;/P&gt;&lt;P&gt;FIELD9  CHAR 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually all this code lies into the RFC in which data is coming from oracle through XI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  BIN_FILESIZE                  =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      filename                      = p_path&lt;/P&gt;&lt;P&gt;      filetype                      = 'ASC'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  APPEND                        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WRITE_FIELD_SEPARATOR         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADER                        = '00'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TRUNC_TRAILING_BLANKS         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WRITE_LF                      = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  COL_SELECT                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  COL_SELECT_MASK               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DAT_MODE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CONFIRM_OVERWRITE             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_AUTH_CHECK                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CODEPAGE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IGNORE_CERR                   = ABAP_TRUE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  REPLACEMENT                   = '#'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WRITE_BOM                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILELENGTH                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;*{   REPLACE        RESK900114                                        2&lt;/P&gt;&lt;P&gt;*\      data_tab                      = p_mfg_diff&lt;/P&gt;&lt;P&gt;      data_tab                      = ITAB[]&lt;/P&gt;&lt;P&gt;*}   REPLACE&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     file_write_error              = 1&lt;/P&gt;&lt;P&gt;     no_batch                      = 2&lt;/P&gt;&lt;P&gt;     gui_refuse_filetransfer       = 3&lt;/P&gt;&lt;P&gt;     invalid_type                  = 4&lt;/P&gt;&lt;P&gt;     no_authority                  = 5&lt;/P&gt;&lt;P&gt;     unknown_error                 = 6&lt;/P&gt;&lt;P&gt;     header_not_allowed            = 7&lt;/P&gt;&lt;P&gt;     separator_not_allowed         = 8&lt;/P&gt;&lt;P&gt;     filesize_not_allowed          = 9&lt;/P&gt;&lt;P&gt;     header_too_long               = 10&lt;/P&gt;&lt;P&gt;     dp_error_create               = 11&lt;/P&gt;&lt;P&gt;     dp_error_send                 = 12&lt;/P&gt;&lt;P&gt;     dp_error_write                = 13&lt;/P&gt;&lt;P&gt;     unknown_dp_error              = 14&lt;/P&gt;&lt;P&gt;     access_denied                 = 15&lt;/P&gt;&lt;P&gt;     dp_out_of_memory              = 16&lt;/P&gt;&lt;P&gt;     disk_full                     = 17&lt;/P&gt;&lt;P&gt;     dp_timeout                    = 18&lt;/P&gt;&lt;P&gt;     file_not_found                = 19&lt;/P&gt;&lt;P&gt;     dataprovider_exception        = 20&lt;/P&gt;&lt;P&gt;     control_flush_error           = 21&lt;/P&gt;&lt;P&gt;     OTHERS                        = 22&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanxs&lt;/P&gt;&lt;P&gt;Gunasree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Nov 2007 17:30:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-15T17:30:50Z</dc:date>
    <item>
      <title>Control Flush Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-flush-error/m-p/3053392#M723042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using GUI_DOWNLOAD FM inside my program. I need to download the internal table into 'dbf' file format. But while executing I am getting sy-subrc = 21 which is 'CONTROL FLUSH ERROR'. Could anyone please help me on this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gunasree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 16:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-flush-error/m-p/3053392#M723042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-15T16:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Control Flush Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-flush-error/m-p/3053393#M723043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you running this in the background, or foreground?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 16:49:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-flush-error/m-p/3053393#M723043</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-11-15T16:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Control Flush Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-flush-error/m-p/3053394#M723044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are running in background, this is your issue. What you have here is a frontend dependent function module, which means it uses components in SAPgui to execute, therefore it can not be called in the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are running in foreground, then there is some other issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 16:51:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-flush-error/m-p/3053394#M723044</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-11-15T16:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Control Flush Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-flush-error/m-p/3053395#M723045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are running this in foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gunasre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 16:51:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-flush-error/m-p/3053395#M723045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-15T16:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Control Flush Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-flush-error/m-p/3053396#M723046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok great,  can you post the relevant code surrounding this coding as well as the structure of the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 17:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-flush-error/m-p/3053396#M723046</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-11-15T17:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Control Flush Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-flush-error/m-p/3053397#M723047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure of internal table ITAB is   &lt;/P&gt;&lt;P&gt;FIELD1  CHAR 18&lt;/P&gt;&lt;P&gt;FIELD2  CHAR 18&lt;/P&gt;&lt;P&gt;FIELD3  CHAR 40&lt;/P&gt;&lt;P&gt;FIELD4  CHAR 40&lt;/P&gt;&lt;P&gt;FIELD5  CHAR 10&lt;/P&gt;&lt;P&gt;FIELD6  CHAR 40&lt;/P&gt;&lt;P&gt;FIELD7  CHAR 12&lt;/P&gt;&lt;P&gt;FIELD8  DATS  8&lt;/P&gt;&lt;P&gt;FIELD9  CHAR 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually all this code lies into the RFC in which data is coming from oracle through XI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  BIN_FILESIZE                  =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      filename                      = p_path&lt;/P&gt;&lt;P&gt;      filetype                      = 'ASC'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  APPEND                        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WRITE_FIELD_SEPARATOR         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADER                        = '00'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TRUNC_TRAILING_BLANKS         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WRITE_LF                      = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  COL_SELECT                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  COL_SELECT_MASK               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DAT_MODE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CONFIRM_OVERWRITE             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_AUTH_CHECK                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CODEPAGE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IGNORE_CERR                   = ABAP_TRUE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  REPLACEMENT                   = '#'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WRITE_BOM                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILELENGTH                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;*{   REPLACE        RESK900114                                        2&lt;/P&gt;&lt;P&gt;*\      data_tab                      = p_mfg_diff&lt;/P&gt;&lt;P&gt;      data_tab                      = ITAB[]&lt;/P&gt;&lt;P&gt;*}   REPLACE&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     file_write_error              = 1&lt;/P&gt;&lt;P&gt;     no_batch                      = 2&lt;/P&gt;&lt;P&gt;     gui_refuse_filetransfer       = 3&lt;/P&gt;&lt;P&gt;     invalid_type                  = 4&lt;/P&gt;&lt;P&gt;     no_authority                  = 5&lt;/P&gt;&lt;P&gt;     unknown_error                 = 6&lt;/P&gt;&lt;P&gt;     header_not_allowed            = 7&lt;/P&gt;&lt;P&gt;     separator_not_allowed         = 8&lt;/P&gt;&lt;P&gt;     filesize_not_allowed          = 9&lt;/P&gt;&lt;P&gt;     header_too_long               = 10&lt;/P&gt;&lt;P&gt;     dp_error_create               = 11&lt;/P&gt;&lt;P&gt;     dp_error_send                 = 12&lt;/P&gt;&lt;P&gt;     dp_error_write                = 13&lt;/P&gt;&lt;P&gt;     unknown_dp_error              = 14&lt;/P&gt;&lt;P&gt;     access_denied                 = 15&lt;/P&gt;&lt;P&gt;     dp_out_of_memory              = 16&lt;/P&gt;&lt;P&gt;     disk_full                     = 17&lt;/P&gt;&lt;P&gt;     dp_timeout                    = 18&lt;/P&gt;&lt;P&gt;     file_not_found                = 19&lt;/P&gt;&lt;P&gt;     dataprovider_exception        = 20&lt;/P&gt;&lt;P&gt;     control_flush_error           = 21&lt;/P&gt;&lt;P&gt;     OTHERS                        = 22&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanxs&lt;/P&gt;&lt;P&gt;Gunasree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 17:30:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-flush-error/m-p/3053397#M723047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-15T17:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Control Flush Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-flush-error/m-p/3053398#M723048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;i&amp;gt;Actually all this code lies into the RFC in which data is coming from oracle through XI.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not being called from within SAPgui, then you will have a problem.  This function is highly dependent on the SAPgui, and it must be called when using SAPgui.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can not call this remotely from any other source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 17:47:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-flush-error/m-p/3053398#M723048</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-11-15T17:47:54Z</dc:date>
    </item>
  </channel>
</rss>

