<?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: Writing to application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117904#M108020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean that you want to save the output from AL11 to the PC? If so, it will be truncated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could write it to the ap server, then retrieve and download it to the PC, but a better solution would be to simply download the internal table directly to the PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2006 18:22:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-05T18:22:44Z</dc:date>
    <item>
      <title>Writing to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117901#M108017</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 an internal table which has a string of length 600.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have many records in it which have to be moved to appl server .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open dataset path for output in text mode.&lt;/P&gt;&lt;P&gt;loop&lt;/P&gt;&lt;P&gt;transfer&lt;/P&gt;&lt;P&gt;endloop&lt;/P&gt;&lt;P&gt;close dataset &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the file is moved but when i check thru al11 i see truncated values .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. if i do a read dataset for input .. i retrieve the complete string .&lt;/P&gt;&lt;P&gt;2. BUT if I save file from application server to desktop. I get truncated file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i handle this case. ultimately the file will be retrieved by the second way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COuld someone help in this regard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Neelima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 18:06:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117901#M108017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T18:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117902#M108018</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;   How r u saving ur file from application server to desktop??&lt;/P&gt;&lt;P&gt;   r u doing FTP or coding or that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 18:15:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117902#M108018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T18:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117903#M108019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neelima,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to use the Transaction CG3Y to download from Application Server to Presentation Server.&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;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 18:19:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117903#M108019</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-01-05T18:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117904#M108020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean that you want to save the output from AL11 to the PC? If so, it will be truncated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could write it to the ap server, then retrieve and download it to the PC, but a better solution would be to simply download the internal table directly to the PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 18:22:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117904#M108020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T18:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117905#M108021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neelima,&lt;/P&gt;&lt;P&gt;You can try using the function module:&lt;/P&gt;&lt;P&gt;ARCHIVFILE_SERVER_TO_CLIENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;P&gt;Please close the issue with appropriate points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 18:28:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117905#M108021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T18:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117906#M108022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of now I dont know what is the method the users are going to use to extract file from application server to PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just to dump the file into application server .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction CG3Y does not help as this downloads a truncated file .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal table : begin of it_download&lt;/P&gt;&lt;P&gt;                   str(500)&lt;/P&gt;&lt;P&gt;                end of it_download&lt;/P&gt;&lt;P&gt;Isnt it possible to write a file to appln server which has a string of length 500  ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 18:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117906#M108022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T18:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117907#M108023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it can write till 255 characters i guess&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: chandrasekhar jagarlamudi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 18:42:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117907#M108023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T18:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117908#M108024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The file has the correct length. Both transactions you are using to display or download truncate the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 18:49:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117908#M108024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T18:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117909#M108025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neelima,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to save it as a .htm file &amp;amp; open it in a browser.&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;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 18:52:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117909#M108025</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-01-05T18:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117910#M108026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if this program is not executing in background then use function module CLPB_EXPORT.. in the loop where you transfer, also append to the itab of this function module. when the program finishes, just open a notepad and ctrl+v.. you will see your data..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically u are moving your itab to clipboard..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Sudhakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 18:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117910#M108026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T18:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117911#M108027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT ztest.

DATA: BEGIN OF itab OCCURS 0,
        field(600),
      END   OF itab.
DATA: dsn(100) VALUE '/usr/sap/xfr/FIS/testtxt'.

OPEN DATASET dsn FOR INPUT.

DO.
  READ DATASET dsn INTO itab-field.
  IF sy-subrc = 0.
    APPEND itab.
  ELSE.
    EXIT.
  ENDIF.
ENDDO.

CALL FUNCTION 'GUI_DOWNLOAD'
     EXPORTING
          filename     = 'c:temptestn.txt'
     TABLES
          data_tab     = itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 18:57:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117911#M108027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T18:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117912#M108028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can write only 255 characters to application server ,&lt;/P&gt;&lt;P&gt;i had tested that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:str(500).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do 19 times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   concatenate str 'abcdefghijklmnopqrstuvwxyz' into str separated by&lt;/P&gt;&lt;P&gt;space.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be if u want length of 500 , write the data to 2 files in application server , and then combine into one internal table finally&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  YCHATEST                                                    *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  YCHATEST                                .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:str(500).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do 19 times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   concatenate str 'abcdefghijklmnopqrstuvwxyz' into str separated by&lt;/P&gt;&lt;P&gt;space.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open dataset '/usr/sap/DR1/DVEBMGS00/work/cha' for output in text mode&lt;/P&gt;&lt;P&gt;encoding default.&lt;/P&gt;&lt;P&gt;open dataset '/usr/sap/DR1/DVEBMGS00/work/cha1' for output in text mode&lt;/P&gt;&lt;P&gt;encoding default.&lt;/P&gt;&lt;P&gt;transfer str+0(255) to '/usr/sap/DR1/DVEBMGS00/work/cha'.&lt;/P&gt;&lt;P&gt;transfer str+255(245) to '/usr/sap/DR1/DVEBMGS00/work/cha1'.&lt;/P&gt;&lt;P&gt;close dataset '/usr/sap/DR1/DVEBMGS00/work/cha'.&lt;/P&gt;&lt;P&gt;close dataset '/usr/sap/DR1/DVEBMGS00/work/cha1'.&lt;/P&gt;&lt;P&gt;*delete dataset '/usr/sap/DR1/DVEBMGS00/work/cha'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open dataset '/usr/sap/DR1/DVEBMGS00/work/cha' for output in text mode&lt;/P&gt;&lt;P&gt;encoding default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;transfer str to '/usr/sap/DR1/DVEBMGS00/work/cha'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;close dataset '/usr/sap/DR1/DVEBMGS00/work/cha'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this write only 255 characters ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 19:06:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117912#M108028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T19:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117913#M108029</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;  Although we are not able to see the full line contents in transaction AL11, but if we download the data, we will get the full data.  Contents won't be truncated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if you agree with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ganesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 16:10:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117913#M108029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T16:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117914#M108030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANKS GANESH ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I absolutely agree with you . Though the complete file is not seen but the file is written to the application server . This can be confirmed after the file is read back from the application server .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neelima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 16:27:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-to-application-server/m-p/1117914#M108030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T16:27:42Z</dc:date>
    </item>
  </channel>
</rss>

