<?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: Processing character string in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969361#M397852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandra,&lt;/P&gt;&lt;P&gt;not working either. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Feb 2007 15:33:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-07T15:33:06Z</dc:date>
    <item>
      <title>Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969349#M397840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I uploaded a CSV file into an itab via GUI_UPLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CSV file filled in cell A1 (as viewed in Excel)
--------------------------------------------------------
|     |       A      |        B         |        C     |
--------------------------------------------------------
| 1   | AAA          |                  |              |
|     | BBB          |                  |              |
|     | CCC          |                  |              |
--------------------------------------------------------
| 2   |              |                  |              |
--------------------------------------------------------&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uploaded itab with one line (after GUI_UPLOAD):&lt;/P&gt;&lt;P&gt;AAA#BBB#CCC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried SPLITting the above AT '#' but it is not successful, since '#' in itab is a hexadecimal character. Below are the codes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT itab.
  SPLIT itab-text AT '#'
  INTO i_rec-f1 i_rec-f2 i_rec-f3.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Other than SPLIT, i used SEARCH, FIND, TRANSLATE but to no avail. Can someone help? I need the output in another itab with the result similarly to cell A1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 14:38:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969349#M397840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T14:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969350#M397841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a same problem too..............i came over it but declaring a char field c1(say)of length 1 and moving # to c1 and then used the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : c1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move '#' to c1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt;  SPLIT itab-text AT c1&lt;/P&gt;&lt;P&gt;  INTO i_rec-f1 i_rec-f2 i_rec-f3.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 14:59:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969350#M397841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T14:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969351#M397842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do this way...use GUI_UPLOAD....this has a field in import parameter....&lt;/P&gt;&lt;P&gt;HAS_FIELD_SEPARATOR...u can mentioned the field sepaartor in this and when upload it will autmatically spli at the field separator into fields...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:03:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969351#M397842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969352#M397843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi FSCHU,&lt;/P&gt;&lt;P&gt;  When you upload, using the function module, there is a parameter for HAS_FIELD_SEPARATOR .&lt;/P&gt;&lt;P&gt;Pass 'X' to that parameter.&lt;/P&gt;&lt;P&gt;Also, you should define the internal table as the same structure as is displayed in the excel.&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;The # you see is nothing but a horozontal tab.&lt;/P&gt;&lt;P&gt;YOu have to split the string using the attribute&lt;/P&gt;&lt;P&gt;CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;split itab-data at CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB.&lt;/P&gt;&lt;P&gt;into itab_new-field1 itab_new-field2...&lt;/P&gt;&lt;P&gt;append itab_new.&lt;/P&gt;&lt;P&gt;clear itab_new.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:04:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969352#M397843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969353#M397844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vj,&lt;/P&gt;&lt;P&gt;I tested your case but it doesnt work. The itab-text still does not split itself.&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:05:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969353#M397844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969354#M397845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : v_char type X value '0A'.

LOOP AT itab.
  SPLIT itab-text AT v_char  INTO i_rec-f1 i_rec-f2 i_rec-f3.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:07:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969354#M397845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969355#M397846</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;LOOP AT itab.&lt;/P&gt;&lt;P&gt;REPLACE '#' with SPACE into itab-text.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;OR&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: var(1) type c.&lt;/P&gt;&lt;P&gt;var = '#'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt;  SPLIT itab-text AT var&lt;/P&gt;&lt;P&gt;  INTO i_rec-f1 i_rec-f2 i_rec-f3.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:07:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969355#M397846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969356#M397847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI FSCHU,&lt;/P&gt;&lt;P&gt;look via the debugger (set a break-point before split) at&lt;/P&gt;&lt;P&gt;find out the HEX of #.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;than declare a variable&lt;/P&gt;&lt;P&gt;and a slip with this variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:12:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969356#M397847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969357#M397848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dieter,&lt;/P&gt;&lt;P&gt;I tried but still not successful. Do I need to SPLIT ... IN BYTE MODE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:21:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969357#M397848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969358#M397849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;I tried also to split at CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB.&lt;/P&gt;&lt;P&gt;No success. Here are my codes:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZTEST_SME928                                                *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;                                                                     *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*

REPORT  ZTEST_SME928.
PARAMETER: P_FILE LIKE RLGRAP-FILENAME DEFAULT 'C:Documents and Settingsetong.AXONDesktopdamn.csv'.
DATA: V_FILENAME TYPE STRING.
DATA: BEGIN OF I_INPUT1 OCCURS 0,
        TEXT(1000),
      END OF I_INPUT1.


V_FILENAME = P_FILE.
CALL FUNCTION 'GUI_UPLOAD'
  EXPORTING
    FILENAME                = V_FILENAME
    FILETYPE                = 'ASC'
  TABLES
    DATA_TAB                = I_INPUT1
  EXCEPTIONS
    FILE_OPEN_ERROR         = 1
    FILE_READ_ERROR         = 2
    NO_BATCH                = 3
    GUI_REFUSE_FILETRANSFER = 4
    INVALID_TYPE            = 5
    NO_AUTHORITY            = 6
    UNKNOWN_ERROR           = 7
    BAD_DATA_FORMAT         = 8
    HEADER_NOT_ALLOWED      = 9
    SEPARATOR_NOT_ALLOWED   = 10
    HEADER_TOO_LONG         = 11
    UNKNOWN_DP_ERROR        = 12
    ACCESS_DENIED           = 13
    DP_OUT_OF_MEMORY        = 14
    DISK_FULL               = 15
    DP_TIMEOUT              = 16
    OTHERS                  = 17.

DATA: BEGIN OF I_REC OCCURS 0,
         F1(40),
         F2(40),
         F3(40),
      END OF I_REC.

LOOP AT I_INPUT1.
  SPLIT I_INPUT1-TEXT AT '0A' 
  INTO I_REC-F1
       I_REC-F2
       I_REC-F3.
  BREAK FFXC096.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:24:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969358#M397849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969359#M397850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use HAS_FIELD_SEPARATOR in export parameter .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in that specify ' , ' (comma) as field seperator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Kalpanashri Rajendran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:25:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969359#M397850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969360#M397851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kalpa,&lt;/P&gt;&lt;P&gt;My problem now is splitting a column with multiple lines, in which the lines are all in different lines.&lt;/P&gt;&lt;P&gt;Please refer to my initial post for more info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks lots&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:28:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969360#M397851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969361#M397852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandra,&lt;/P&gt;&lt;P&gt;not working either. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:33:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969361#M397852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969362#M397853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did u try slitting in CHAR MODE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:38:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969362#M397853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969363#M397854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vj,&lt;/P&gt;&lt;P&gt;Thanks, but isn't it by default IN CHARACTER MODE?&lt;/P&gt;&lt;P&gt;Anyway, I tried but not successful either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls give me more inputs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:43:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969363#M397854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969364#M397855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah you are right...................checking in case.&lt;/P&gt;&lt;P&gt;Let me see into it and will get back into it.&lt;/P&gt;&lt;P&gt;Vj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:44:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969364#M397855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969365#M397856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey , you had tried in wrong way , if u use direclt SPLIT at '0A' , it will search for 0A and then split&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare one varible of type X and try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : v_char type X value '0A'.

LOOP AT I_INPUT1.
  SPLIT I_INPUT1-TEXT AT v_char  INTO I_REC-F1
       I_REC-F2
       I_REC-F3.
  BREAK FFXC096.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:48:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969365#M397856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969366#M397857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries Vj.&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone else with more info? Pls share&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:48:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969366#M397857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969367#M397858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandra,&lt;/P&gt;&lt;P&gt;i tried but it gives me a syntax error. It says 'v_char must be a character-type data object (data type C, N, D, T or STRING)&lt;/P&gt;&lt;P&gt;thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:51:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969367#M397858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Processing character string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969368#M397859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF U CAN mark the end of the string with a # &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like 'AAA#BBB#CCC#'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then a logic is there to work out .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute the code and see .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data :VAL(15) TYPE C VALUE 'AAA#BBB#CCC#'.
DATA :CNT TYPE I.
DATA:  v type c,
       n type i.
DATA : FINAL(15) TYPE C.
DATA : BEGIN OF ITAB OCCURS 0,
       F1(10) TYPE C,
       END OF ITAB.

    CNT = STRLEN( VAL ).

    DO CNT TIMES .
     move val+n(1) to v.
    if v ca '#'.
    CONDENSE FINAL NO-GAPS.
    ITAB-F1 = FINAL.
    APPEND ITAB.
    CLEAR ITAB.
    CLEAR FINAL.
    ELSE.
    move v to final+n(1).
    endif.
    n = n + 1.
    ENDDO.

    LOOP AT ITAB.
    WRITE:/ ITAB-F1.
    ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope if this can make some help .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still this needs little adjustments .:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:54:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-character-string/m-p/1969368#M397859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:54:24Z</dc:date>
    </item>
  </channel>
</rss>

