<?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: How to logic correct append data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-logic-correct-append-data/m-p/12109862#M1973496</link>
    <description>&lt;P&gt;Hello &lt;A href="https://answers.sap.com/users/854008/jandrivay.html"&gt;Hotman Jandri Vay Sianturi&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I hope this is your custom development, Can clarify below points?&lt;/P&gt;&lt;P&gt;--&amp;gt; Do you want to remove the data that is highlighted in Yellow&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;--&amp;gt; You don't want the data to be highlighted in yellow at all&lt;/P&gt;&lt;P&gt;Also it would be helpful if you could give more details of your code, seeing the logic will help us better to understand!&lt;/P&gt;&lt;P&gt;Do not forget to paste the Code using &lt;STRONG&gt;CODE&lt;/STRONG&gt; button!&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Sat, 05 Oct 2019 12:13:38 GMT</pubDate>
    <dc:creator>former_member1716</dc:creator>
    <dc:date>2019-10-05T12:13:38Z</dc:date>
    <item>
      <title>How to logic correct append data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-logic-correct-append-data/m-p/12109861#M1973495</link>
      <description>&lt;P&gt;Hi All.&lt;BR /&gt;I have some problem to append my data. and it's my syntac.&lt;/P&gt;
  &lt;P&gt;....&lt;/P&gt;
  &lt;P&gt;it_data is table to display result.&lt;/P&gt;
  &lt;P&gt;and this is my data when execute.&lt;/P&gt;
  &lt;P&gt;how to append it_data without yellow highlight like this capture. ( i dont need the yellow data )&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1738579-answer-sap.png" /&gt;&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;
SPAN {
font-family: "Courier New";
font-size: 10pt;
color: #C0C0C0;
background: #16152B;
}
.L0S32 {
color: #FF00FF;
}
.L0S52 {
color: #009DE0;
}
.L0S55 {
color: #FF00FF;
}
.L0S70 {
color: #808080;
}
   LOOP AT it_idh.
    LOOP AT it_tcode WHERE tcode_grp EQ it_idh-tcode_grp

                       AND tmplt     EQ it_idh-tmplt.

      IF sy-subrc EQ 0.

        it_data-tcode = it_tcode-tcode.

        it_data-tdesc = it_tcode-descr.

      ENDIF.



      LOOP AT it_actvt WHERE tcode_grp EQ it_idh-tcode_grp

                      AND tcode_buzei EQ it_tcode-buzei.

        IF sy-subrc = 0.

          it_data-activity = it_actvt-actvt_descr.

        ENDIF.

      ENDLOOP.

      APPEND it_data.

      CLEAR it_tcode.

    ENDLOOP.
Append it_data.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 05 Oct 2019 07:04:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-logic-correct-append-data/m-p/12109861#M1973495</guid>
      <dc:creator>jandrivay</dc:creator>
      <dc:date>2019-10-05T07:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to logic correct append data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-logic-correct-append-data/m-p/12109862#M1973496</link>
      <description>&lt;P&gt;Hello &lt;A href="https://answers.sap.com/users/854008/jandrivay.html"&gt;Hotman Jandri Vay Sianturi&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I hope this is your custom development, Can clarify below points?&lt;/P&gt;&lt;P&gt;--&amp;gt; Do you want to remove the data that is highlighted in Yellow&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;--&amp;gt; You don't want the data to be highlighted in yellow at all&lt;/P&gt;&lt;P&gt;Also it would be helpful if you could give more details of your code, seeing the logic will help us better to understand!&lt;/P&gt;&lt;P&gt;Do not forget to paste the Code using &lt;STRONG&gt;CODE&lt;/STRONG&gt; button!&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Sat, 05 Oct 2019 12:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-logic-correct-append-data/m-p/12109862#M1973496</guid>
      <dc:creator>former_member1716</dc:creator>
      <dc:date>2019-10-05T12:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to logic correct append data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-logic-correct-append-data/m-p/12109863#M1973497</link>
      <description>&lt;P&gt;It's not clear what criteria was used to determine which records are "yellow" but looks like these are duplicates?&lt;/P&gt;&lt;P&gt;If so then, obviously, you could look into removing some data from those internal tables mentioned in the code (it's not clear what's in them exactly). Or you could check before APPEND if a record already exists. Or just brutally SORT and DELETE ADJACENT DUPLICATES at the end. It really depends on the specific use case and data.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 22:21:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-logic-correct-append-data/m-p/12109863#M1973497</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2019-10-07T22:21:32Z</dc:date>
    </item>
  </channel>
</rss>

