<?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: File open error from Application Server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186862#M1000848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any More Suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ster&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jul 2008 20:43:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-22T20:43:21Z</dc:date>
    <item>
      <title>File open error from Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186851#M1000837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to open a file from the foreground mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when i run the program in background am unable to open it.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    OPEN DATASET fp_asfile FOR INPUT IN TEXT MODE ENCODING DEFAULT.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have alos tried to change the user with the back groung user ID. but it again failed.&lt;/P&gt;&lt;P&gt;Can any one tell me why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ster&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 19:48:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186851#M1000837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T19:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: File open error from Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186852#M1000838</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;  Make sure the file is there in all the application servers of your system...as there might be more than one application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 19:50:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186852#M1000838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T19:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: File open error from Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186853#M1000839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Naren. I really didnt understand what you meant as it might not be there in all the application servers.&lt;/P&gt;&lt;P&gt;However I am able to open it in foreground mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ster&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 19:59:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186853#M1000839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T19:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: File open error from Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186854#M1000840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean by foreground mode? &lt;/P&gt;&lt;P&gt;Are you running the same program with the same user in foreground and you are saying it work ok? &lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt; do you mean you are able to access the file through AL11 in foreground?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 20:02:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186854#M1000840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T20:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: File open error from Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186855#M1000841</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;&lt;/P&gt;&lt;P&gt;Ok..go to SM51 in your system...and then check how many application servers are there..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if there are more than one..do the following..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the background mode...the program might be running in a different application server....than the one which you used in the your foreground session..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;In your foreground session...go to system -&amp;gt; status...get the application server..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;when you define the job in SM36...there is a field in the initial screen.."Exec. Target"...which says in which application server you want to run this job...Give the application server that you got from step 1...Then release the job...now your program should work fine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 20:06:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186855#M1000841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T20:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: File open error from Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186856#M1000842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should check file permissions for read and modify in application server system. If you have a read-only, you can't open it for modifying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 20:09:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186856#M1000842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T20:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: File open error from Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186857#M1000843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi the path you mention in fp_asfile is case sensitive.. make sure you are using the exact case for all the folders and the file names.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 20:11:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186857#M1000843</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-07-22T20:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: File open error from Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186858#M1000844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Naren.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I check in SM51 I see 3 active servers. I am using ECC 6.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tsdux07_TS6_03&lt;/P&gt;&lt;P&gt;tsdux09_TS6_03&lt;/P&gt;&lt;P&gt;tsdux09_TS6_04&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System - Status - Server anem - tsdux09_TS6_03&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in SM36 when I do the F4 help  down for EXEC target I see only tsdux07_TS6_03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I try with tsdux09_TS6_03 it pops with error message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Target server tsdux09_TS6_03 is not configured for background processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ster.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 20:21:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186858#M1000844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T20:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: File open error from Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186859#M1000845</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;do one thing...for the existing job that failed to open the file..check which application server it ran..you will get this information in the job details..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now..go to SM51...double click on the application server which ran the job..create another session from that screen...now you will on that application server...you can check this by system -&amp;gt; status..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here in that new session run the program in foreground mode...check if you were to run the program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 20:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186859#M1000845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T20:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: File open error from Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186860#M1000846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are specifying the full path...and if all the app servers are mounted properly....i personally dont think foreground and background should make any difference...are you using the same user id in both case?..also how are u specifying the file path in both cases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 20:27:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186860#M1000846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T20:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: File open error from Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186861#M1000847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Aparna,&lt;/P&gt;&lt;P&gt;Everything is same in both the cases however I run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I have to look more in what Naren saaid. Multiple Application Servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I wrote this files on the APP server i did it in foregroung mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will rewrite in the back ground mode and see if I can open those with a different program in Background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shreekant...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 20:32:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186861#M1000847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T20:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: File open error from Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186862#M1000848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any More Suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ster&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 20:43:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186862#M1000848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T20:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: File open error from Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186863#M1000849</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;  check with your basis if the folder is there in all the application servers..and the application servers mounted..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 20:45:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186863#M1000849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T20:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: File open error from Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186864#M1000850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you add the MESSAGE addition in your open dataset statement and find out what is the error message. This will help you analyze the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA mess TYPE STRING.

OPEN DATASET fp_asfile FOR INPUT IN TEXT MODE ENCODING DEFAULT MESSAGE mess.

if sy-subrc ne 0.
 WRITE: / mess.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 21:23:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186864#M1000850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T21:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: File open error from Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186865#M1000851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GO to SM51,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look into the message. Double Click on the server that has a message to run in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you are in the server, Upload the files that you need to use them for background processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If UPloading from Local server run in foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the files are there in this Application server, use them for your back ground mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will take care.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shreekant....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 15:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-open-error-from-application-server/m-p/4186865#M1000851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T15:55:40Z</dc:date>
    </item>
  </channel>
</rss>

