<?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: TAB delimeter between fields while transfering file to application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tab-delimeter-between-fields-while-transfering-file-to-application-server/m-p/2890955#M679411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use Tab with value '09' of type hexadecimal. otherwise tab won't appear in the file reated on application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;constants: wc_tab type X value '09'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate f1 wc_tab f2....... " populating workarea to be transferred on application server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Oct 2007 10:08:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-12T10:08:13Z</dc:date>
    <item>
      <title>TAB delimeter between fields while transfering file to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tab-delimeter-between-fields-while-transfering-file-to-application-server/m-p/2890954#M679410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How to get tab delimeter between fields while transfering file to application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 10:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tab-delimeter-between-fields-while-transfering-file-to-application-server/m-p/2890954#M679410</guid>
      <dc:creator>suresh_kumar53</dc:creator>
      <dc:date>2007-10-12T10:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: TAB delimeter between fields while transfering file to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tab-delimeter-between-fields-while-transfering-file-to-application-server/m-p/2890955#M679411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use Tab with value '09' of type hexadecimal. otherwise tab won't appear in the file reated on application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;constants: wc_tab type X value '09'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate f1 wc_tab f2....... " populating workarea to be transferred on application server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 10:08:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tab-delimeter-between-fields-while-transfering-file-to-application-server/m-p/2890955#M679411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T10:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: TAB delimeter between fields while transfering file to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tab-delimeter-between-fields-while-transfering-file-to-application-server/m-p/2890956#M679412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can try using the constant HORIZONTAL_TAB of the class CL_ABAP_CHAR_UTILITIES.&lt;/P&gt;&lt;P&gt;you can concatenate this constant as we concatenate char fields.&lt;/P&gt;&lt;P&gt;For eg. &lt;/P&gt;&lt;P&gt;concatenate var1 var2 into var3 separated by CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF tabulator,&lt;/P&gt;&lt;P&gt;        x(1) TYPE x VALUE '09',&lt;/P&gt;&lt;P&gt;      END OF tabulator.&lt;/P&gt;&lt;P&gt;DATA: tabulator_c(1) TYPE c.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SYSTEM_CODEPAGE'&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            codepage = c_to.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  tabulator_c = tabulator.&lt;/P&gt;&lt;P&gt;  TRANSLATE tabulator_c FROM CODE PAGE c_from TO CODE PAGE c_to.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    do.&lt;/P&gt;&lt;P&gt;      assign component sy-index of structure str &amp;lt;f&amp;gt;.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        EXIT.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      concatenate string &amp;lt;f&amp;gt; tabulator_c into string.&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;OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZREDDYDEMO2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : var1 value 'c'.&lt;/P&gt;&lt;P&gt;data : var2 value 'd'.&lt;/P&gt;&lt;P&gt;data : var3(10).&lt;/P&gt;&lt;P&gt;constants : var4 type x value '09'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 1,&lt;/P&gt;&lt;P&gt;one(10),&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE var1 var2 into var3 SEPARATED by VAR4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*CONCATENATE var1 VAR4 var2 into var3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : var3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-one = var3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET 'MY_TEST1' FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSFER ITAB TO 'MY_TEST1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOSE DATASET 'MY_TEST1'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Declare a constant to store the tab&lt;/P&gt;&lt;P&gt;CONSTANTS: c_split TYPE c&lt;/P&gt;&lt;P&gt;VALUE cl_abap_char_utilities=&amp;gt;horizontal_tab,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose you are in 4.6C or earlier you will need the hex value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: c_split TYPE x VALUE '09'.&lt;/P&gt;&lt;P&gt;2. Write the field content into one long line which you are using for upload&lt;/P&gt;&lt;P&gt;e.g CONCATENATE p_direct p_obj sy-datum text-037 INTO wa_error SEPARATED BY c_split.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Transfer to Application server&lt;/P&gt;&lt;P&gt;TRANSFER wa_error TO p_f2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 10:08:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tab-delimeter-between-fields-while-transfering-file-to-application-server/m-p/2890956#M679412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T10:08:41Z</dc:date>
    </item>
  </channel>
</rss>

