<?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: Test ranges in an Abap Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486680#M1745493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amine , &lt;/P&gt;&lt;P&gt;Sorry it was a typo its&amp;nbsp; 'Collect ' , I assume you are trying to Consolidate the data&amp;nbsp; in the target table .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 May 2013 15:26:19 GMT</pubDate>
    <dc:creator>anup_deshmukh4</dc:creator>
    <dc:date>2013-05-24T15:26:19Z</dc:date>
    <item>
      <title>Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486673#M1745486</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;Let’s say I have some records arriving from my source as following :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="color: #17375e;"&gt;Source Table:&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="color: #17375e;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border: none;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; background: #E5B8B7; padding: 0 5.4pt 0 5.4pt;" valign="top" width="154"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;Account&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #E5B8B7; padding: 0 5.4pt 0 5.4pt;" valign="top" width="154"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;Functional Area&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #E5B8B7; padding: 0 5.4pt 0 5.4pt;" valign="top" width="154"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;Profit Center&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #E5B8B7; padding: 0 5.4pt 0 5.4pt;" valign="top" width="154"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="154"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;60000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="154"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;00&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="154"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;10001&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="154"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;50,00&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="154"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;60000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="154"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;05&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="154"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;20002&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="154"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;130,00&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="154"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;70000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="154"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;13&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="154"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;30001&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="154"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;-450,00&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my target I want to add one more field that I am going to deduce from a table with the following conditions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="color: #17375e;"&gt;Transformation Table:&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="color: #17375e;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border: none;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; background: #DBE5F1; padding: 0 5.4pt 0 5.4pt;" valign="top" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: #604a7b;"&gt;Account&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #DBE5F1; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: #604a7b;"&gt;Functional Area Range from&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #DBE5F1; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: #604a7b;"&gt;Functional Area Range To&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #DBE5F1; padding: 0 5.4pt 0 5.4pt;" valign="top" width="83"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: #604a7b;"&gt;Profit Center Range from&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #DBE5F1; padding: 0 5.4pt 0 5.4pt;" valign="top" width="93"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: #604a7b;"&gt;Profit Center Range To&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #DBE5F1; padding: 0 5.4pt 0 5.4pt;" valign="top" width="107"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: #604a7b;"&gt;Virtual Account&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;60000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: red; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;03&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="83"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;10001&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="93"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;10010&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="107"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;AX&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;60000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;04&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;10&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="83"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;20001&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="93"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;20010&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="107"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;AY&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;70000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;11&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;20&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="83"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;30000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="93"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;30010&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="107"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;BX&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: red;"&gt;The red cell means empty or initial.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: red;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So the difficulty that I am having is that is to test 2 ranges in order to deduce the Virtual Account into my target which will be as following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="color: #17375e;"&gt;Target Table:&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="color: #17375e;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border: none;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; background: #EAF1DD; padding: 0 5.4pt 0 5.4pt;" valign="top" width="127"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;Account&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #EAF1DD; padding: 0 5.4pt 0 5.4pt;" valign="top" width="131"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;Functional Area&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #EAF1DD; padding: 0 5.4pt 0 5.4pt;" valign="top" width="124"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;Profit Center&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #EAF1DD; padding: 0 5.4pt 0 5.4pt;" valign="top" width="126"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #EAF1DD; padding: 0 5.4pt 0 5.4pt;" valign="top" width="112"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;Virtual Account&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="127"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;60000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="131"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;00&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="124"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;10001&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="126"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;50,00&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="112"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;AX&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="127"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;60000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="131"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;05&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="124"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;20002&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="126"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;130,00&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="112"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;AY&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="127"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;70000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="131"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;13&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="124"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;30001&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="126"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;-450,00&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="112"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;BX&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think that an abap program can be efficient in my case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tought about the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;Read Transformation table with key account = Source Table- account&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;Test that Functional area of source table is between Functional Area Range from and TO&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;And Profit Center in source tale is between Profit Center Range from and To&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;And then deduce the virtual account&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 10:48:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486673#M1745486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-24T10:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486674#M1745487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that the process u mentioned is good but , i guess u need to hav another field other that account for comparision.&lt;/P&gt;&lt;P&gt;the reason is each time in the loop (Source table), when u read (transformation table), only first entry with account matched will be fetched.&lt;/P&gt;&lt;P&gt; as in case of account 6000 , the below will be read twice in loop (for the first two records)&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding-left: 5.4pt; padding-right: 5.4pt; border: windowtext 1pt solid;" valign="top" width="108"&gt;&lt;P align="center" style="text-align: center;"&gt;60000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: red; border-top: medium none; border-right: windowtext 1pt solid;" valign="top" width="114"&gt;&lt;P align="center"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="top" width="114"&gt;&lt;P align="center" style="text-align: center;"&gt;03&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="top" width="83"&gt;&lt;P align="center" style="text-align: center;"&gt;10001&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="top" width="93"&gt;&lt;P align="center" style="text-align: center;"&gt;10010&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="top" width="107"&gt;&lt;P align="center" style="text-align: center;"&gt;AX&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it would be better if u have one more field other than account for comparision..&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;Azhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 11:20:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486674#M1745487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-24T11:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486675#M1745488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank Azhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with you, but i have to read the 2 ranges also in order to deduce the virtual account.&lt;/P&gt;&lt;P&gt;I think that if i find a way how to read and test 2 ranges, my issue will be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 13:35:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486675#M1745488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-24T13:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486676#M1745489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amine, &lt;/P&gt;&lt;P&gt;Would a Corrrect use of Collet Statement be helpful ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks an Regards, &lt;/P&gt;&lt;P&gt;Anup &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 13:39:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486676#M1745489</guid>
      <dc:creator>anup_deshmukh4</dc:creator>
      <dc:date>2013-05-24T13:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486677#M1745490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean? I am not familiar with this abap command?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 13:45:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486677#M1745490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-24T13:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486678#M1745491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data:&amp;nbsp; r_functionalarea type range of&amp;nbsp; functionalarea,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r_profitcentre type range of&amp;nbsp; profitcentre.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_functionalarea-sign = 'I'&lt;/P&gt;&lt;P&gt;r_functionalarea-option = 'BT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_profitcentre-sign = 'I'&lt;/P&gt;&lt;P&gt;r_profitcentre-option = 'BT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at transformationtable into workarea_transform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_profitcentre-low = workarea-profitcentrefrom.&lt;/P&gt;&lt;P&gt;r_profitcentre-high = workarea-profitcentreto. &lt;/P&gt;&lt;P&gt;r_functionalarea-low = workarea-funtionalareafrom.&lt;/P&gt;&lt;P&gt;r_functionalarea-high = workarea-funtionalareato.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at source_table into workarea_source where account = workarea-account&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; functionalarea IN r_functionalarea&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; profitcenter in r_profitcentre&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move-corresponding workarea_transform to workarea_target.&lt;/P&gt;&lt;P&gt;move-corresponding workarea_source to workarea_target.&lt;/P&gt;&lt;P&gt;append workarea_target to target_table.&lt;/P&gt;&lt;P&gt;clear: workarea_target,workarea_source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear: r_profitcentre-low, r_profitcentre-high, r_functionalarea-low, r_functionalarea-high.&lt;/P&gt;&lt;P&gt;clear: workarea_transform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 14:09:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486678#M1745491</guid>
      <dc:creator>PeterJonker</dc:creator>
      <dc:date>2013-05-24T14:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486679#M1745492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very interesting approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 14:16:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486679#M1745492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-24T14:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486680#M1745493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amine , &lt;/P&gt;&lt;P&gt;Sorry it was a typo its&amp;nbsp; 'Collect ' , I assume you are trying to Consolidate the data&amp;nbsp; in the target table .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 15:26:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486680#M1745493</guid>
      <dc:creator>anup_deshmukh4</dc:creator>
      <dc:date>2013-05-24T15:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486681#M1745494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exaclty Anup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to consolidate the data as explained with the tables in my initial question.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 15:53:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486681#M1745494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-24T15:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486682#M1745495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.. so in that case apart from your Amount all are Non-Numeric fields so you can use Collect Statement efficiently to build your target table. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 16:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486682#M1745495</guid>
      <dc:creator>anup_deshmukh4</dc:creator>
      <dc:date>2013-05-24T16:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486683#M1745496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i manage the start of a range when it's empty?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border: none;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; background: #DBE5F1; padding: 0 5.4pt 0 5.4pt;" valign="top" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: #604a7b;"&gt;Account&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #DBE5F1; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: #604a7b;"&gt;Functional Area Range from&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #DBE5F1; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: #604a7b;"&gt;Functional Area Range To&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;60000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: red; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;03&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally that means:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border: none;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; background: #DBE5F1; padding: 0 5.4pt 0 5.4pt;" valign="top" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: #604a7b;"&gt;Account&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #DBE5F1; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: #604a7b;"&gt;Functional Area Range from&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;60000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;60000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;01&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;60000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;02&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;60000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 5.4pt 0 5.4pt;" valign="top" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;03&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&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;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 17:11:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486683#M1745496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-24T17:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486684#M1745497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Dear &lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link active_link" href="https://answers.sap.com/people/amine.lamkaissi" id="jive-6120046054868480991109" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; text-decoration: underline !important; color: #3778c7;"&gt;amine lamkaissi&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt; background-color: #ffffff; font-family: 'trebuchet ms', geneva;"&gt;Go with your approach that's easy i think &lt;SPAN __jive_emoticon_name="cool" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1474/images/emoticons/cool.gif"&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for your previous question , i think following method will work &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1474/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;while looping that particular field show empty value right , based on that you can increase the counter, and do the deduction , &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;add one more extra field &lt;SPAN __jive_emoticon_name="info" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1474/images/emoticons/info.gif"&gt;&lt;/SPAN&gt; use counter, like count = count +1 .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example if particular field value is empty , then made it like '00' in program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background-color: #ffffff; color: #333333; font-family: 'trebuchet ms', geneva;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Bastin.G&lt;/SPAN&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 17:26:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486684#M1745497</guid>
      <dc:creator>bastinvinoth</dc:creator>
      <dc:date>2013-05-24T17:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486685#M1745498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Bastin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually it was a mistake, it's more like this &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1474/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background-color: white;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333;"&gt;Normally that means:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="background-color: white; border: none;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; background: #DBE5F1; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #604a7b;"&gt;Account&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #DBE5F1; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #604a7b;"&gt;Functional Area Range from&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #333333;"&gt;60000&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #333333;"&gt;60000&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #333333;"&gt;00&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #333333;"&gt;60000&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #333333;"&gt;01&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #333333;"&gt;60000&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #333333;"&gt;02&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="108"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #333333;"&gt;60000&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="114"&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #333333;"&gt;03&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Empty, 00, 01, 02, 03&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;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 17:37:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486685#M1745498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-24T17:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486686#M1745499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'trebuchet ms', geneva; background-color: #ffffff;"&gt;Dear &lt;/SPAN&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; background-color: #ffffff; color: #333333;"&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/people/amine.lamkaissi" style="font-style: inherit; font-family: inherit; color: #3778c7;"&gt;amine lamkaissi&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Add one more column in internal table &lt;/SPAN&gt;&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1474/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; call like status &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if values empty means add '00' in that column and sort it, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;then finally use delete adjacent duplicates from internal table command &lt;/SPAN&gt;&lt;SPAN __jive_emoticon_name="info" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1474/images/emoticons/info.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and finally you will get it unique numbers &lt;SPAN __jive_emoticon_name="plus" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1474/images/emoticons/plus.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; background-color: #ffffff; color: #333333;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; background-color: #ffffff; color: #333333;"&gt;Bastin.G&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 17:44:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486686#M1745499</guid>
      <dc:creator>bastinvinoth</dc:creator>
      <dc:date>2013-05-24T17:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486687#M1745500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Let me explain clearly,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;For example values empty means pass '00' to different column which u newly added in ITAB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;then for other&amp;nbsp; functional values pass the same values to that column while looping.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;then you will get internal table like,&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="center"&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; font-style: inherit; font-size: 12px; font-family: inherit; text-align: center;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;SPAN style="color: #333333; font-style: inherit;"&gt;60000 - &amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-style: inherit;"&gt;00&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; font-style: inherit; font-size: 12px; font-family: inherit; text-align: center;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;SPAN style="font-style: inherit; color: #333333;"&gt;60000 -&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-style: inherit;"&gt;00&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; font-style: inherit; font-size: 12px; font-family: inherit; text-align: center;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;SPAN style="font-style: inherit; color: #333333;"&gt;60000-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-style: inherit;"&gt;01&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; font-style: inherit; font-size: 12px; font-family: inherit; text-align: center;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;SPAN style="font-style: inherit; color: #333333;"&gt;60000-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-style: inherit;"&gt;02&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="center" style="margin-bottom: 0.0001pt; font-style: inherit; font-size: 12px; font-family: inherit; text-align: center;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;SPAN style="font-style: inherit; color: #333333;"&gt;60000-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-style: inherit;"&gt;03&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: 'trebuchet ms', geneva; color: #333333;"&gt;now you can sort the internal table then use delete adjacent syntax you will get desired values &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1474/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; hope it helps &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1474/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: 'trebuchet ms', geneva; color: #333333;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt; font-family: 'Times New Roman', serif; color: #333333;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Bastin.G&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 18:23:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486687#M1745500</guid>
      <dc:creator>bastinvinoth</dc:creator>
      <dc:date>2013-05-24T18:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486688#M1745501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this code:&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;loop at source_table into workarea_source where account = workarea-account&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; functionalarea IN r_functionalarea&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; profitcenter in r_profitcentre&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;You meant the follwing right?&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;loop at source_table into workarea_source where account = &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff; text-decoration: underline;"&gt;workarea_target&lt;/SPAN&gt;-account&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; functionalarea IN r_functionalarea&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; profitcenter in r_profitcentre&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;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 15:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486688#M1745501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-27T15:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486689#M1745502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;I think the correct code should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;loop at source_table into workarea_source where account = &lt;SPAN style="color: #ff6600; font-size: 12px; background-color: #ffffff; text-decoration: underline;"&gt;workarea_transform&lt;/SPAN&gt;-account &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;functionalarea IN r_functionalarea &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;profitcenter in r_profitcentre&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&lt;EM&gt;workarea_transform&lt;/EM&gt;&lt;/SPAN&gt; is the work area of the outer loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 09:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486689#M1745502</guid>
      <dc:creator>kaushalya</dc:creator>
      <dc:date>2013-05-28T09:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Test ranges in an Abap Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486690#M1745503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Thanks Kaushalya.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 10:10:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-ranges-in-an-abap-program/m-p/9486690#M1745503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-28T10:10:16Z</dc:date>
    </item>
  </channel>
</rss>

