<?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 Application server Download. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-download/m-p/3391412#M814330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written a code to download the itab data into a excel fiel to application server.&lt;/P&gt;&lt;P&gt;The download is happening correctly...but&lt;/P&gt;&lt;P&gt;the problem is the the data is not getting seperated columnwise&lt;/P&gt;&lt;P&gt;its displaying in the single column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to provide the tab seperator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the #,pipe symbol for seperation...but its not coming correctly...how to resolve this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS:co_remotepath(40) VALUE '/tmp/meterid.xls'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA:wk_string(200).&lt;/P&gt;&lt;P&gt;    DATA:wk_menge(10).&lt;/P&gt;&lt;P&gt;    DATA:wk_seperator TYPE c VALUE '|'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET p_pfile 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;    CONCATENATE text-007&lt;/P&gt;&lt;P&gt;                wk_seperator&lt;/P&gt;&lt;P&gt;                text-008&lt;/P&gt;&lt;P&gt;                wk_seperator&lt;/P&gt;&lt;P&gt;                text-009&lt;/P&gt;&lt;P&gt;    INTO wk_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    TRANSFER wk_string TO p_pfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR wk_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT p_it_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      wk_menge = p_it_final-menge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONDENSE wk_menge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONCATENATE  p_it_final-matnr_i&lt;/P&gt;&lt;P&gt;                   wk_seperator&lt;/P&gt;&lt;P&gt;                   p_it_final-maktx&lt;/P&gt;&lt;P&gt;                   wk_seperator&lt;/P&gt;&lt;P&gt;                   wk_menge&lt;/P&gt;&lt;P&gt;      INTO wk_string .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      TRANSFER wk_string TO p_pfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLOSE DATASET p_pfile.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2008 03:30:07 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2008-02-08T03:30:07Z</dc:date>
    <item>
      <title>Application server Download.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-download/m-p/3391412#M814330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written a code to download the itab data into a excel fiel to application server.&lt;/P&gt;&lt;P&gt;The download is happening correctly...but&lt;/P&gt;&lt;P&gt;the problem is the the data is not getting seperated columnwise&lt;/P&gt;&lt;P&gt;its displaying in the single column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to provide the tab seperator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the #,pipe symbol for seperation...but its not coming correctly...how to resolve this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS:co_remotepath(40) VALUE '/tmp/meterid.xls'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA:wk_string(200).&lt;/P&gt;&lt;P&gt;    DATA:wk_menge(10).&lt;/P&gt;&lt;P&gt;    DATA:wk_seperator TYPE c VALUE '|'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET p_pfile 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;    CONCATENATE text-007&lt;/P&gt;&lt;P&gt;                wk_seperator&lt;/P&gt;&lt;P&gt;                text-008&lt;/P&gt;&lt;P&gt;                wk_seperator&lt;/P&gt;&lt;P&gt;                text-009&lt;/P&gt;&lt;P&gt;    INTO wk_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    TRANSFER wk_string TO p_pfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR wk_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT p_it_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      wk_menge = p_it_final-menge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONDENSE wk_menge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONCATENATE  p_it_final-matnr_i&lt;/P&gt;&lt;P&gt;                   wk_seperator&lt;/P&gt;&lt;P&gt;                   p_it_final-maktx&lt;/P&gt;&lt;P&gt;                   wk_seperator&lt;/P&gt;&lt;P&gt;                   wk_menge&lt;/P&gt;&lt;P&gt;      INTO wk_string .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      TRANSFER wk_string TO p_pfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLOSE DATASET p_pfile.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 03:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-download/m-p/3391412#M814330</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2008-02-08T03:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Application server Download.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-download/m-p/3391413#M814331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
CONSTANTS:co_remotepath(40) VALUE '/tmp/meterid.xls'.

DATA:wk_string(200).
DATA:wk_menge(10).
DATA:wk_seperator TYPE c VALUE '|'.

OPEN DATASET p_pfile FOR OUTPUT IN TEXT MODE 
ENCODING DEFAULT.

CONCATENATE text-007
*wk_seperator
text-008
*wk_seperator
text-009
INTO wk_string
separated by cl_abap_char_utilities=&amp;gt;horizontal_tab. " add this line

TRANSFER wk_string TO p_pfile.

CLEAR wk_string.

LOOP AT p_it_final.

wk_menge = p_it_final-menge.

CONDENSE wk_menge.

CONCATENATE p_it_final-matnr_i
*wk_seperator
p_it_final-maktx
*wk_seperator
wk_menge
INTO wk_string separated by cl_abap_char_utilities=&amp;gt;horizontal_tab. " add this line 

TRANSFER wk_string TO p_pfile.

ENDLOOP.

CLOSE DATASET p_pfile.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 04:06:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-download/m-p/3391413#M814331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T04:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Application server Download.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-download/m-p/3391414#M814332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which FM are you using for download?&lt;/P&gt;&lt;P&gt;You can check if there is any parameter in FM for field separator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know which FM are you using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 04:16:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-download/m-p/3391414#M814332</guid>
      <dc:creator>vishal_sharda2</dc:creator>
      <dc:date>2008-02-08T04:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Application server Download.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-download/m-p/3391415#M814333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;To get a tab seperator declare a constant &lt;/P&gt;&lt;P&gt;    l_tab  type c value cl_abap_char_utilities=&amp;gt;horizontal_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use concatenate A B into C seperated by l_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you will get the tab seperator&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 05:23:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-download/m-p/3391415#M814333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T05:23:51Z</dc:date>
    </item>
  </channel>
</rss>

