<?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: Regarding invoice Duplication in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-invoice-duplication/m-p/2737670#M635876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sathish Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              you have two way to do for this requirement .&lt;/P&gt;&lt;P&gt;First : IMG : Validation in Accounting Documents (T Code : OB28) or substitution ( Tcode : OBBH ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I will explain about substitution.&lt;/P&gt;&lt;P&gt;in the configuration , you can create substiution for your company code after that&lt;/P&gt;&lt;P&gt;you will see sub tree &lt;/P&gt;&lt;P&gt;- Document header&lt;/P&gt;&lt;P&gt;- Line item&lt;/P&gt;&lt;P&gt;- Complete Document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That are a trigger , for example if you create substitution in Document header , system will check when you entry data in Document header or If you create substituion in Line item , system will check after you entry data in line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your requirement is checking duplicate invoice , you have a condition which identify that the new invoice is duplicate .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example  the differenet document should be the different reference.&lt;/P&gt;&lt;P&gt;and the doc date should be different too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in substitution you can use exit . &lt;/P&gt;&lt;P&gt;Coding like this&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;select XBLNR into v_XBLNR from bsis where bukrs = 'CXXX' and budat = '20070805'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if v_xblnr = bseg-xblnr.&lt;/P&gt;&lt;P&gt;   ......" Do anything that you would like&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Wiboon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Sep 2007 06:45:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-11T06:45:42Z</dc:date>
    <item>
      <title>Regarding invoice Duplication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-invoice-duplication/m-p/2737667#M635873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got struck with a issue. please help me out in this. I need to check the duplication of invoice when i post a document in F-42. It also a country specific as well. so can anyone pls suggest me which method i can use and how to use it. I appericiate if u can guide me with some sample codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 06:04:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-invoice-duplication/m-p/2737667#M635873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T06:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding invoice Duplication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-invoice-duplication/m-p/2737668#M635874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sathish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                There are some configuration in FI Module (IMG-&amp;gt;Set Check for Duplicate Invoices)that checking the duplicated invoice or not but you can use the same method to clarify the invoice is exist or not by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;checking this condition in your program , if there are the same below condition in two document , you can pop up the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Companya Code&lt;/P&gt;&lt;P&gt;2.Invoice Date&lt;/P&gt;&lt;P&gt;3. Reference.&lt;/P&gt;&lt;P&gt;4. G/L Account Customer or Vendor &lt;/P&gt;&lt;P&gt;5.Amount in G/L Account Customer or Vendor  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have any question ,please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Wiboon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Wiboon Chaiyabutsakul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 06:15:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-invoice-duplication/m-p/2737668#M635874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T06:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding invoice Duplication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-invoice-duplication/m-p/2737669#M635875</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;In my program inocence i dont get it. Can u pls be more clear. Since its a standard transaction we need to implement user exit for it? so ur asking me to check those conditions in the user exit program? If thats the case can u pls guide me where i have to implement the user exit? or is that enough if i just do the configuration in IMG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 06:24:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-invoice-duplication/m-p/2737669#M635875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T06:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding invoice Duplication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-invoice-duplication/m-p/2737670#M635876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sathish Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              you have two way to do for this requirement .&lt;/P&gt;&lt;P&gt;First : IMG : Validation in Accounting Documents (T Code : OB28) or substitution ( Tcode : OBBH ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I will explain about substitution.&lt;/P&gt;&lt;P&gt;in the configuration , you can create substiution for your company code after that&lt;/P&gt;&lt;P&gt;you will see sub tree &lt;/P&gt;&lt;P&gt;- Document header&lt;/P&gt;&lt;P&gt;- Line item&lt;/P&gt;&lt;P&gt;- Complete Document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That are a trigger , for example if you create substitution in Document header , system will check when you entry data in Document header or If you create substituion in Line item , system will check after you entry data in line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your requirement is checking duplicate invoice , you have a condition which identify that the new invoice is duplicate .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example  the differenet document should be the different reference.&lt;/P&gt;&lt;P&gt;and the doc date should be different too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in substitution you can use exit . &lt;/P&gt;&lt;P&gt;Coding like this&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;select XBLNR into v_XBLNR from bsis where bukrs = 'CXXX' and budat = '20070805'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if v_xblnr = bseg-xblnr.&lt;/P&gt;&lt;P&gt;   ......" Do anything that you would like&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Wiboon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 06:45:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-invoice-duplication/m-p/2737670#M635876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T06:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding invoice Duplication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-invoice-duplication/m-p/2737671#M635877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Wiboon will try wht u suggested me and will get back to u if i stuck some where. Once again thanks for your kind help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 07:02:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-invoice-duplication/m-p/2737671#M635877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T07:02:36Z</dc:date>
    </item>
  </channel>
</rss>

