<?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>Question Re: Creating an invoice for a single confirmation in Spend Management Q&amp;A</title>
    <link>https://community.sap.com/t5/spend-management-q-a/creating-an-invoice-for-a-single-confirmation/qaa-p/11847865#M172597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Itay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know the invoice should be possible to be created base on Selected PO item , &lt;BR /&gt;Could you please check if it is possible to create invoice by select the PO items you would like to add ? &lt;BR /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/1017968" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Yu Feng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Aug 2016 09:02:15 GMT</pubDate>
    <dc:creator>yu_feng2</dc:creator>
    <dc:date>2016-08-18T09:02:15Z</dc:date>
    <item>
      <title>Creating an invoice for a single confirmation</title>
      <link>https://community.sap.com/t5/spend-management-q-a/creating-an-invoice-for-a-single-confirmation/qaq-p/11847864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a problem with invoices in our SRM implementation. It was decided that invoices will be produced by confirmation, not PO. Since there is no way that I know of to create an invoice for a single confirmation, the process is to create the invoice according to PO and then delete all items not related to the confirmation for which the invoice is produced.&lt;/P&gt;&lt;P&gt;That's not much of a problem when there are only a handful of confirmations, but some jobs have dozes, sometimes over a hundred confirmations. Only one item can be deleted at a time, which makes this very tedious.&lt;/P&gt;&lt;P&gt;I tried solving the problem by writing a piece of code which loops on the items and deletes them, but turns out that after each change done using class /SAPSRM/CL_PDO_BO_INV, method SUBMIT_UPDATE must be called, or else all changes are overwritten.&lt;/P&gt;&lt;P&gt;For example, if I have a 100 items invoice, I loop on them and call method DELETE_ITEM for each one, then after the loop call method SUBMIT_UPDATE, only item number 100 will be deleted. I need to submit the updates after every item deleted, which makes processing very long for such invoices - it often takes over 10 minutes.&lt;/P&gt;&lt;P&gt;Is there any way to create the invoice by confirmation number instead of PO number? If not, is there any way to delete multiple items at once, or perhaps a BADI I could use after clicking "Add PO" which will enable me to mark the unnecessary items for deletion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Itay Horev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 04:54:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/creating-an-invoice-for-a-single-confirmation/qaq-p/11847864</guid>
      <dc:creator>former_member1074913</dc:creator>
      <dc:date>2016-08-18T04:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an invoice for a single confirmation</title>
      <link>https://community.sap.com/t5/spend-management-q-a/creating-an-invoice-for-a-single-confirmation/qaa-p/11847865#M172597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Itay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know the invoice should be possible to be created base on Selected PO item , &lt;BR /&gt;Could you please check if it is possible to create invoice by select the PO items you would like to add ? &lt;BR /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/1017968" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Yu Feng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 09:02:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/creating-an-invoice-for-a-single-confirmation/qaa-p/11847865#M172597</guid>
      <dc:creator>yu_feng2</dc:creator>
      <dc:date>2016-08-18T09:02:15Z</dc:date>
    </item>
  </channel>
</rss>

