<?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: problem in background job in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-background-job/m-p/4785966#M1121009</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;Frontend services that perform calls to your SAP Gui can only be performed in foreground, they will never run in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always protect these calls and check if the program runs in foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-batch is initial.&lt;/P&gt;&lt;P&gt;  call the frontend services&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; error handling&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;Wim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Nov 2008 11:56:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-25T11:56:48Z</dc:date>
    <item>
      <title>problem in background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-background-job/m-p/4785963#M1121006</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 have a problem in (I think this and others that uses CL_GUI...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;DIRECTORY_LIST_FILES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBJECTS_OBJREF_NOT_ASSIGNED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need to use this method in background?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I handle this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;deniz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 11:47:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-background-job/m-p/4785963#M1121006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T11:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: problem in background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-background-job/m-p/4785964#M1121007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This cannot be used in background mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 11:50:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-background-job/m-p/4785964#M1121007</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2008-11-25T11:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: problem in background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-background-job/m-p/4785965#M1121008</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;you cannot use any gui function modules or classes in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check these.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[https://forums.sdn.sap.com/click.jspa?searchID=19041445&amp;amp;messageID=6426789 ]&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 11:54:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-background-job/m-p/4785965#M1121008</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-11-25T11:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: problem in background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-background-job/m-p/4785966#M1121009</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;Frontend services that perform calls to your SAP Gui can only be performed in foreground, they will never run in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always protect these calls and check if the program runs in foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-batch is initial.&lt;/P&gt;&lt;P&gt;  call the frontend services&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; error handling&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;Wim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 11:56:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-background-job/m-p/4785966#M1121009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T11:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: problem in background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-background-job/m-p/4785967#M1121010</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;Is there any other way to get the files under a directory in background?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;deniz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 11:59:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-background-job/m-p/4785967#M1121010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T11:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: problem in background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-background-job/m-p/4785968#M1121011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;put the file in application sever and try to get from there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using this syntex...&lt;/P&gt;&lt;P&gt;OPEN DATASET dsn FOR OUTPUT IN BINARY MODE.&lt;/P&gt;&lt;P&gt;OPEN DATASET dsn FOR INPUT IN BINARY MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Anbu B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 12:27:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-background-job/m-p/4785968#M1121011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T12:27:22Z</dc:date>
    </item>
  </channel>
</rss>

