<?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: Removing the carriage return / Tab during data extraction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809407#M41665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I have used all:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REPLACE cl_abap_char_utilities=&amp;gt;horizontal_tab in&lt;/P&gt;&lt;P&gt;  ZTEST001_ITAB-DESCTXZ01 with ' '.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  REPLACE cl_abap_char_utilities=&amp;gt;CR_LF in&lt;/P&gt;&lt;P&gt;  ZTEST001_ITAB-DESCTXZ01 with ' '.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  REPLACE cl_abap_char_utilities=&amp;gt;VERTICAL_TAB in&lt;/P&gt;&lt;P&gt;  ZTEST001_ITAB-DESCTXZ01 with ' '.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  REPLACE cl_abap_char_utilities=&amp;gt;NEWLINE in&lt;/P&gt;&lt;P&gt;  ZTEST001_ITAB-DESCTXZ01 with ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REPLACE cl_abap_char_utilities=&amp;gt;FORM_FEED in&lt;/P&gt;&lt;P&gt;  ZTEST001_ITAB-DESCTXZ01 with ' '.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  REPLACE cl_abap_char_utilities=&amp;gt;BACKSPACE in&lt;/P&gt;&lt;P&gt;  ZTEST001_ITAB-DESCTXZ01 with ' '.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  REPLACE cl_abap_char_utilities=&amp;gt;SPACE_STR in&lt;/P&gt;&lt;P&gt;  ZTEST001_ITAB-DESCTXZ01 with ' '.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  REPLACE cl_abap_char_utilities=&amp;gt;FORM_FEED in&lt;/P&gt;&lt;P&gt;  ZTEST001_ITAB-DESCTXZ01 with ' '.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  Still I was getting symbol [] . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In test data I created this error  by pressing ENTER key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a flat file with TAB key and Enter key. Then I uploaded to custom table in SAP. I could see the #### symbols in table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I extracted data to a flat file on server. The TAB keys were removed. But the "Enter key" is shown as [].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any info on this issue please. How to remove these [] from flat file.&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;Vasu&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Note: On double clicking I am not seeing any thing like []. I could see ## # .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Nov 2004 18:57:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-11-05T18:57:58Z</dc:date>
    <item>
      <title>Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809402#M41660</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 issue with removing the carriage return / Tab from the extracted (Flat File) data from SAP EKPO table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  1) While uploading(Long Back) the Legacy data to SAP tables the carriage returns and Tabs in Product description were uploaded to SAP tables. &lt;/P&gt;&lt;P&gt;  2) Now I am extracting data from bkpf,..EKPO.. tables  to a flat file .  &lt;/P&gt;&lt;P&gt; 3) When I extract the data i. PO number, Product description,......&lt;/P&gt;&lt;P&gt;The Product description is going to 3 to 5 lines depending on the carriage returns and Tabs in the Product description.  Ekpo-txz01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex : Mfg # DS104NA / NET######GEAR DS104 Hub######model&lt;/P&gt;&lt;P&gt;    I want  this product description in one continuous line. It is possible only  by removing the Carriage returns and tabs from product description before concatenating and TRANSFERING the file to Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) What is  getting:  The line is breaking @gear @ Hub due to Carriage return/Tab&lt;/P&gt;&lt;P&gt;Mfg  D  NET&lt;/P&gt;&lt;P&gt;GEAR DS104 Hub&lt;/P&gt;&lt;P&gt; model   .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) What is required is: in one line&lt;/P&gt;&lt;P&gt; Mfg  D  NETGEAR DS104 model &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the process I am extracting product description from Ekpo-txz01 . So it is internal table. Now I want to remove the carriage return / Tab .&lt;/P&gt;&lt;P&gt;How these can be removed.&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;Vasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2004 20:22:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809402#M41660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-04T20:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809403#M41661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vasu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can replace tab and carriage return of your text using REPLACE command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE cl_abap_char_utilities=&amp;gt;horizontal_tab in&lt;/P&gt;&lt;P&gt; Ekpo-txz01 with ' '.&lt;/P&gt;&lt;P&gt;REPLACE cl_abap_char_utilities=&amp;gt;CR_LF in&lt;/P&gt;&lt;P&gt; Ekpo-txz01 with ' '.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2004 21:05:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809403#M41661</guid>
      <dc:creator>nablan_umar</dc:creator>
      <dc:date>2004-11-04T21:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809404#M41662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Umar,&lt;/P&gt;&lt;P&gt;  First thanks for giving some solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the code as suggested,&lt;/P&gt;&lt;P&gt;1. It is removing 'Tab' only. It is not removing carriage return.&lt;/P&gt;&lt;P&gt;2. It is removing one TAB at a time.&lt;/P&gt;&lt;P&gt;3. Still I am &amp;lt;u&amp;gt;seeing a BOX [] after the text&amp;lt;/u&amp;gt; in flat file. &amp;lt;b&amp;gt;i.e carriage return is not removed from Ekpo-txz01&amp;lt;/b&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Used this and passing Ekpo-txz01 in a loop.&lt;/P&gt;&lt;P&gt;REPLACE cl_abap_char_utilities=&amp;gt;horizontal_tab in&lt;/P&gt;&lt;P&gt;Ekpo-txz01 with ' '.&lt;/P&gt;&lt;P&gt;REPLACE cl_abap_char_utilities=&amp;gt;CR_LF in&lt;/P&gt;&lt;P&gt;Ekpo-txz01 with ' '. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you suggest some solution/idea for this.&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;Vasu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: vasu bandi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2004 23:01:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809404#M41662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-04T23:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809405#M41663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using the TRANSLATE statement instead (as this replaces all instances of the constant found in the string being evaluated).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rosie Brent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rosie Brent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2004 09:58:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809405#M41663</guid>
      <dc:creator>former_member641343</dc:creator>
      <dc:date>2004-11-05T09:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809406#M41664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Double-click on cl_abap_char_utilities=&amp;gt;CR_LF. You will see other attributes that equal to that BOX. Maybe it is NEWLINE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2004 15:48:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809406#M41664</guid>
      <dc:creator>nablan_umar</dc:creator>
      <dc:date>2004-11-05T15:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809407#M41665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I have used all:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REPLACE cl_abap_char_utilities=&amp;gt;horizontal_tab in&lt;/P&gt;&lt;P&gt;  ZTEST001_ITAB-DESCTXZ01 with ' '.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  REPLACE cl_abap_char_utilities=&amp;gt;CR_LF in&lt;/P&gt;&lt;P&gt;  ZTEST001_ITAB-DESCTXZ01 with ' '.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  REPLACE cl_abap_char_utilities=&amp;gt;VERTICAL_TAB in&lt;/P&gt;&lt;P&gt;  ZTEST001_ITAB-DESCTXZ01 with ' '.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  REPLACE cl_abap_char_utilities=&amp;gt;NEWLINE in&lt;/P&gt;&lt;P&gt;  ZTEST001_ITAB-DESCTXZ01 with ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REPLACE cl_abap_char_utilities=&amp;gt;FORM_FEED in&lt;/P&gt;&lt;P&gt;  ZTEST001_ITAB-DESCTXZ01 with ' '.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  REPLACE cl_abap_char_utilities=&amp;gt;BACKSPACE in&lt;/P&gt;&lt;P&gt;  ZTEST001_ITAB-DESCTXZ01 with ' '.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  REPLACE cl_abap_char_utilities=&amp;gt;SPACE_STR in&lt;/P&gt;&lt;P&gt;  ZTEST001_ITAB-DESCTXZ01 with ' '.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  REPLACE cl_abap_char_utilities=&amp;gt;FORM_FEED in&lt;/P&gt;&lt;P&gt;  ZTEST001_ITAB-DESCTXZ01 with ' '.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  Still I was getting symbol [] . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In test data I created this error  by pressing ENTER key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a flat file with TAB key and Enter key. Then I uploaded to custom table in SAP. I could see the #### symbols in table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I extracted data to a flat file on server. The TAB keys were removed. But the "Enter key" is shown as [].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any info on this issue please. How to remove these [] from flat file.&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;Vasu&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Note: On double clicking I am not seeing any thing like []. I could see ## # .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2004 18:57:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809407#M41665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-05T18:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809408#M41666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I tried to use:&lt;/P&gt;&lt;P&gt;  data x type x value '0A'.&lt;/P&gt;&lt;P&gt;  TRANSLATE  ZTEST001_ITAB-DESCTXZ01 using x.&lt;/P&gt;&lt;P&gt; I am getting eror : X must be a character-type data object(data type C,N,D,T OR string).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Any info in solving this.&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;Vasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2004 19:05:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809408#M41666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-05T19:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809409#M41667</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;It seems TRANSLATE statement doen't like x-type arguments.&lt;/P&gt;&lt;P&gt;Our system is 4.6D and I have never used it but give a try to:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REPLACE ALL OCCURRENCES OF x IN y WITH z.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2004 19:27:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809409#M41667</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-11-05T19:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809410#M41668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I tried:&lt;/P&gt;&lt;P&gt; data : CR type x value '0D',&lt;/P&gt;&lt;P&gt;       NL type x value '0A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF CR IN ZTEST001_ITAB-DESCTXZ01 WITH ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting eror : X must be a character-type data object(data type C,N,D,T OR string).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZTEST001_ITAB-DESCTXZ01  is like ekpo-txz01.&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;Vasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2004 20:16:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809410#M41668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-05T20:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809411#M41669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vasu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't you do this removal of special characters before sending data to SAP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2004 20:21:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809411#M41669</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-11-05T20:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809412#M41670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vasu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace need the fields to be character type. Since the problem is that you are not able to find the correct code for that [] (newline), why don't you see the hex representation of that weird character. You can do that by doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Put a break point in your program.&lt;/P&gt;&lt;P&gt;2. While in debugging, display that string. Click on binacular plus icon at the right of field contents.&lt;/P&gt;&lt;P&gt;3. Find out the hex representation of that weird character.&lt;/P&gt;&lt;P&gt;4. Then in your program, declare a variable of type ABAP_CHAR1. Set it to the character you found in 3)&lt;/P&gt;&lt;P&gt;5. Then do a replace on this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2004 21:08:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809412#M41670</guid>
      <dc:creator>nablan_umar</dc:creator>
      <dc:date>2004-11-05T21:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809413#M41671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I tried:&lt;/P&gt;&lt;P&gt; data : CR type x value '0D',&lt;/P&gt;&lt;P&gt;       NL type x value '0A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF CR IN ZTEST001_ITAB-DESCTXZ01 WITH ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting eror : X must be a character-type data object(data type C,N,D,T OR string).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZTEST001_ITAB-DESCTXZ01  is like ekpo-txz01.&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;Vasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2004 21:34:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809413#M41671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-05T21:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809414#M41672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Field CR has to be type character if you want to use replace. Try finding out the character representation of that newline in your string as per in my previous reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2004 21:51:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809414#M41672</guid>
      <dc:creator>nablan_umar</dc:creator>
      <dc:date>2004-11-05T21:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809415#M41673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;  What i see is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;k####AC##3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6B232323234143232333202020202020202020202020202020202020202020202020202020202020&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it is 23 . How can we remove this.&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;VAsu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2004 21:51:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809415#M41673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-05T21:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809416#M41674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt; I am giving the values:&lt;/P&gt;&lt;P&gt; cl_abap_char_utilities=&amp;gt;horizontal_tab  -- 09&lt;/P&gt;&lt;P&gt; cl_abap_char_utilities=&amp;gt;CR_LF   -&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt; 0D0A&lt;/P&gt;&lt;P&gt; cl_abap_char_utilities=&amp;gt;VERTICAL_TAB ---  0B&lt;/P&gt;&lt;P&gt; cl_abap_char_utilities=&amp;gt;NEWLINE      -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; 0A&lt;/P&gt;&lt;P&gt; cl_abap_char_utilities=&amp;gt;FORM_FEED  -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; 0C&lt;/P&gt;&lt;P&gt; cl_abap_char_utilities=&amp;gt;BACKSPACE  --- 08&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so I am not seeing 23 . &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;Vasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2004 22:18:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809416#M41674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-05T22:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809417#M41675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vasu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes there is a problem that cannot be solved normally. This is one of them.&lt;/P&gt;&lt;P&gt;The reason why the mentioned methods do not work is because you need to remove actually two characters CR and LF in one stroke. You can identify one but then not the other. So approach it from the other side.&lt;/P&gt;&lt;P&gt;Simply define what your correct characters might be AND only use them to export.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below you will find a FORM routine that does just that (only passes defined valid characters and NOT others).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM validate_field USING    VALUE(field_in)&lt;/P&gt;&lt;P&gt;                    CHANGING field_out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;All low caps characters&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  validlow(26)  TYPE c VALUE 'abcdefghijklmnopqrstuvwxyz',&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;All upper caps characters and all figures&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  validhigh(36) TYPE c VALUE '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ',&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;All other characters (starting with space)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  validrest(32) TYPE c VALUE ' &amp;lt;,&amp;gt;.?/:;"{[}]|\~`!@#$%^&amp;amp;*()_-+=',&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Single quote&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  validquote           VALUE ''''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    pos(1) TYPE c,         " Container to hold 1 character&lt;/P&gt;&lt;P&gt;    l      TYPE i,         " Length&lt;/P&gt;&lt;P&gt;    i      TYPE i.         " Indexer&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Determine length&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  l = STRLEN( field_in ).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Stripping loop&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  WHILE i LT l.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Get one character  &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    pos = field_in+i(1).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Check its validity&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IF pos CO validlow&lt;/P&gt;&lt;P&gt;    OR pos CO validhigh&lt;/P&gt;&lt;P&gt;    OR pos CO validrest&lt;/P&gt;&lt;P&gt;    OR pos EQ validquote.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    When valid, use it&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      concatenate field_out&lt;/P&gt;&lt;P&gt;                  pos&lt;/P&gt;&lt;P&gt;             into field_out.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDWHILE.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopes this helps solving your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rob.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Nov 2004 14:25:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809417#M41675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-07T14:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809418#M41676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vasu,&lt;/P&gt;&lt;P&gt;Try the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;tb&amp;gt; TYPE x,&lt;/P&gt;&lt;P&gt;               &amp;lt;tc&amp;gt; TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;       tab(6) TYPE x VALUE '09200D200A20',&lt;/P&gt;&lt;P&gt;       char60(60) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'abCD' cl_abap_char_utilities=&amp;gt;horizontal_tab&lt;/P&gt;&lt;P&gt;                   cl_abap_char_utilities=&amp;gt;CR_LF '1234' INTO char60.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ASSIGN tab TO &amp;lt;tb&amp;gt; CASTING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ASSIGN &amp;lt;tb&amp;gt; TO &amp;lt;tc&amp;gt; CASTING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    TRANSLATE char60 USING &amp;lt;tc&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the char60 we have horizontal_tab and CR_LF.&lt;/P&gt;&lt;P&gt;All of them are replaced by space (char(20)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Nov 2004 05:15:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809418#M41676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-08T05:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809419#M41677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;one warning the code of Eugene will fail on UNICODE systems.&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2004 08:31:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809419#M41677</guid>
      <dc:creator>former_member183804</dc:creator>
      <dc:date>2004-11-09T08:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809420#M41678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        I tried many ways to avoid this carriage return in text file.But at the end I went with the logic --reading character by character, which I was trying to avoid from the beginning.  It is working now.&lt;/P&gt;&lt;P&gt;Thanks to Rob Veenstra.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why this issue:   The end users were using SHIFT+ENTER to&lt;/P&gt;&lt;P&gt;                 go to next line in Legacy system. On    which we donot have any control. So this data was uploaded into SAP.&lt;/P&gt;&lt;P&gt;                   Because of this SHIFT+ENTER I was &lt;/P&gt;&lt;P&gt;                 getting carriage return in SAP data &lt;/P&gt;&lt;P&gt;                 extraction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way issue was resolved. &lt;/P&gt;&lt;P&gt;I thank you all for the help. &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;Vasu Bandi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: vasu bandi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: vasu bandi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: vasu bandi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: vasu bandi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2004 01:07:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809420#M41678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-16T01:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the carriage return / Tab during data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809421#M41679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you tell me how you  have solve the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 19:33:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-the-carriage-return-tab-during-data-extraction/m-p/809421#M41679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-24T19:33:38Z</dc:date>
    </item>
  </channel>
</rss>

