<?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: Fatal Error in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fatal-error-in-background/m-p/4105247#M981727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ur case u r using text editor control in the selection screen. This control is nothing but OCX control that is stored in ur local PC. And u r using the class cl_gui_textedit(wrapper class) to send instructions to this control. In background SAP cannot access your ur local PC that's it is showing this error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To avoid it u can try this code;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT g_editor&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;wordwrap_mode = cl_gui_textedit=&amp;gt;wordwrap_at_fixed_position&lt;/P&gt;&lt;P&gt;wordwrap_position = line_length&lt;/P&gt;&lt;P&gt;wordwrap_to_linebreak_mode = cl_gui_textedit=&amp;gt;true&lt;/P&gt;&lt;P&gt;parent = cl_gui_custom_container=&amp;gt;screen0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2008 14:57:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-10T14:57:41Z</dc:date>
    <item>
      <title>Fatal Error in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fatal-error-in-background/m-p/4105243#M981723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating TEXT EDITOR in selection screen for this I'm doing it as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CREATE OBJECT g_custcont&lt;/P&gt;&lt;P&gt;           EXPORTING container_name = 'G_TXT_CUSTCONT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CREATE OBJECT g_editor&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;wordwrap_mode =  cl_gui_textedit=&amp;gt;wordwrap_at_fixed_position&lt;/P&gt;&lt;P&gt;           wordwrap_position = line_length&lt;/P&gt;&lt;P&gt;           wordwrap_to_linebreak_mode = cl_gui_textedit=&amp;gt;true&lt;/P&gt;&lt;P&gt;           parent = g_custcont.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is working fine in case of online execution, but giving  Fatal error: GUI cannot be reached in background scheduling.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know we can pass blank docking container in case of offline like code given below, but that is not working in case of selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:   g_doc_con1 TYPE REF TO cl_gui_docking_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     CREATE OBJECT grid1&lt;/P&gt;&lt;P&gt;                EXPORTING i_parent = g_doc_con1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 14:23:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fatal-error-in-background/m-p/4105243#M981723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T14:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Error in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fatal-error-in-background/m-p/4105244#M981724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;ALV Grid cannot be displayed in background.&lt;/P&gt;&lt;P&gt;Use the REUSE_ALV...func,modules, that will take care of both foreground as well as background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 14:27:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fatal-error-in-background/m-p/4105244#M981724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T14:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Error in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fatal-error-in-background/m-p/4105245#M981725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My dear friend I'm not facing this problem in output display, this is problem in selection screen..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 14:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fatal-error-in-background/m-p/4105245#M981725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T14:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Error in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fatal-error-in-background/m-p/4105246#M981726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I am not able to post you a link for this.&lt;/P&gt;&lt;P&gt;Search for your "Fatal error: GUI cannot be reached in background scheduling" in google search engine.&lt;/P&gt;&lt;P&gt;You will get a document related to this posted in SAP technical.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 14:39:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fatal-error-in-background/m-p/4105246#M981726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T14:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Error in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fatal-error-in-background/m-p/4105247#M981727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ur case u r using text editor control in the selection screen. This control is nothing but OCX control that is stored in ur local PC. And u r using the class cl_gui_textedit(wrapper class) to send instructions to this control. In background SAP cannot access your ur local PC that's it is showing this error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To avoid it u can try this code;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT g_editor&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;wordwrap_mode = cl_gui_textedit=&amp;gt;wordwrap_at_fixed_position&lt;/P&gt;&lt;P&gt;wordwrap_position = line_length&lt;/P&gt;&lt;P&gt;wordwrap_to_linebreak_mode = cl_gui_textedit=&amp;gt;true&lt;/P&gt;&lt;P&gt;parent = cl_gui_custom_container=&amp;gt;screen0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 14:57:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fatal-error-in-background/m-p/4105247#M981727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T14:57:41Z</dc:date>
    </item>
  </channel>
</rss>

