<?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 RUNNING PROGRAM IN BACKGRUND in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876346#M50765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm running a program that should create a file with 'opendataset for output...' and it create the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the same program in background the file is not created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same user then same right!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have any idea to help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Feb 2005 14:18:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-02-01T14:18:38Z</dc:date>
    <item>
      <title>RUNNING PROGRAM IN BACKGRUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876346#M50765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm running a program that should create a file with 'opendataset for output...' and it create the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the same program in background the file is not created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same user then same right!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have any idea to help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2005 14:18:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876346#M50765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-01T14:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: RUNNING PROGRAM IN BACKGRUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876347#M50766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your job running on a different server than your online user?  Does the other server have the same directory structure?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2005 14:21:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876347#M50766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-01T14:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: RUNNING PROGRAM IN BACKGRUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876348#M50767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually this should work....&lt;/P&gt;&lt;P&gt;are you sure that it is the same path and can be reached from the application server (are there more than one application server involved? &lt;/P&gt;&lt;P&gt;For analysis purposes I think there is an option of the open dataset which gives the reason back why a file could not be created (messages if I remember right) &lt;/P&gt;&lt;P&gt;You could add this and see if and why it fails...&lt;/P&gt;&lt;P&gt;You can also restart the job via sm37 in debug mode (by clicking on the job and put JDBG in the ok_code field) if this does not cause to much load on your system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2005 14:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876348#M50767</guid>
      <dc:creator>ChristianFi</dc:creator>
      <dc:date>2005-02-01T14:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: RUNNING PROGRAM IN BACKGRUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876349#M50768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi charles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer I was thinking to this problem too...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But let's suppose there are different application server, how should I correct my program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking in transaction AL11 the possible directories and maybe the one I'm using is only for one application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think about that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How then should I solve this ? Use another directory ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: STEPHAN KAMINSKI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2005 14:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876349#M50768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-01T14:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: RUNNING PROGRAM IN BACKGRUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876350#M50769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this in fact!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I planned the job it didn't work! I runned it online (se38) and it did work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe there are different directories!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2005 14:26:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876350#M50769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-01T14:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: RUNNING PROGRAM IN BACKGRUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876351#M50770</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;-&amp;gt;pls control sy-subrc &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; OPEN DATASET dsn FOR output MESSAGE msg. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0. &lt;/P&gt;&lt;P&gt;  WRITE / msg. &lt;/P&gt;&lt;P&gt;  STOP. &lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll guess it's an auth.-problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards  Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2005 14:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876351#M50770</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-02-01T14:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: RUNNING PROGRAM IN BACKGRUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876352#M50771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for this &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="grin"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2005 14:36:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876352#M50771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-01T14:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: RUNNING PROGRAM IN BACKGRUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876353#M50772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To check if it is a problem with different server&lt;/P&gt;&lt;P&gt;try following: &lt;/P&gt;&lt;P&gt;go to sm51 - click on the server on which the background job was started (and failed). Call se38 and try it again. If it fails in foreground it is a problem of the application server. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2005 14:39:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876353#M50772</guid>
      <dc:creator>ChristianFi</dc:creator>
      <dc:date>2005-02-01T14:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: RUNNING PROGRAM IN BACKGRUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876354#M50773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stephan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is a problem with the program running on the wrong server you can correct it by setting up the job in SM36 instead of just executing it from the selection screen.  On the first screen you can type in your target server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Becky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2005 19:01:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876354#M50773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-01T19:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: RUNNING PROGRAM IN BACKGRUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876355#M50774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typically in a multi-server environment, load balancing takes care of distributing the background jobs to different application servers. So, there needs to be a file handling strategy in place. Here is how it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a file structure for all your requirements.&lt;/P&gt;&lt;P&gt;2. Mount this file directory struture on all the application and database servers. OS people will be doing this. By doing this, you will remove the dependency on which server program runs. Also, any file can be created/changed/deleted from ABAP, irrespective of which server it is run on.&lt;/P&gt;&lt;P&gt;3. Create logical filenames so that all programs can use them as a standard. This will also help in centralizing the changes to the directory structure. Suppose, you want to point a logical file directory to a different physical directory, you do it in one place not in every program(if you don't use logical files).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2005 21:55:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-program-in-backgrund/m-p/876355#M50774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-01T21:55:28Z</dc:date>
    </item>
  </channel>
</rss>

