<?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: Not matching records loop in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832947#M1784279</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;loop at Master_Data_table into structure where account = source-account.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;ff = structure-fa from.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;ft = structure-ft to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;pf= structure-pc from.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;pt = structure- pc to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333; text-indent: 35.4pt;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;if source-fa &amp;gt;=ff and source-fa &amp;lt;= ft.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333; text-indent: 35.4pt;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if source-pc &amp;gt;=pf and source-pc &amp;lt;= pt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333; text-indent: 35.4pt;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; target-va = structure-va.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333; text-indent: 35.4pt;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;exit.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&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; endif.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;endif.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;endloop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Nov 2013 13:33:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-11-21T13:33:02Z</dc:date>
    <item>
      <title>Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832932#M1784264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;Hi experts,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;I have the following three tables:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #17375e;"&gt;Source Table&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="background-color: white;"&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="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG style="color: #333333; font-size: 9.0pt; font-family: 'inherit','serif';"&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="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG style="color: #333333; font-size: 9.0pt; font-family: 'inherit','serif';"&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="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG style="color: #333333; font-size: 9.0pt; font-family: 'inherit','serif';"&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="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG style="color: #333333; font-size: 9.0pt; font-family: 'inherit','serif';"&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;00&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;10001&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;50,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="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;05&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;20002&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;130,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="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;70000&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;13&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;30001&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;-450,00&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #17375e;"&gt;Master Data Table:&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="background-color: white;"&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-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'inherit','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-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'inherit','serif'; 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="bottom" width="114"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'inherit','serif'; 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="bottom" width="83"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'inherit','serif'; 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="bottom" width="93"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'inherit','serif'; 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="bottom" width="107"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'inherit','serif'; 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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="108"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','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; background: red; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="114"&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt; &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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="114"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;03&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;10001&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="93"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;10010&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="107"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;AX&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-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="114"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;04&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="114"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;10&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;20001&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="93"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;20010&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="107"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;AY&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-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;70000&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="114"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;11&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="114"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;20&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;30000&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="93"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;30010&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="107"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;BX&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #17375e;"&gt;Target Table&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #17375e;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="background-color: white;"&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="bottom" width="127"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG style="color: #333333; font-size: 9.0pt; font-family: 'inherit','serif';"&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="bottom" width="131"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG style="color: #333333; font-size: 9.0pt; font-family: 'inherit','serif';"&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="bottom" width="124"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG style="color: #333333; font-size: 9.0pt; font-family: 'inherit','serif';"&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="bottom" width="126"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG style="color: #333333; font-size: 9.0pt; font-family: 'inherit','serif';"&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="bottom" width="112"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG style="color: #333333; font-size: 9.0pt; font-family: 'inherit','serif';"&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="127"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="131"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;00&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="124"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;10001&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="126"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;50,00&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; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="112"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;AX&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="127"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="131"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;05&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="124"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;20002&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="126"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;130,00&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; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="112"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;AY&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="127"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;70000&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="131"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;13&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="124"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;30001&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="126"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;-450,00&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; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="112"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;BX&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;Source table is feeding Target Table. I have to fill virtual account in target table by reading the master data table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;The idea is like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;-When the accounts are equal between source table and Master data table&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;-Check in a first time the functional area in source table between from and to in master data table&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;-Then check the profit center in source table between from and to in master data table&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;-Then fill virtual account&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;Amine&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;Message Part (1/2)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 17:03:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832932#M1784264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-20T17:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832933#M1784265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;Here how I do it and it’s woking fine (but my solution is limited I will explain later why):&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #00b050;"&gt;Data : ff ,ft, pf, pt type i.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #00b050;"&gt;loop at Master_Data_table into structure where account = source-account.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #00b050;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #00b050;"&gt;ff = structure-fa from.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #00b050;"&gt;ft = structure-ft to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #00b050;"&gt;pf= structure-pc from.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #00b050;"&gt;pt = structure- pc to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 35.4pt; background-color: white;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #00b050;"&gt;if source-fa &amp;gt;=ff and source-fa &amp;lt;= ft.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 35.4pt; background-color: white;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #00b050;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if source-pc &amp;gt;=pf and source-pc &amp;lt;= pt.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 35.4pt; background-color: white;"&gt;&lt;SPAN style="color: #00b050; font-style: inherit; font-size: 11.0pt; font-family: 'Calibri','sans-serif'; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; target-va = structure-va.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;SPAN style="color: #00b050; font-style: inherit; font-size: 11.0pt; font-family: 'Calibri','sans-serif'; font-weight: inherit;"&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; endif.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #00b050;"&gt;endif.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #00b050;"&gt;endloop.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;The issue is that some times the loop will not find any corresponding values in master data table and I would like to store them in an error table. Here an example of not matching records assmung that my master data table contains only the records above.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; background: white;"&gt;&lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #17375e;"&gt;Source Table&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="background-color: white;"&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="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG style="color: #333333; font-size: 9.0pt; font-family: 'inherit','serif';"&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="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG style="color: #333333; font-size: 9.0pt; font-family: 'inherit','serif';"&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="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG style="color: #333333; font-size: 9.0pt; font-family: 'inherit','serif';"&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="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;STRONG style="color: #333333; font-size: 9.0pt; font-family: 'inherit','serif';"&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: red;"&gt;90000&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;05&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;10001&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: red;"&gt;09&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;10001&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;50,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="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;05&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: red;"&gt;30002&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; background: transparent; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="154"&gt;&lt;P align="center" style="margin-top: auto; margin-bottom: auto; text-align: center;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: #333333;"&gt;130,00&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;I tried to find a solution with the sy-subrc but in debug mode it’s always eq 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: transparent; font-size: 10pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt; &lt;BR /&gt; Amine&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #333333;"&gt;Message Part (2/2)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 17:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832933#M1784265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-20T17:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832934#M1784266</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;Please try below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at Sourcetable into wa_source&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table mastertable into wa_master with account = wa_source-account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if wa_source-functionarea between wa_master-fromfunctionarea and wa_master-tofunctionarea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_final-virtualaccount = wa_master-virtualaccount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append wa_final to it_final.&lt;/P&gt;&lt;P&gt;endif.&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;&lt;/P&gt;&lt;P&gt;if you want to perform first time of functional area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use &lt;STRONG&gt;at new of functionalarea or on change of wa_source-funationalarea.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope above code resolve your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 17:27:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832934#M1784266</guid>
      <dc:creator>arivazhagan_sivasamy</dc:creator>
      <dc:date>2013-11-20T17:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832935#M1784267</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;&lt;/P&gt;&lt;P&gt;Only the Account no in Source table and the Master table has to be same or the entire structure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have given like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #00b050;"&gt;loop at Master_Data_table into structure where account = source-account.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #00b050;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what is Source-account? Can you give the piece of coding you have written above the loop statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 17:31:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832935#M1784267</guid>
      <dc:creator>former_member207873</dc:creator>
      <dc:date>2013-11-20T17:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832936#M1784268</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;You need to move all conditions in WHERE clauses &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;loop at Master_Data_table into structure &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where account = source-account&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&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; and ( fa_from &amp;lt;= source-fa&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&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; and&amp;nbsp;&amp;nbsp;&amp;nbsp; fa_to =&amp;gt; soure-fa )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&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; and&amp;nbsp;&amp;nbsp; (pc_from &amp;lt;= source-pc &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&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; and (pc_to =&amp;gt; source-pc ).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #00b050; font-family: Calibri, sans-serif; font-size: 15px; text-indent: 47.20000076293945px; background-color: #ffffff;"&gt;&amp;nbsp; target-va = structure-va.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;endloop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;----------&amp;gt; ERROR&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;endif.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 17:38:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832936#M1784268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-20T17:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832937#M1784269</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;Source-account is the field account from source table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea of my code was to loop until find in the master data table using the key account a matching coorespondance record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 18:52:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832937#M1784269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-20T18:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832938#M1784270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interesting. But i have to convert the fields into i type. This is why i made this in the loop:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #00b050; font-size: 12px; background-color: #ffffff;"&gt;Data : ff ,ft, pf, pt type i.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;ff = structure-fa from.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;ft = structure-ft to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;pf= structure-pc from.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;pt = structure- pc to&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i manage it in your proposal?&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>Wed, 20 Nov 2013 18:56:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832938#M1784270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-20T18:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832939#M1784271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ariva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue of the read is that the code is going to read only the first record and not all the others.&lt;/P&gt;&lt;P&gt;But the idea is to loop until find a corresponding value in the master data table. If no value is found then add it to my error table.&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>Wed, 20 Nov 2013 18:59:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832939#M1784271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-20T18:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832940#M1784272</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;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Can you give us more details?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) CASE 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Suppose &lt;STRONG&gt;Source Table&lt;/STRONG&gt; contains,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;60000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;70000&lt;/P&gt;&lt;P&gt;80000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;STRONG&gt;Master Table&lt;/STRONG&gt; contains&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;70000&lt;/P&gt;&lt;P&gt;80000&lt;/P&gt;&lt;P&gt;90000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Your &lt;STRONG&gt;Result &lt;/STRONG&gt;table should be :&lt;/P&gt;&lt;P&gt;70000&lt;/P&gt;&lt;P&gt;80000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and your&lt;STRONG&gt; Error Table&lt;/STRONG&gt; should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;60000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) CASE 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESULT TABLE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;70000&lt;/P&gt;&lt;P&gt;80000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR TABLE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;60000&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;90000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;In first case&lt;/STRONG&gt;,LOOP SOURCE TABLE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&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; READ TABLE MASTER TABLE INTO WA_MASTERTABLE WITH KEY ACCNT =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCNT- SOURCE TABLE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&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; IF SY-SUBRC = 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&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; RESULT TABLE OPERATIONS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&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; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&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; ELSE.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&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; ERROR TABLE OPERATIONS.&lt;/P&gt;&lt;P&gt;&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; ENDIF.&lt;/P&gt;&lt;P&gt;&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; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In second case, write&lt;/STRONG&gt; one more loop.&lt;/P&gt;&lt;P&gt;&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; loop at&amp;nbsp;&amp;nbsp;&amp;nbsp; master table&lt;/P&gt;&lt;P&gt;&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; READ TABLE SOURCE_TABLE INTO WA_SOURCE TABLE WITH KEY ACCNT =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MASTERTABLE-ACCNT&lt;/P&gt;&lt;P&gt;&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; IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&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; &lt;STRONG&gt;RESULT TABLE OPERATIONS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&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; ELSE&lt;/P&gt;&lt;P&gt;&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; &lt;STRONG&gt;ERROR TABLE OPERATIONS.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&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; ENDIF.&lt;/P&gt;&lt;P&gt;&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; ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&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; &lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Philip.&lt;BR /&gt;&lt;/STRONG&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;&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;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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;&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 11:29:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832940#M1784272</guid>
      <dc:creator>philipdavy</dc:creator>
      <dc:date>2013-11-21T11:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832941#M1784273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Loop at source table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri', 'sans-serif'; color: #00b050; font-size: 11pt;"&gt;loop at Master_Data_table into structure where account = source-account.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri', 'sans-serif'; color: #00b050; font-size: 11pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri', 'sans-serif'; color: #00b050; font-size: 11pt;"&gt;ff = structure-fa from.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri', 'sans-serif'; color: #00b050; font-size: 11pt;"&gt;ft = structure-ft to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri', 'sans-serif'; color: #00b050; font-size: 11pt;"&gt;pf= structure-pc from.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri', 'sans-serif'; color: #00b050; font-size: 11pt;"&gt;pt = structure- pc to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: white; text-indent: 35.4pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri', 'sans-serif'; color: #00b050; font-size: 11pt;"&gt;if source-fa &amp;gt;=ff and source-fa &amp;lt;= ft.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: white; text-indent: 35.4pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri', 'sans-serif'; color: #00b050; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if source-pc &amp;gt;=pf and source-pc &amp;lt;= pt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: white; text-indent: 35.4pt;"&gt;&lt;SPAN style="font-family: 'Calibri', 'sans-serif'; color: #00b050; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; target-va = structure-va.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;SPAN style="font-family: 'Calibri', 'sans-serif'; color: #00b050; font-size: 11pt;"&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; endif.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-family: 'Calibri', 'sans-serif'; color: #00b050; font-size: 11pt;"&gt;endif.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri', 'sans-serif'; color: #00b050; font-size: 11pt;"&gt;endloop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri', 'sans-serif'; color: #00b050; font-size: 11pt;"&gt;if sy-subrc ne 0 or taget-va is initial." meaning no data matches&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri', 'sans-serif'; color: #00b050; font-size: 11pt;"&gt;append error record for no data for account.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri', 'sans-serif'; color: #00b050; font-size: 11pt;"&gt;endif.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri', 'sans-serif'; color: #00b050; font-size: 11pt;"&gt;endloop.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 11:36:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832941#M1784273</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2013-11-21T11:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832942#M1784274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi-&lt;/P&gt;&lt;P&gt;Try below approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;lv_data_missing&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;it_source &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;wa_source&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CLEAR&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;wa_master&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;READ &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;it_master &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;wa_master &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;KEY &lt;/SPAN&gt;account &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_source&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;account&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;wa_master&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;it_master &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;wa_master &lt;SPAN class="L0S52"&gt;WHERE &lt;/SPAN&gt;account &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_source&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;account&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CLEAR&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;lv_data_missing&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;wa_source&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;fa &amp;gt;= wa_master&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;ff &lt;SPAN class="L0S52"&gt;OR &lt;/SPAN&gt;&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; wa_source&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;fa &amp;lt;= wa_master&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;ft &lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lv_data_missing &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WRITE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Error: Functional Area missing for Account'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;wa_source&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;account&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;wa_source&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;pf &amp;gt;= wa_master&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;pf &lt;SPAN class="L0S52"&gt;OR &lt;/SPAN&gt;&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; wa_source&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;pf &amp;lt;= wa_master&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;pt &lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lv_data_missing &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;lv_data_missing &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CONTINUE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;"Append record to your final internal table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WRITE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;/ &lt;SPAN class="L0S33"&gt;'Error: Account'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;wa_source&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;account &lt;SPAN class="L0S33"&gt;'Not found'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;-Venkat&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 12:05:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832942#M1784274</guid>
      <dc:creator>venkat_aileni</dc:creator>
      <dc:date>2013-11-21T12:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832943#M1784275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The three conditions have to be respected, not only the account &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1949/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 12:05:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832943#M1784275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-21T12:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832944#M1784276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nahbeet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;Do you think that i may add an exit to go out the loop when a record is found?&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>Thu, 21 Nov 2013 12:06:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832944#M1784276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-21T12:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832945#M1784277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes...i belive so&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 12:07:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832945#M1784277</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2013-11-21T12:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832946#M1784278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venhat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this piece of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;IF &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;( &lt;/SPAN&gt;wa_source&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;fa &amp;gt;= wa_master&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;ff &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;OR&lt;/SPAN&gt;&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; wa_source&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;fa &amp;lt;= wa_master&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;ft &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Do you meant?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;IF &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;( &lt;/SPAN&gt;wa_source&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;fa &amp;gt;= wa_master&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;ff AND&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; wa_source&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;fa &amp;lt;= wa_master&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;ft &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;)&lt;/SPAN&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>Thu, 21 Nov 2013 13:22:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832946#M1784278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-21T13:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832947#M1784279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;loop at Master_Data_table into structure where account = source-account.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;ff = structure-fa from.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;ft = structure-ft to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;pf= structure-pc from.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;pt = structure- pc to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333; text-indent: 35.4pt;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;if source-fa &amp;gt;=ff and source-fa &amp;lt;= ft.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333; text-indent: 35.4pt;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if source-pc &amp;gt;=pf and source-pc &amp;lt;= pt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333; text-indent: 35.4pt;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; target-va = structure-va.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333; text-indent: 35.4pt;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;exit.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&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; endif.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: white; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;endif.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;endloop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 13:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832947#M1784279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-21T13:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832948#M1784280</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;Correction! it's 'AND' and not 'OR'.&lt;/P&gt;&lt;P&gt;&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; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;IF &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;( &lt;/SPAN&gt;wa_source&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;fa &amp;gt;= wa_master&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;ff &lt;SPAN style="text-decoration: underline;"&gt;AND&lt;/SPAN&gt;&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; wa_source&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;fa &amp;lt;= wa_master&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;ft &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&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; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;IF &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;( &lt;/SPAN&gt;wa_source&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;pf &amp;gt;= wa_master&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;pf &lt;SPAN style="text-decoration: underline;"&gt;AND&lt;/SPAN&gt;&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; wa_source&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;pf &amp;lt;= wa_master&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;pt &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Also you can use BETWEEN too.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;wa_source&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;fa &lt;SPAN class="L0S52"&gt;BETWEEN &lt;/SPAN&gt;wa_master&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;ff &lt;SPAN class="L0S52"&gt;AND &lt;/SPAN&gt;wa_master&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;ft &lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;-Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 13:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832948#M1784280</guid>
      <dc:creator>venkat_aileni</dc:creator>
      <dc:date>2013-11-21T13:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832949#M1784281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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>Thu, 21 Nov 2013 13:48:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832949#M1784281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-21T13:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832950#M1784282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think about the follwing logic. Actually it will be more easy for me to implement and maintain:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #00b050; font-family: Calibri, sans-serif; font-size: 15px; background-color: #ffffff;"&gt;loop at source into wa_source&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;loop at Master_Data_table into structure&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where account = source-account&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&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; and ( fa_from &amp;lt;= source-fa&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&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; and&amp;nbsp;&amp;nbsp;&amp;nbsp; fa_to =&amp;gt; soure-fa )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&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; and&amp;nbsp;&amp;nbsp; (pc_from &amp;lt;= source-pc&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&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; and (pc_to =&amp;gt; source-pc ).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;if sy-subrc eq 0.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; text-indent: 47.20000076293945px;"&gt;&amp;nbsp; target-va = structure-va.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&lt;STRONG style="text-indent: 47.20000076293945px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;else.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&lt;STRONG style="text-indent: 47.20000076293945px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; append to err&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;endloop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;endloop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 13:59:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832950#M1784282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-21T13:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Not matching records loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832951#M1784283</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;Agreed! You can for sure use that logic its straight forward and with a single condition. I have written my logic with an intention of more error specific. Say suppose if there is a miss match in functional area or profit center or miss match in both you can populate/capture error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your requirement is to just append error table only when there is a miss match in account please go ahead with that logic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;SORT&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;sorce&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;BY &lt;/SPAN&gt;account &lt;SPAN class="L0S52"&gt;ASCENDING&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&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; master &lt;SPAN class="L0S52"&gt;BY &lt;/SPAN&gt;account &lt;SPAN class="L0S52"&gt;ASCENDING&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;loop at Master_Data_table into structure&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where account = source-account&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&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; and ( fa_from &amp;lt;= source-fa&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&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; and&amp;nbsp;&amp;nbsp;&amp;nbsp; fa_to =&amp;gt; soure-fa )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&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; and&amp;nbsp;&amp;nbsp; (pc_from &amp;lt;= source-pc&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&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; and (pc_to =&amp;gt; source-pc ).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;endloop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;if sy-subrc eq 0.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; text-indent: 47.20000076293945px;"&gt;&amp;nbsp; target-va = structure-va.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN style="text-indent: 47.20000076293945px; color: #00b050; font-size: 11pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;else.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN style="text-indent: 47.20000076293945px; color: #00b050; font-size: 11pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; append to err&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN style="text-indent: 47.20000076293945px; color: #00b050; font-size: 11pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;endif.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;endloop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; background-color: white; color: #333333;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif; color: #00b050;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 14:21:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-matching-records-loop/m-p/9832951#M1784283</guid>
      <dc:creator>venkat_aileni</dc:creator>
      <dc:date>2013-11-21T14:21:15Z</dc:date>
    </item>
  </channel>
</rss>

