<?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: Splitting and sorting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-and-sorting/m-p/3311044#M793038</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;PRE&gt;&lt;CODE&gt;
  loop at itab into wa_1 index '1' transporting no fields.

  read table itab into wa_2 index '2'. " &amp;lt;&amp;lt;check the syntax

       if sy-subrc eq 0.

       you code for comparison..

       endif. 

endloop.
endloop.

or 


loop at itab into wa_1 index '1' transporting no fields.

loop at itab into wa_2 index '2' transporting no fields.

       if sy-subrc eq 0.

       you code for comparison..

       endif. 

endloop.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Feb 2008 08:00:57 GMT</pubDate>
    <dc:creator>former_member156446</dc:creator>
    <dc:date>2008-02-03T08:00:57Z</dc:date>
    <item>
      <title>Splitting and sorting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-and-sorting/m-p/3311043#M793037</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 a text file which i have put into a data container. The text file has details llke,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INFTY   SUBTY   COUNTRYCODE     PERNR         E-MAIL &lt;/P&gt;&lt;P&gt;0105      2         CA        000000006     xyz@yahoo.com&lt;/P&gt;&lt;P&gt;0105      2         CA        000000004     xyz@yahoo.com&lt;/P&gt;&lt;P&gt;0105      2         CA        000000001     xyz@yahoo.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my data container it will be like this,&lt;/P&gt;&lt;P&gt;INFTY#SUBTY#COUNTRYCODE#PERNR#EMAIL &lt;/P&gt;&lt;P&gt;0105#2#CA#000000006#xyz@yahoo.com&lt;/P&gt;&lt;P&gt;0105#2#CA#000000004#xyz@yahoo.com&lt;/P&gt;&lt;P&gt;0105#2#CA#000000001#xyz@yahoo.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to find the position of the pernr and do the other process.i found out the position of the pernr using the split command.Is there any command to get data of a particular column (for example 4th position(column) here)&lt;/P&gt;&lt;P&gt;in the datacontainer.I need to take the first record pernr and second record pernr and compare.So i need to get the pernr values. Also Is there any possibility to sort the contents in the data container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me out with this,&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2008 05:54:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-and-sorting/m-p/3311043#M793037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-03T05:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting and sorting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-and-sorting/m-p/3311044#M793038</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;PRE&gt;&lt;CODE&gt;
  loop at itab into wa_1 index '1' transporting no fields.

  read table itab into wa_2 index '2'. " &amp;lt;&amp;lt;check the syntax

       if sy-subrc eq 0.

       you code for comparison..

       endif. 

endloop.
endloop.

or 


loop at itab into wa_1 index '1' transporting no fields.

loop at itab into wa_2 index '2' transporting no fields.

       if sy-subrc eq 0.

       you code for comparison..

       endif. 

endloop.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2008 08:00:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-and-sorting/m-p/3311044#M793038</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-02-03T08:00:57Z</dc:date>
    </item>
  </channel>
</rss>

