<?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: String operation - urgent in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-urgent/m-p/1697189#M305792</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;Check the internal table in the debugging mode..It is working fine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN the report I didn't give to display blank lines..That is the reason why it is not showing..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: T_DATA TYPE STANDARD TABLE OF STRING WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: V_STRING TYPE STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_STRING = 'ABC||DEF|'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET BLANK LINES ON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT V_STRING AT '|' INTO TABLE T_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT T_DATA.&lt;/P&gt;&lt;P&gt;WRITE: / T_DATA.&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;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Nov 2006 22:41:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-01T22:41:08Z</dc:date>
    <item>
      <title>String operation - urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-urgent/m-p/1697186#M305789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a string like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;b&amp;gt;It is followed on monthly basis. | Ag and Ba not analysed | because they do not appear in the normal process&amp;lt;/b&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have to parse this string and look for the special symbol '|'. The symbol '|' means a new line. So in the above string case whenever I come across '|', I have to take the string left to it into a separate string. So in this case I should split the above string as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
String1 = It is followed on monthly basis.
String2 =  Ag and Ba not analysed 
String3 =  because they do not appear in the normal process
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Experts please help me in this case. Waiting..........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2006 22:10:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-urgent/m-p/1697186#M305789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-01T22:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: String operation - urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-urgent/m-p/1697187#M305790</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..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: T_DATA TYPE STANDARD TABLE OF STRING WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: V_STRING TYPE STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_STRING = 'ABC|DEF|'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT V_STRING AT '|' INTO TABLE T_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT T_DATA.&lt;/P&gt;&lt;P&gt;  WRITE: / T_DATA.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2006 22:19:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-urgent/m-p/1697187#M305790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-01T22:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: String operation - urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-urgent/m-p/1697188#M305791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks for the reply. I got only one final issue in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I may have consecutive '|' symbols. In which case, the output should come as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: T_DATA TYPE STANDARD TABLE OF STRING WITH HEADER LINE.

DATA: V_STRING TYPE STRING.

V_STRING = 'ABC&amp;lt;b&amp;gt;||&amp;lt;/b&amp;gt;DEF|'.

SPLIT V_STRING AT '|' INTO TABLE T_DATA.

LOOP AT T_DATA.
WRITE: / T_DATA.
ENDLOOP.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output should be like;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ABC

DEF
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now with your code I am getting like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ABC
DEF
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2006 22:37:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-urgent/m-p/1697188#M305791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-01T22:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: String operation - urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-urgent/m-p/1697189#M305792</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;Check the internal table in the debugging mode..It is working fine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN the report I didn't give to display blank lines..That is the reason why it is not showing..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: T_DATA TYPE STANDARD TABLE OF STRING WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: V_STRING TYPE STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_STRING = 'ABC||DEF|'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET BLANK LINES ON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT V_STRING AT '|' INTO TABLE T_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT T_DATA.&lt;/P&gt;&lt;P&gt;WRITE: / T_DATA.&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;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2006 22:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-urgent/m-p/1697189#M305792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-01T22:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: String operation - urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-urgent/m-p/1697190#M305793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are the MAN!! Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2006 22:53:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-urgent/m-p/1697190#M305793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-01T22:53:01Z</dc:date>
    </item>
  </channel>
</rss>

