<?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: split at '##'  into table ........ not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-at-into-table-not-working/m-p/5561189#M1268939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it migth be CR/LF.&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;&lt;/P&gt;&lt;P&gt;SPLIT msg_aux_aux AT CL_ABAP_CHAR_UTILITIES=&amp;gt;CR_LF  INTO TABLE msg_tabla_aux&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2009 15:36:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-15T15:36:07Z</dc:date>
    <item>
      <title>split at '##'  into table ........ not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-at-into-table-not-working/m-p/5561184#M1268934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a problem with a split, im trying to split a string into a substring with this '##' as break.&lt;/P&gt;&lt;P&gt;i have this data for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;msg = 'abcdefg  hijk##lmn  opq'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split msg at '##' into table msg_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in msg_table i have one row with 'abcdefg hijk##lmn opq' when i should have 2 rows.&lt;/P&gt;&lt;P&gt;but if i use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split msg at space into table msg_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have 3 rows as a result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried using a single '#' but it doesnt work neither. Is there a problem using #s as breaks???????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 23:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-at-into-table-not-working/m-p/5561184#M1268934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T23:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: split at '##'  into table ........ not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-at-into-table-not-working/m-p/5561185#M1268935</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 should work try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF ty_test,&lt;/P&gt;&lt;P&gt;          text(20),&lt;/P&gt;&lt;P&gt;        END OF ty_test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : t_test TYPE TABLE OF ty_test WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;       str(1000).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;str = 'abcdefg hijk##lmn opq' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT str AT '##' INTO TABLE t_test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT t_test.&lt;/P&gt;&lt;P&gt;  WRITE : /10 t_test-text.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got output &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; abcdefg hijk   &lt;/P&gt;&lt;P&gt; lmn opq        &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;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 23:25:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-at-into-table-not-working/m-p/5561185#M1268935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T23:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: split at '##'  into table ........ not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-at-into-table-not-working/m-p/5561186#M1268936</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;Try this way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : tab TYPE C value CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB.

split msg at tab into table msg_table.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 02:33:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-at-into-table-not-working/m-p/5561186#M1268936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T02:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: split at '##'  into table ........ not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-at-into-table-not-working/m-p/5561187#M1268937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data message TYPE string VALUE 'abcdefg hijk##lmn opq'.&lt;/P&gt;&lt;P&gt;data msg_table TYPE TABLE OF string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT message AT '##' INTO TABLE msg_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 03:12:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-at-into-table-not-working/m-p/5561187#M1268937</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2009-05-15T03:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: split at '##'  into table ........ not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-at-into-table-not-working/m-p/5561188#M1268938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think wat the problem is....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im getting the string from a function SO_OBJECT_READ that returns a table OBJCONT that is type table of SOLI...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the thing is that this function returns lines of strings but in each string could be '##' that represent line jump... but it looks like it isnt the actuals. ## ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;heres the code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: msg_tabla TYPE TABLE OF string.&lt;/P&gt;&lt;P&gt;data: msg_tabla_aux TYPE TABLE OF string.&lt;/P&gt;&lt;P&gt;data: msg_aux type string.&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;LOOP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SO_OBJECT_READ'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILTER                           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    folder_id                        = fold_id&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FORWARDER                        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    object_id                        = obj_id&lt;/P&gt;&lt;P&gt; TABLES&lt;/P&gt;&lt;P&gt;    OBJCONT                          = it_OBJCONT&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;clear msg_aux.&lt;/P&gt;&lt;P&gt;clear msg_tabla_aux.&lt;/P&gt;&lt;P&gt;clear str.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="22" type="ul"&gt;&lt;P&gt;in case it has more than 1 line i concatenate &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;loop at it_OBJCONT into  gwa_IT_OBJCONT .&lt;/P&gt;&lt;P&gt;WRITE:  'mensaje:     ', gwa_IT_OBJCONT-LINE.&lt;/P&gt;&lt;P&gt;CONCATENATE msg_aux gwa_IT_OBJCONT-LINE into msg_aux.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT msg_aux_aux AT '##' INTO TABLE msg_tabla_aux.&lt;/P&gt;&lt;P&gt;append msg_tabla_aux to msg_tabla.&lt;/P&gt;&lt;P&gt;ENDLOOP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;in the table msg_tabla should appear all the messages&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if anyone can help me out .. ill really apreciate it.&lt;/P&gt;&lt;P&gt;thx in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 15:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-at-into-table-not-working/m-p/5561188#M1268938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T15:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: split at '##'  into table ........ not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-at-into-table-not-working/m-p/5561189#M1268939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it migth be CR/LF.&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;&lt;/P&gt;&lt;P&gt;SPLIT msg_aux_aux AT CL_ABAP_CHAR_UTILITIES=&amp;gt;CR_LF  INTO TABLE msg_tabla_aux&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 15:36:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-at-into-table-not-working/m-p/5561189#M1268939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T15:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: split at '##'  into table ........ not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-at-into-table-not-working/m-p/5561190#M1268940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you so much MxG &lt;/P&gt;&lt;P&gt;that solves the problem &lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="grin"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 16:50:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-at-into-table-not-working/m-p/5561190#M1268940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T16:50:15Z</dc:date>
    </item>
  </channel>
</rss>

