<?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 BAPI FOR MIRO in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro/m-p/2538599#M576624</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;I have a critical problem can any one help me out in this regard.&lt;/P&gt;&lt;P&gt;The actual client requirement is i have to process the migo first if it is successful i should process the miro. for both i'm using bapi. with migo its working fine .when we come to miro   transaction  we can see the lineitems  the invoices which are not posted for that particular po number and item will be defaultly selected. so wat the user requirement is I should deselect these and i should select the one lineitem contains the record which is matching with the material document number which was created through migo. &lt;/P&gt;&lt;P&gt;for that i need to know how to compare n fetch the line item nuber for selection. &lt;/P&gt;&lt;P&gt;n pass this valuE to bapi function module bapi_incominginvoice_create TO INVOICE_DOC_ITEM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HEADERDATA&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ITAB_HEADERDATA-DOC_DATE = .&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ITAB_HEADERDATA-PSTNG_DATE = .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ITEMDATA.&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS IN ADVANCE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2007 12:06:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-12T12:06:37Z</dc:date>
    <item>
      <title>BAPI FOR MIRO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro/m-p/2538599#M576624</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;I have a critical problem can any one help me out in this regard.&lt;/P&gt;&lt;P&gt;The actual client requirement is i have to process the migo first if it is successful i should process the miro. for both i'm using bapi. with migo its working fine .when we come to miro   transaction  we can see the lineitems  the invoices which are not posted for that particular po number and item will be defaultly selected. so wat the user requirement is I should deselect these and i should select the one lineitem contains the record which is matching with the material document number which was created through migo. &lt;/P&gt;&lt;P&gt;for that i need to know how to compare n fetch the line item nuber for selection. &lt;/P&gt;&lt;P&gt;n pass this valuE to bapi function module bapi_incominginvoice_create TO INVOICE_DOC_ITEM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HEADERDATA&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ITAB_HEADERDATA-DOC_DATE = .&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ITAB_HEADERDATA-PSTNG_DATE = .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ITEMDATA.&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS IN ADVANCE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 12:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro/m-p/2538599#M576624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T12:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI FOR MIRO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro/m-p/2538600#M576625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_INCOMINGINVOICE_PARK &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 12:08:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro/m-p/2538600#M576625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T12:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI FOR MIRO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro/m-p/2538601#M576626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Kindly check this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Invoice Verification: Post Invoice&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;You can use this method to create and post incoming invoices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When passing on the header data, you use the INVOIC_IND field to determine whether the system posts a credit memo or an invoice. If you leave the field initial, the system posts a credit memo. If you enter an X, the system posts an invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to enter an invoice for a returns order, you must leave the INVOICE_IND field initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As in the online transaction, the system updates the purchase order history and stock valuation data in Materials Management. The system creates accounting documents in Accounting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this method to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter and post invoices with multiple account assignment&lt;/P&gt;&lt;P&gt;Change the account assignment of invoices, add account assignments, and post the invoices&lt;/P&gt;&lt;P&gt;Enter invoices for blanket purchase orders&lt;/P&gt;&lt;P&gt;Enter and post invoices for purchase orders containing planned delivery costs&lt;/P&gt;&lt;P&gt;Enter and post invoices containing unplanned delivery costs&lt;/P&gt;&lt;P&gt;Enter and post subsequent debits/credits&lt;/P&gt;&lt;P&gt;Use document types with external number assignment&lt;/P&gt;&lt;P&gt;Enter and post invoices with withholding tax&lt;/P&gt;&lt;P&gt;Enter and post invoice with more than one vendor line and different payment methods and terms of payment&lt;/P&gt;&lt;P&gt;Enter and post invoices for returns orders&lt;/P&gt;&lt;P&gt;Enter and post invoices for transportation service providers&lt;/P&gt;&lt;P&gt;Enter and post invoices for external service orders&lt;/P&gt;&lt;P&gt;Post to G/L accounts&lt;/P&gt;&lt;P&gt;Post to material accounts&lt;/P&gt;&lt;P&gt;Enter and post invoices for a one-time vendor&lt;/P&gt;&lt;P&gt;Enter and post invoices with a different payee&lt;/P&gt;&lt;P&gt;Restrictions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following fields in Financial Accounting are not passed on:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ISR number (ISR = inpayment slip with reference number)&lt;/P&gt;&lt;P&gt;Bank details&lt;/P&gt;&lt;P&gt;Payment reference&lt;/P&gt;&lt;P&gt;House bank ID&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;The following authorization object is checked using activity 01:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M_RECH_WRK: Authorization to create invoices in certain plants&lt;/P&gt;&lt;P&gt;Transfer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use the structure HeaderData to pass on the header data of the incoming invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You pass on the address data of a one-time vendor or a different invoice payee with the structure AddressData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables ItemData and AccountingData contain the invoice item data. The table TaxData contains the tax information for the invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tables ItemData and AccountingData contain the item data of the incoming invoice. The TaxData table contains the tax information on the invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table GlAccountData contains data for posting to a G/L account and the MaterialData table contains data for posting to a material account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the table WithTaxData to pass on withholding tax information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Via the table VendorItemSplitData,  you can distribute the gross amount among several creditor lines with different payment methods and terms of payment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The document number of the invoice document and the fiscal year are returned by the system as key fields of the incoming invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return messages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further information&lt;/P&gt;&lt;P&gt;The method can only perform your function if no error messages were generated in the Return table. This is the case if the header data and all the items were processed successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction control is not implemented. The calling program therefore has to execute the Commit Work itself after this method has been successfully invoked (in other words, if no errors were reported in the Return parameter).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming Invoice&lt;/P&gt;&lt;P&gt;This example shows the header data that you need to enter in table Headerdata and the item data that you need to enter in table Itemdata to post an invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 10 pc of material A @ $10/pc&lt;/P&gt;&lt;P&gt;Goods receipt:  10 pc of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice against this purchase order referencing PO number 4500007491, PO item 10, for a quantity of 10 pc of material A and an amount of $116, including 16% VAT. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HeaderData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 05.20.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 05.23.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 116.00&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;CALC_TAX_IND (Calculate tax): X&lt;/P&gt;&lt;P&gt;ItemData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (Purchase order number): 4500007491&lt;/P&gt;&lt;P&gt;PO_ITEM (Purchase order item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 100&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 10&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData and Itemdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice in foreign currency, goods-receipt-based invoice verification and tax information&lt;/P&gt;&lt;P&gt;This example specifies the header data that you need to enter in table Headerdata, the item data that you need to enter in table Itemdata and the tax information that you need to enter in table TaxData to post an invoice in a foreign currency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order:       10 pc of material A @ $10/pc&lt;/P&gt;&lt;P&gt;First goods receipt:  4 pc of material A&lt;/P&gt;&lt;P&gt;Second goods receipt: 6 pc of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice against this purchase order referencing PO number 4500007505, PO item 10, goods receipt document 50010095, 2000, item 1. The invoice is for a quantity of 4 pc of material A, a gross amount of $46.60 and 16% tax ($6.60). Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HeaderData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 05.20.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 05.23.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 46.60&lt;/P&gt;&lt;P&gt;ItemData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (Purchase order number): 4500007505&lt;/P&gt;&lt;P&gt;PO_ITEM (Purchase order item): 00010&lt;/P&gt;&lt;P&gt;REF_DOC (Goods receipt document): 50010095&lt;/P&gt;&lt;P&gt;REF_DOC_YEAR (Fiscal year of current period): 2000&lt;/P&gt;&lt;P&gt;REF_DOC_ITEM (Goods receipt document item): 1&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 40.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 4&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;TaxData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;TAX_AMOUNT (Tax amount in document currency): USD 6.60&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData, ItemData, and TaxData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice for blanket purchase order&lt;/P&gt;&lt;P&gt;This invoice shows which header data you need to enter in the table HeaderData, which item data you need to enter in the table ItemData, and which account assignment data you need to enter in table AccountingData to post an incoming invoice for a blanket purchase order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice in respect of the blanket purchase order 4500015172, item 10 for an amount of $110 including 10% VAT. You want to apportion the invoice amount to the cost centers 1200 and 1500. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HeaderData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 02.19.2001&lt;/P&gt;&lt;P&gt;PSTING_DATE (Posting date): 02.21.2001&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 110&lt;/P&gt;&lt;P&gt;CURRENCY (Currency): USD&lt;/P&gt;&lt;P&gt;CALC_TAX_IND (Calculate tax): X&lt;/P&gt;&lt;P&gt;ItemData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item in the invoice document): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500015172&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 100&lt;/P&gt;&lt;P&gt;AccountingData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st line: Change account assignment data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 0001&lt;/P&gt;&lt;P&gt;SERIAL_NO (Serial number for the accont assignment): 01&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 30&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 890000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1200&lt;/P&gt;&lt;P&gt;2nd line: Add unplanned account assignment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 0001&lt;/P&gt;&lt;P&gt;XUNPL (Unplanned acct. assignment from IV): X&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 70&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 890000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1500&lt;/P&gt;&lt;P&gt;In the case of the blanket purchase order, the following fields for quantities and units of measure must not be populated in the tables ItemData and AccountingDataAccountingData:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quantity (QUANTITY)&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure)&lt;/P&gt;&lt;P&gt;PO_UNIT_ISO (PO unit of measure in ISO code)&lt;/P&gt;&lt;P&gt;PO_PR_QNT (Quantity in PO price unit of measure)&lt;/P&gt;&lt;P&gt;PO_PR_UOM (PO price unit of measure)&lt;/P&gt;&lt;P&gt;PO_PR_UOM_ISO (PO price unit of measure in ISO code)&lt;/P&gt;&lt;P&gt;More information is available in the parameter documentation for the tables HeaderData, ItemData, and AccountingData, and in the SAP Library under Logistics Invoice Verification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Change account assignments and add unplanned assignments&lt;/P&gt;&lt;P&gt;This example shows the header data that you need to enter in table Headerdata, the item data that you need to enter in table Itemdata, and the account assignment information that you need to enter in table AccountingData to change, add, and post account assignments for an invoice. If you want to change or add account assignments, there must be a non-valuated goods receipt or no goods receipt in the system. Goods-receipt-based invoice verification is specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 300 pc of material A @ $1.00/pc&lt;/P&gt;&lt;P&gt;Goods receipt:  300 pc of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This purchase order is subject to account assignment. You receive an invoice for it, referencing the PO number 4500006846, PO item 10, goods receipt document 50008849, 2000, item 1. The invoice is for a quantity of 100 pieces of material A, with a gross invoice amount of USD 116.00, including 16% VAT. You want to change the planned account assignment for the second account assignment item and add an unplanned account assignment. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HeaderData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 08.05.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 08.08.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 17.40&lt;/P&gt;&lt;P&gt;CALC_TAX_IND (Calculate tax automatically): X&lt;/P&gt;&lt;P&gt;PMNTTRMS (Terms of payment key): 0001&lt;/P&gt;&lt;P&gt;ItemData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (Purchase order number): 4500006846&lt;/P&gt;&lt;P&gt;PO_ITEM (Purchase order item): 00010&lt;/P&gt;&lt;P&gt;REF_DOC (Goods receipt document): 500008849&lt;/P&gt;&lt;P&gt;REF_DOC_YEAR (Fiscal year of current period): 2000&lt;/P&gt;&lt;P&gt;REF_DOC_ITEM (Goods receipt document item): 1&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 100&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 100&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;AccountingData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 1: Change second account assignment item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 0001&lt;/P&gt;&lt;P&gt;SERIAL_NO (Account assignment serial number): 02&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 10.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 10&lt;/P&gt;&lt;P&gt;PO_UNIT (Order unit): PC&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 890000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1200&lt;/P&gt;&lt;P&gt;Line 2: Add unplanned account assignment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 0001&lt;/P&gt;&lt;P&gt;XUNPL (Unplanned account assignment in Invoice Verification): X&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 5.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 5&lt;/P&gt;&lt;P&gt;PO_UNIT (Order unit): PC&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 890000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1200&lt;/P&gt;&lt;P&gt;More information is available in the parameter documentation for the tables HeaderData, ItemData, and AccountingData and in the SAP Library under Logistics Invoice Verification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice with planned delivery costs&lt;/P&gt;&lt;P&gt;This examples shows the header data that you need to enter in table HeaderData, the item data that you need to enter in table ItemData, and the tax information that you need to enter in table TaxData to post an invoice containing planned delivery costs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 100 pc of material A @ $1.00/pc&lt;/P&gt;&lt;P&gt;Goods receipt:  100 pc of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice for this purchase order referencing PO number 4500006986, PO item 10, for a quantity of 100 pieces of material A and $136.00, including 16% VAT and $20.00 planned delivery costs. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HeaderData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 08.10.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 08.12.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 136,00&lt;/P&gt;&lt;P&gt;ItemData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 1: Posting the purchase order item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (Purchase order number): 4500006986&lt;/P&gt;&lt;P&gt;PO_ITEM (Order item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 100.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 100&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;Line 2: Posting the planned delivery costs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00002&lt;/P&gt;&lt;P&gt;PO_NUMBER (Order number): 4500006986&lt;/P&gt;&lt;P&gt;PO_ITEM (Order item): 00010&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 20.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 100&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;COND_TYPE (Condition type): FRB1&lt;/P&gt;&lt;P&gt;TaxData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;TAX_AMOUNT (Tax amount in document currency): 16.00&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData, ItemData, and TaxData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice with withholding tax&lt;/P&gt;&lt;P&gt;This example shows which header data you can enter in the table HeaderData, which item data you can enter in the table Itemdata, and which withholding tax information you can enter in the table WithTaxData in order to park an incoming invoice with withholding tax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 10 pc of material A @ $10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goods receipt: 10 pc of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice for this purchase order referencing PO number 4500007505, PO item 10, GR document 50010095 2000, item 1. The invoice is for a quantity of 10 pc and a gross amount of $100. You have to pay 10% withholding tax on the gross amount. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HeaderData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Invoice/Credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 05.20.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 05.23.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): WT01&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): $100&lt;/P&gt;&lt;P&gt;ItemData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item from invoice document): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500007505&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;REF_DOC (GR document): 50010095&lt;/P&gt;&lt;P&gt;REF_DOC_YEAR (Fiscal year of the current period): 2000&lt;/P&gt;&lt;P&gt;REF_DOC_ITEM (Item in a GR document): 1&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V0&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): $100&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 10&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;WithTaxData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT_KEY (Grouping key for withholding tax split): 0001&lt;/P&gt;&lt;P&gt;WI_TAX_TYPE (Code for withholding tax type): R1&lt;/P&gt;&lt;P&gt;WI_TAX_CODE (Withholding tax code): 01&lt;/P&gt;&lt;P&gt;WI_TAX_BASE (Withholding tax base amount): 100&lt;/P&gt;&lt;P&gt;WI_TAX_AMT (Withholding tax amount in doc. currency): 10.00&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for the tables HeaderData, ItemData, and WithTaxData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice with amount split&lt;/P&gt;&lt;P&gt;This example shows you which header data you can enter in the HeaderData table, which item data you can enter in the Itemdata table, and which information you can enter in the VendorItemSplitData table to create an incoming invoice with amount split.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 10 pc of material A @ $10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goods receipt: 10 pc of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice for this purchase order referencing PO number 4500007505, PO item 10, GR document 50010095, item 1. The invoice is for a quantity of 10 pieces and a gross amount of $100. You want to apportion the gross amount to two creditor lines. 40% of the gross amount is to be paid immediately by check, and 60% of the gross amount is to be paid within 14 days, taking into account a 3% cash discount. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HeaderData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Invoice/Credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 05.20.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 05.23.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 0001&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 100.00&lt;/P&gt;&lt;P&gt;ItemData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item from the invoice document): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500007505&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;REF_DOC (GR document): 50010095&lt;/P&gt;&lt;P&gt;REF_DOC_YEAR (Fiscal year for the current period): 2000&lt;/P&gt;&lt;P&gt;REF_DOC_ITEM (Item from a GR document): 1&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V0&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 100&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 10.00&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;VendorItemSplitData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st creditor line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT_KEY (Grouping key for split in the vendor line): 0001&lt;/P&gt;&lt;P&gt;SPLIT_AMOUNT (Gross invoice partial amount in doc. currency): 40.00&lt;/P&gt;&lt;P&gt;PYMT_METH (Payment method): S&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V0&lt;/P&gt;&lt;P&gt;PMNTTRMS (Payment terms key): 0001&lt;/P&gt;&lt;P&gt;2nd creditor line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT_KEY (Grouping key for split in the vendor line): 0002&lt;/P&gt;&lt;P&gt;SPLIT_AMOUNT (Gross invoice partial amount in doc. currency): 60.00&lt;/P&gt;&lt;P&gt;PYMT_METH (Payment method): U&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V0&lt;/P&gt;&lt;P&gt;PMNTTRMS (Payment terms key): 0003&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData, ItemData, and VendorItemSplitData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming Invoice with G/L and Material Account Posting&lt;/P&gt;&lt;P&gt;This example shows you which data you have to provide in order to enter and post an incoming invoice (header data in table HeaderData, item data in table ItemData, G/L account information in table GlAccountData, and material account information in table MaterialData).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice with reference to PO number 4500006846, PO item 10. The invoice is for a quantity of 100 PC of material A, a gross amount of 150.80 USD incl. 16% tax. Included in this is a G/L account posting of 10 USD to account 400000 in company code 1, and a material account posting to the material MAT01n for 20 USD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HeaderData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 08.05.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 08.08.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 150.80&lt;/P&gt;&lt;P&gt;CALC_TAX_IND (Automatically calculate tax): X&lt;/P&gt;&lt;P&gt;PMNTTRMS (Payment terms key): 0001&lt;/P&gt;&lt;P&gt;ItemData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500006846&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 100&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 100&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;GlAccountData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 00001&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account): 400000&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 10,00&lt;/P&gt;&lt;P&gt;DB_CR_IND (Debit/credit indicator): S&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 0001&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1&lt;/P&gt;&lt;P&gt;MaterialData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 0001&lt;/P&gt;&lt;P&gt;MATERIAL (Material): MAT01&lt;/P&gt;&lt;P&gt;PLANT (Valuation area): 0001&lt;/P&gt;&lt;P&gt;DB_CR_INP (Debit/credit indicator): S&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 10.00&lt;/P&gt;&lt;P&gt;QUANTITY (MENGE_D): 1&lt;/P&gt;&lt;P&gt;PO_UNIT (PO quantity unit of measure): PC&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;More information is available in the parameter documentation for the tables HeaderData, ItemData, GlAccountData and MaterialData and in the SAP Library under Logistics Invoice Verification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Invoice for a purchase order for external services and service-based invoice verification&lt;/P&gt;&lt;P&gt;This example shows you which header data you must enter in the table HeaderData, which item data you must enter in the table ItemData, and which account assignment data you must enter in the table AccountingData in order to enter and post an incoming invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice referencing PO number 4500000191, PO item 10. Two services, A and B, are invoiced, each with a quantity of six service units. Service A has a gross amount of 580 euros incl. 16% VAT. Service B has 812 euros incl. 16% VAT. Service A has an account assignment of 50% to each of the two cost centers 1000 and 2000. Service B also has a 50-50 account assignment, to cost centers 1000 and 3000. The service acceptance is performed jointly for both services in one service entry sheet, number 1000000022. You cannot change the account assignments. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HeaderData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_TYPE (Document type): RE&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 01.10.2002&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 01.10.2002&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 0001&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 1392.00&lt;/P&gt;&lt;P&gt;CALC_TAX_IND (Calculate tax automatically): X&lt;/P&gt;&lt;P&gt;PMNTTRMS (Payment terms key): 0001&lt;/P&gt;&lt;P&gt;ItemData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First entry for service A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item in invoice document): 000001&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500000191&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 250.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 1&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): SU&lt;/P&gt;&lt;P&gt;SHEET_NO (Service entry sheet number): 1000000022&lt;/P&gt;&lt;P&gt;SHEET_ITEM (Line number): 10&lt;/P&gt;&lt;P&gt;Second entry for service A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item in invoice document): 000002&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500000191&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 250.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): SU&lt;/P&gt;&lt;P&gt;SHEET_NO (Entry sheet number): 1000000022&lt;/P&gt;&lt;P&gt;SHEET_ITEM (Line number) : 10&lt;/P&gt;&lt;P&gt;First entry for service B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item in invoice document): 000003&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500000191&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 350.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): SU&lt;/P&gt;&lt;P&gt;SHEET_NO (Entry sheet number): 1000000022&lt;/P&gt;&lt;P&gt;SHEET_ITEM (Line number) : 20&lt;/P&gt;&lt;P&gt;Second entry for service B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item in invoice document): 000004&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500000191&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 700.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 1&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): SU&lt;/P&gt;&lt;P&gt;SHEET_NO (Service entry sheet number): 1000000022&lt;/P&gt;&lt;P&gt;SHEET_ITEM (Line number) : 20&lt;/P&gt;&lt;P&gt;AccountingData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First account assignment for service A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 000001&lt;/P&gt;&lt;P&gt;SERIAL_NO (Sequential number of the account assignment): 01&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 250.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure): SU&lt;/P&gt;&lt;P&gt;Second account assignment for service A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 000001&lt;/P&gt;&lt;P&gt;SERIAL_NO (Sequential number of the account assignment): 02&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 250.00&lt;/P&gt;&lt;P&gt;QUANTITY Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure): SU&lt;/P&gt;&lt;P&gt;First account assignment for service B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 000003&lt;/P&gt;&lt;P&gt;SERIAL_NO (Sequential number of the account assignment): 01&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 350.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure): SU&lt;/P&gt;&lt;P&gt;Second account assignment for service B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 000004&lt;/P&gt;&lt;P&gt;SERIAL_NO (Sequential number of the account assignment): 03&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 350.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure): SU&lt;/P&gt;&lt;P&gt;More information is available in the parameter documentation for the tables HeaderData, ItemData, and AccountingData, and in the SAP Library under Logistics Invoice Verification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice for one-time vendor&lt;/P&gt;&lt;P&gt;This example shows you how to proceed in order to enter and post an invoice for a one-time vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You do not need to enter data in the AddressData table. If you do not enter data in the AddressData table, the address data for the one-time vendor is adopted 1:1 in the invoice from the purchase order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use table AddressData to transfer data, the address data for the one-time vendor is read from the purchase order into the invoice and is then either overwritten or supplemented by the fields of table AddressData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The purchase order for the one-time vendor has the following stored data: Name 'SAP AG', postal code '60000' and street and building number 'Neurottstraße 16'. You receive an invoice with the one-time vendor address: Name 'SAP AG', postal code '69190', and place 'Walldorf'. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AddressData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACC_1_TIME (Indicator one-time vendor): X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME (Name): SAP AG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POSTL_CODE (Postal code): 69190&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CITY (Place): Walldorf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The invoice is posted with the following one-time vendor: Name 'SAP AG' street and building number 'Neurottstraße 16', postal code '69190', city 'Walldorf'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for the table AddressData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice for different payee&lt;/P&gt;&lt;P&gt;This example shows you which address data you must enter in the table AddressData to enter and post an invoice for a different payee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice for the different payee with name 'SAP AG', postal code '69190', place 'Walldorf', bank number '38070724' and account number '4711'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AddressData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACC_1_TIME (Indicator one-time vendor): ' '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME (Name): SAP AG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POSTL_CODE (Postal code): 69190&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CITY (Place): Walldorf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BANK_NO (Bank number): 38070724&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BANK_ACCT (Bank account number): 4711&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for the table AddressData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Reward pts if found usefull &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathish &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 13:07:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro/m-p/2538601#M576626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T13:07:40Z</dc:date>
    </item>
  </channel>
</rss>

