<?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: data not populating into the appln server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150331#M992496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai pritam,&lt;/P&gt;&lt;P&gt;thanx for ur reply.&lt;/P&gt;&lt;P&gt;a small clarity from my side to u.&lt;/P&gt;&lt;P&gt;Here in my requirement when i execute my interface program.&lt;/P&gt;&lt;P&gt;it should generate an excel file and it should b transferred to application server.that's why i used fm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jul 2008 09:21:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-11T09:21:50Z</dc:date>
    <item>
      <title>data not populating into the appln server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150327#M992492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               Plz refer my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w-directory = '/usr/sap/trans/'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  w-filename = 'ZMAHESH1.XLS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE w-directory w-filename INTO w-file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*open file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  OPEN DATASET w-file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Transfer the data into excel sheet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'SAP_CONVERT_TO_XLS_FORMAT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_FIELD_SEPERATOR          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_LINE_HEADER              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      i_filename = w-file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_APPL_KEEP                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        i_tab_sap_data             = tab_file_data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_TAB_CONVERTED_DATA       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     conversion_failed          = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     OTHERS                     = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              .&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;&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&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;&lt;/P&gt;&lt;P&gt;*close file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLOSE DATASET w-file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I want to transfer the data which is in tab_file_data to excel file which I am trying to generate in application server.of-course the excel file is getting generated wirh the same name(zmahesh1).but when I double click on the filename in appln server it is saying that no contents in the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody give the immediate reply for this.&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;&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 08:49:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150327#M992492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T08:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: data not populating into the appln server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150328#M992493</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 think you are not writing any contents from the  internal table to file . i mean you are not using any TRANSFER  statement to write to the application server file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use transfer stmt for writing the contents of the internal table to the application server file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open dataset in write mode.&lt;/P&gt;&lt;P&gt;transfer workarea contents to file.&lt;/P&gt;&lt;P&gt;close dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover I think that there is no need of that Function module which you used .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 09:13:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150328#M992493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T09:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: data not populating into the appln server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150329#M992494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  to transfer into application  server you have to do it by transfer options, take your file into internal table, then loop the itab and get it into your specified file in app server. as below, there is nothing like excel format in app server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET w-file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;loop itab into wa.&lt;/P&gt;&lt;P&gt;transfer wato w-directory.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;CLOSE DATASET w-file.&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;ptitam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 09:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150329#M992494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T09:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: data not populating into the appln server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150330#M992495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai murthy,&lt;/P&gt;&lt;P&gt;thanx for ur reply.&lt;/P&gt;&lt;P&gt;a small clarity from my side to u.&lt;/P&gt;&lt;P&gt;Here in my requirement when i execute my interface program.&lt;/P&gt;&lt;P&gt;it should generate an excel file and it should b transferred to application server.that's why i used fm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still if my requirement is not clear to u.plz reply back.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 09:19:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150330#M992495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T09:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: data not populating into the appln server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150331#M992496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai pritam,&lt;/P&gt;&lt;P&gt;thanx for ur reply.&lt;/P&gt;&lt;P&gt;a small clarity from my side to u.&lt;/P&gt;&lt;P&gt;Here in my requirement when i execute my interface program.&lt;/P&gt;&lt;P&gt;it should generate an excel file and it should b transferred to application server.that's why i used fm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 09:21:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150331#M992496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T09:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: data not populating into the appln server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150332#M992497</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; there are 2 ways for doing that.&lt;/P&gt;&lt;P&gt;1) Remove that function module and modify the code as follows:&lt;/P&gt;&lt;P&gt;open dataset.&lt;/P&gt;&lt;P&gt;loop the internal table.&lt;/P&gt;&lt;P&gt;transfer internal table  workarea to file.&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;&lt;/P&gt;&lt;P&gt;2) By using that FM generate an excel file on to the presentation server. remember to save the path of presentation aswellas application server paths.&lt;/P&gt;&lt;P&gt;Now using the following function module, you can upload it to the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'C13Z_FRONT_END_TO_APPL'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This particular FM opens a dialog box to select the source file from presentation and destination on application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 09:30:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150332#M992497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T09:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: data not populating into the appln server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150333#M992498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi do like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open dataset for p_file for output in text mode encoding default .&lt;/P&gt;&lt;P&gt;outrec+0(10) = it_final-field.&lt;/P&gt;&lt;P&gt;transfer outrec to p_file.&lt;/P&gt;&lt;P&gt;close dataset for p_file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 16:05:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150333#M992498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T16:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: data not populating into the appln server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150334#M992499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;   There is no concept of Excel file on application server.May be they want it as '.CSV ' file on application server.Which can be viwed as XLS file when they download into Presentation server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can only Transfer File to application server in Text format.If you want .CSV file then use comma seperator between and upload to Application server.Which can be used as CSV file on presentation server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you know how to download to Application server&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 08:06:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-populating-into-the-appln-server/m-p/4150334#M992499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T08:06:28Z</dc:date>
    </item>
  </channel>
</rss>

