<?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: applicationserver file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/applicationserver-file/m-p/4548479#M1074166</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;Is the directory(or even the parent of the directory) that you are writing defined/listed in AL11?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or do you create the directory with your program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may need to configure AL11 to read the directory that you are writing to.( or have Basis configure it for you ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg Kern&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2008 20:08:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-06T20:08:18Z</dc:date>
    <item>
      <title>applicationserver file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/applicationserver-file/m-p/4548476#M1074163</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 directory and write data to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I go to AL11 and find for it am unable to see the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debug mode I see the SY-subrc = 0.&lt;/P&gt;&lt;P&gt;OPEN DATASET p_apmap1 FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Else should I see the file.&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>Mon, 06 Oct 2008 19:24:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/applicationserver-file/m-p/4548476#M1074163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T19:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: applicationserver file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/applicationserver-file/m-p/4548477#M1074164</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;A couple of questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the directory that you are writing defined in AL11?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you CLOSE DATASET?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you open the file that you wrote?  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg Kern&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 19:33:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/applicationserver-file/m-p/4548477#M1074164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T19:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: applicationserver file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/applicationserver-file/m-p/4548478#M1074165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can close the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to read the file using a difrent program and it reads as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I see in AL11, I am unable to locate the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Idea if the file stores some where else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ster&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 19:53:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/applicationserver-file/m-p/4548478#M1074165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T19:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: applicationserver file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/applicationserver-file/m-p/4548479#M1074166</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;Is the directory(or even the parent of the directory) that you are writing defined/listed in AL11?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or do you create the directory with your program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may need to configure AL11 to read the directory that you are writing to.( or have Basis configure it for you ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg Kern&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 20:08:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/applicationserver-file/m-p/4548479#M1074166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T20:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: applicationserver file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/applicationserver-file/m-p/4548480#M1074167</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;Try using this FM&lt;/P&gt;&lt;P&gt;Change i_path to whichever directory you are writing to&lt;/P&gt;&lt;P&gt;you should be able to see the file then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: lv_opath like dxfields-longpath.
  data: ev_server_name like btctgtsrvr-srvname,
        server_name like msxxlist-name.
  call 'C_SAPGPARAM'
  id 'NAME' field 'rdisp/myname'
  id 'VALUE' field ev_server_name.
  if sy-subrc &amp;lt;&amp;gt; 0.
    clear ev_server_name.
  endif.

  move ev_server_name to server_name.

  call function 'F4_DXFILENAME_TOPRECURSION'
   exporting
     i_location_flag       = 'X'
     i_server              = server_name
     i_path                = 'D:\'
*     FILEMASK              = '*.*'
*     FILEOPERATION         = 'R'
   importing
*     O_LOCATION_FLAG       =
*     O_SERVER              =
      o_path                = lv_opath
*     ABEND_FLAG            =
   EXCEPTIONS
     RFC_ERROR             = 1
     ERROR_WITH_GUI        = 2
     OTHERS                = 3
            .
  if sy-subrc &amp;lt;&amp;gt; 0.
   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 03:36:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/applicationserver-file/m-p/4548480#M1074167</guid>
      <dc:creator>former_member189059</dc:creator>
      <dc:date>2008-10-07T03:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: applicationserver file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/applicationserver-file/m-p/4548481#M1074168</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;Use this FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;If you have multiple application sever best use this FM&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION &lt;STRONG&gt;'DX_FILE_WRITE'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;          filename = target_filename&lt;/P&gt;&lt;P&gt;          server    = target_server&lt;/P&gt;&lt;P&gt;          pc         = space&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;          data_tab = lt_data_fix&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          OTHERS   = 4.&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;Durai.V&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Durai V on Oct 7, 2008 6:14 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 04:13:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/applicationserver-file/m-p/4548481#M1074168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T04:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: applicationserver file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/applicationserver-file/m-p/4548482#M1074169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi use the transaction CG3z to move the file from presentation server to application server, instead of doing code for that , u can use this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 04:17:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/applicationserver-file/m-p/4548482#M1074169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T04:17:35Z</dc:date>
    </item>
  </channel>
</rss>

