<?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 avoid duplicate entry while printing the smartform in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicate-entry-while-printing-the-smartform/m-p/9490099#M1745990</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;Use can use delete adjacent dublicates from (Internal Table)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jul 2013 07:11:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-07-02T07:11:23Z</dc:date>
    <item>
      <title>How to avoid duplicate entry while printing the smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicate-entry-while-printing-the-smartform/m-p/9490095#M1745986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my development i have to duplicate values while printing the smart form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my layout,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/239518" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My output should be,&lt;/P&gt;&lt;P&gt;Based on the line item it should avoid the duplicate values.But in some case different Bin &amp;amp; Pallet should come under same item no.&lt;/P&gt;&lt;P&gt;In that case o/p should come like below&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1..RAW.........&amp;nbsp;&amp;nbsp; S1 Raw&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A9BOT2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 158&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8000000136&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A9BOT3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 159&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8000000137&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;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/239552" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 06:06:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicate-entry-while-printing-the-smartform/m-p/9490095#M1745986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-02T06:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid duplicate entry while printing the smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicate-entry-while-printing-the-smartform/m-p/9490096#M1745987</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;Capture the value in a variable and check whether the previous value and the current value is same before entering into the text. Put a condition there that if both are different then enter into the text. &lt;/P&gt;&lt;P&gt;So like this it will not print the duplicates. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 06:54:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicate-entry-while-printing-the-smartform/m-p/9490096#M1745987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-02T06:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid duplicate entry while printing the smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicate-entry-while-printing-the-smartform/m-p/9490097#M1745988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prabu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your output internal table define two more fields of type C.&lt;/P&gt;&lt;P&gt;Before line item display node, create a code node and write logic to indentify the duplicate entries and set the flag on every new pattern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab ASSIGNING &amp;lt;fs_line&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT NEW item_no. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fs_line&amp;gt;-flag1.&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT NEW bin.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fs_line&amp;gt;-flag2.&lt;/P&gt;&lt;P&gt;ENDAT.&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;While printing the output internal table rows just check these flags to control the duplicate values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 06:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicate-entry-while-printing-the-smartform/m-p/9490097#M1745988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-02T06:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid duplicate entry while printing the smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicate-entry-while-printing-the-smartform/m-p/9490098#M1745989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Try to sort out you internal table based on primary key or secondary key or based on a field which you want and then use DELETE ADJACENT&amp;nbsp; for same internal table. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 07:02:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicate-entry-while-printing-the-smartform/m-p/9490098#M1745989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-02T07:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid duplicate entry while printing the smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicate-entry-while-printing-the-smartform/m-p/9490099#M1745990</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;Use can use delete adjacent dublicates from (Internal Table)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 07:11:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicate-entry-while-printing-the-smartform/m-p/9490099#M1745990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-02T07:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid duplicate entry while printing the smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicate-entry-while-printing-the-smartform/m-p/9490100#M1745991</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;Use table events in smartform then you will get required output. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 07:21:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicate-entry-while-printing-the-smartform/m-p/9490100#M1745991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-02T07:21:29Z</dc:date>
    </item>
  </channel>
</rss>

