<?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: Code works fine while debugging only in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-works-fine-while-debugging-only/m-p/6099263#M1360085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sameer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you executing the program in online or background mode ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just FYI, it will not run in background mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Sep 2009 11:50:44 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2009-09-03T11:50:44Z</dc:date>
    <item>
      <title>Code works fine while debugging only</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-works-fine-while-debugging-only/m-p/6099261#M1360083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written code which creates un-encrypted file using GUI_DOWNLOAD than encrypt file using execute method of cl_gui_frontend_services, this creates two files one encrypted file &amp;amp; another without encryption.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this I'm deleting un-encrypted file using file_delete method of cl_gui_frontend_services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works perfect in debugged mode while i run the program without debugged, It is failing to generate any file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also in that case y sy-subrc is also not changing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sameer Desai on Sep 3, 2009 6:38 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 11:38:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-works-fine-while-debugging-only/m-p/6099261#M1360083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-03T11:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Code works fine while debugging only</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-works-fine-while-debugging-only/m-p/6099262#M1360084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Code:&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;P&gt;    filename                        = lv_in&lt;/P&gt;&lt;P&gt;    filetype                        = 'ASC'&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    data_tab                        = it_string[]&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 = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Creating encryption command&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;    clear: lv_file.&lt;/P&gt;&lt;P&gt;    concatenate lv_in lv_out 'e' into lv_file separated by space.&lt;/P&gt;&lt;P&gt;    clear: lv_exe.&lt;/P&gt;&lt;P&gt;    move x_zkotakadmin-exe to lv_exe.&lt;/P&gt;&lt;P&gt;    translate lv_exe to upper case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call method cl_gui_frontend_services=&amp;gt;execute&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;        application            = lv_exe&lt;/P&gt;&lt;P&gt;        parameter              = lv_file&lt;/P&gt;&lt;P&gt;      exceptions&lt;/P&gt;&lt;P&gt;        cntl_error             = 1&lt;/P&gt;&lt;P&gt;        error_no_gui           = 2&lt;/P&gt;&lt;P&gt;        bad_parameter          = 3&lt;/P&gt;&lt;P&gt;        file_not_found         = 4&lt;/P&gt;&lt;P&gt;        path_not_found         = 5&lt;/P&gt;&lt;P&gt;        file_extension_unknown = 6&lt;/P&gt;&lt;P&gt;        error_execute_failed   = 7&lt;/P&gt;&lt;P&gt;        synchronous_failed     = 8&lt;/P&gt;&lt;P&gt;        not_supported_by_gui   = 9&lt;/P&gt;&lt;P&gt;        others                 = 10.&lt;/P&gt;&lt;P&gt;    if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      call method cl_gui_frontend_services=&amp;gt;file_delete&lt;/P&gt;&lt;P&gt;        exporting&lt;/P&gt;&lt;P&gt;          filename             = lv_in&lt;/P&gt;&lt;P&gt;        changing&lt;/P&gt;&lt;P&gt;          rc                   = lv_return&lt;/P&gt;&lt;P&gt;        exceptions&lt;/P&gt;&lt;P&gt;          file_delete_failed   = 1&lt;/P&gt;&lt;P&gt;          cntl_error           = 2&lt;/P&gt;&lt;P&gt;          error_no_gui         = 3&lt;/P&gt;&lt;P&gt;          file_not_found       = 4&lt;/P&gt;&lt;P&gt;          access_denied        = 5&lt;/P&gt;&lt;P&gt;          unknown_error        = 6&lt;/P&gt;&lt;P&gt;          not_supported_by_gui = 7&lt;/P&gt;&lt;P&gt;          wrong_parameter      = 8&lt;/P&gt;&lt;P&gt;          others               = 9.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 11:39:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-works-fine-while-debugging-only/m-p/6099262#M1360084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-03T11:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Code works fine while debugging only</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-works-fine-while-debugging-only/m-p/6099263#M1360085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sameer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you executing the program in online or background mode ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just FYI, it will not run in background mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 11:50:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-works-fine-while-debugging-only/m-p/6099263#M1360085</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-09-03T11:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Code works fine while debugging only</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-works-fine-while-debugging-only/m-p/6099264#M1360086</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'm running in online only... not in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sameer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 11:52:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-works-fine-while-debugging-only/m-p/6099264#M1360086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-03T11:52:04Z</dc:date>
    </item>
  </channel>
</rss>

