BAPI_INCOMINGINVOICE_CHANGE with multipe receipt documents

While trying to update an invoice item via BAPI_INCOMINGINVOICE_CHANGE the item line requires a reference document as the IR is GR based. However when there is more than one goods receipt document for the po line item this causes an error, as the bapi only checks the invoice quantity against the receipted quantity on that single reference document. This means it doesn't balance if the invoice is for a quantity that is different to the quantity on the supplied ref doc.
How can I force the BAPI to consider all the material documents in the po history when I am only allowed to enter on ref document?
I cannot think of a way around this.
Cheers,
Ross

Hi,
have you tried to pass multiple lines for same INVOICE_DOC_ITEM?
Cheers

Similar Messages

  • Error in workflow while linking goods receipt document with parked invoice

    Hi All,
    I parked document using Tcode MIRO, when WF has been executed and goods receipt document has been created.At the time that we tried to link this goods receipt to parked invoice document in the workflow,The problem happens with work item saying the status as Error. See the below error.
    MIRO Invoice: 801061193 2010 Item: 000001     13.09.2010     09:24:58     Error     AP Workflow for MIRO/MIRA Parked Invoice
    Can anyone advice why it is coming so?
    Thanks in advance.

    Hi
    In SWEL go to workflow trace and see what exactly is the error. This error description is too generic to arrive at soln.

  • Report for list of good receipt document against advance document

    Dear all,
    Good Morning.
    I want list of pending purchase order in which advace document is created but good receipt document is not created.
    Like.
    I have create one purchase order & also create down payment request with F-47. Payment also done by f-48.
    Now i want below mention detail
    1) List of purchase order in which advance is done but good receipt document is not created i means material is not received.
    2) If good receipt document is created then list of good receipt documents.
    Above both report required with advance document no. & purchase order no.
    Regards,
    Mahesh Wagh

    List of purchase order in which advance is done but good receipt document is not created
    i means material is not received.
    Use report ME2N with scope of list 'ALLES',selection parameter - WE101
    If good receipt document is created then list of good receipt documents.
    Use report ME2N With Scope of list 'ALLES',Selection parameter - RECHNUNG

  • Comparing Cost Center in ME23N and Goods Receipt document

    Hi,
    I do not have much functional knowledge in MM and I want to clarify following queries.
    I have to build a report that displays the Purchase order value and goods receipt value by cost center ( in the same output screen).
    In tcode ME23N of ECC, for any Purchase order item , we can display cost center in Account Assignment tab.( Same appears in table EKKN.)
    Also, in the purchase order History tab of ME23N, we can check GR ( Goods redeipt ) and IR ( invoice receipt )documents. ( This GR and IR information is stored in table EKBE.)
    My first query is :
    if a PO item has cost center 'C1' associated with this ( in account assignment tab of ME23N), can it be possible that goods receipt document for that PO item has different cost center than C1.
    i.e. is it mandatory that goods receipt ( GR ) document has the same cost center as that of corresponding purchase order item ?
    While posting the goods receipt, is it possible to edit the cost center in GR document so that after posting GR, PO item shows cost center C1 but GR document shows cost center C2 for that PO item.
    My second query is :
    If above scenario is possible, then there must be a table that holds the cost center infomation for a GR document. I would appreciate if anyone can share the table name.
    ( like we have EKKN for storing cost center of Purchase order item ).
    Thanks,
    Tarun Brijwani.
    Edited by: Tarun Brijwani on Jul 6, 2011 11:25 PM
    Edited by: Tarun Brijwani on Jul 6, 2011 11:27 PM

    Dear Tarun,
    Below is the answer to your query:-
    My first query is :
    if a PO item has cost center 'C1' associated with this ( in account assignment tab of ME23N), can it be possible that goods receipt document for that PO item has different cost center than C1.
    Not Possible
    i.e. is it mandatory that goods receipt ( GR ) document has the same cost center as that of corresponding purchase order item ?
    Yes
    While posting the goods receipt, is it possible to edit the cost center in GR document so that after posting GR, PO item shows cost center C1 but GR document shows cost center C2 for that PO item.
    No
    My second query is :
    If above scenario is possible, then there must be a table that holds the cost center infomation for a GR document. I would appreciate if anyone can share the table name.
    ( like we have EKKN for storing cost center of Purchase order item ).
    Not possible to have 2 cost center per line item and the cost center per lin item must be same with the cost center when you do MIGO. As a result of that, there is no table where it can store 2 cost center for each line item. Unless you are creating a service PO line item where it required sharing of cost center for the particular services or even asset.
    Thank you
    Regards
    Leonard Tan
    Edited by: Leonard Tan on Aug 22, 2011 3:31 AM

  • Reversal of goods receipt document at incorrect rate

    Hello,
    We have problem with reversing of goods receipt document.
    We have created a PO and fixed our exchange rate in PO. Then, we did GRN and system picked up exchange rate fixed in PO.
    After this we reversed our GRN document but this time the rate was not picked up from PO but rather from Exchange rate maintainance table i.e TCode OB08.
    Note: No change was done in PO in between of this two transaction
    Could you please tell me why this has hapenned and how to get rate from PO instead of OB08 while reversing GRN or any other way to achieve this.
    Regards,
    Deepika

    The entries are belwo:
    Our Company Code currency is NGN and PO created in USD with exchange rate 156.00000 (fixed in PO). Rate maintained in OB08 is 148.00000
    GRN :
    Item     Posting Key     Account     Amount (USD)     "Amt in Local Currency (NGN)"
    1     89     131001       219,240.00                          34,201,440.67
    2     96     292001       216,000.00-     33,696,000.00-
    3     93     641006           0                          1,728,000.00-
    4     40     641006          0                          1,728,000.00
    5     50     292027        1,080.00-                          168,480.67-
    6     50     292027        2,160.00-                           336,960.00-
    Reversal of GRN:
    Item     Posting Key     Account     Amount (USD)     "Amt in Local Currency (NGN)"
    1     89     131001     231,090.82-                          34,201,440.67-
    2     96     292001     216,000.00                          33,696,000.00
    3     93     641006     11,850.82                          1,728,000.00
    4     40     641006     0                          1,728,000.00-
    5     50     292027     1,080.00                          168,480.67
    6     50     292027     2,160.00                          336,960.00
    Here the Inventory has been reversed at rate from OB08. One more thing to notice is that Amt in Local currency is same in both entries i.e it is driving the transaction currency
    Regards,
    Deepika
    Edited by: Deepa on Sep 30, 2011 11:13 AM

  • SUS POs update with Goods Receipts and Invoices Information

    Hi SRM Experts,
    We have a SRM - SUS - R/3 landscape.
    1. We create POs in SRM (extended classic scenario) and transfer them to R/3 (via RFC) and to SUS (via XI – Interfaces PurchaseOrderRequest_Out and PurchaseOrderChangeRequest_Out).
    2. We post Goods Receipts into SRM (or alternatively into R/3).
    3. We post Invoices into R/3.
    Is it possible to update SUS POs with Goods Receipts and Invoices Information?
    If yes, what do we have to do to update this information into SUS POs?
    Thank you very much and kind regards,
    Marco.

    Hi Marco,
    you want to update SUS POs with GR / IV data?
    In a SUS environment each document counts as an own document and needs to
    be customized. I am not sure about understanding your requirement.
    Using the SUS-MM scenario in a classic environment enables the exchange of
    documents for PO / GR / IV in a "ping-pong" mode. SUS always needs a document,
    on which the next action can be based on.
    Thanks,
    Claudia

  • The linkage between Good Receipts Document & MM Invoices

    Dear Experts :
    I have an issue. I am doing Purchase Summary Report (ALV format). This report is to display each Good Receipts Documents with it's sum up invoice amount.
    But there is one scenario where, user post MM invoice, they didn't specify any reference GR documents in the Invoice document.
    Which means I couldn't find reference document number under EKBE-LFBNR, EKBE-LFPOS and EKBE-LFGJA where VGABE (transaction type) = '2'.
    Do we have any way or table to refer to link this kind of invoices to the Good Receipt Document ?
    Thank you very much.

    Hi, Time Sharing scheduling is based on credits that are allocated to the process while creation and as long as process keep consuming the OS resources (CPU etc), its priority keeps on changing dynamically (Because process has lost credits) where as processes with Real Time Scheduling are given priority over other processes configured with Time Sharing (even kernel resources).
    In simple terms, if LMS is configured with Time Sharing scheduling on a very busy Oracle RAC system, LMS process may contend for the CPU resources, which may cause performance bottleneck in cluster environment.
    In Oracle Real Applicaiton Cluster, various organizations has gained performance benefits of setting few Oracle processes such as LMS with Real Time scheduling.
    Thanks & Regards
    -Harish Kalra

  • How to Print Goods receipt Document

    Hi All,
    I ahve to make changes in Goods receipt Document. I am having the folling details with me .
    Program Name : - SAPM07DR
    Form Routine : - ENTRY_WE02
    FORM : ZWESCHEINVERS2.
    When i take print out for Goods receipt Document using transaction MB02 it print some RETURN DELIVERY SLIP. Bu when i check for FORM for output type WE02, it show the ZWESCHEINVERS2 form but this form is for Goods receipt Document. Can any one help to find out the way to print Goods receipt Document for any Material Document No.
    Thanks
    Piyush Mathur

    Hi
    Go to NACE transaction and find the correct form and program has been called. Once it is verified, make necessary changes in the required form for Goods reciept.

  • Need Acknowledgement When Posting Goods Receipt Document

    Hi,
    My scenario is i want to post the Goods Receipt Document using an idoc MBGMCR02. After posting if any error occurs  i want acknowledgement file describing the error. How can i achieve this. Kindly suggest.
    Regards,
    Venkat

    Hi Venkat !
    acknowldegement in the file to idoc scenario using BPM
    file adapter supports only transport ack,not application ack.
    /people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments
    Do the steps given in the help link for acknowledgement
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ab/bdb13b00ae793be10000000a11402f/frameset.htm
    also look at this Thread discuss the same
    Process Integration (PI) & SOA Middleware
    Thanks !!

  • Invoice Receipt document (TABLE RBKP) based on Sales Order (table VBAK).

    Hi Folks,
       I have to find Invoice Receipt document (Table RBKP) based on Sales Order (table VBAK).
       Please tell me how the two documents are linked.
    Thanks,
    Punit

    I don't know table RBKP, but I would start by seeing if I could find the value of RBKP-BELNR or XBLNR as the next document in table VBFA.  If found, then you know how to read VBFA forward from sales order (VBAK) to VBFA with correct next document type, then to RBKP with the document number....
    Don't know if this will work, but this is the first approach I would take.

  • I am using a Photoshop cs2, and I wonder if it is possible to keep the settings of the guidelines when closing an image, with the actual document ? It would be nice to have the guidelines locked down, I find it than when opening the same or another image,

    I am using a Photoshop cs2, and I wonder if it is possible to keep the settings of the guidelines when closing an image, with the actual document ? It would be nice to have the guidelines locked down, I find it than when opening the same or another image, the guidelines are not locked, it is annoying to have to lock them down again. and it would actually be nice, to ba able to give specific directions when placing the guidelines. Thanks

    Then why are the guides unlocked when I reopen a document that I saved with the guides locked ?
    Thanks.

  • Receipt Qty in AP invoice does not match with actual receipt qty.

    Hello everyone,
    I am facing an issue in oracle Payables module. When we match invoice with receipt while preparing invoices, Quantity received shown in the Receipt quantity block in invoice window does not match with actual receipt quantity of that item. Due to this difference user is not able to book the invoice. Please help me to resolve this issue.
    Thanks,
    Himanshu Gupta

    Exactly. What i mean is in the invoice window, There is a block called reciept quantity shown in the lower part. The received quantity displayed in that block is more the actual quantity being recieved. (when we see the recieving transactions). is this a bug?
    thanks for your reply, awaiting your response......
    Himanshu Gupta

  • Problem with freeze on Document forms

    Hi all,
    i've a problem with freeze on document's forms (like invoice) when i make changes on matrix.
    For example i've an addon that calculate discounts for items and update the information in the matrix. But when I update the info in the Matrix I see the cursor run across the matrix.
    This create two problems. The first one is the orrible aspect that the operation assume, the second is that sometimes some cells turn to black and remain ofthis color.
    Can someone help me?
    Here I post a piece of my code:
        Dim oForm As SAPbouiCOM.Form = SBOApplication.Forms.Item(FormUID)
        Dim oMatrix As SAPbouiCOM.Matrix = oForm.Items.Item("38").Specific
        Dim oRefLine As Integer = 0
        oForm.Freeze(True)
        Dim Cnt As Integer = 1
        Try
          While Cnt <= oMatrix.RowCount
            If oMatrix.Columns.Item("U_RefLineId").Cells.Item(Cnt).Specific.Value <> "" Then
              Dim apDouble As Double = oMatrix.Columns.Item("15").Cells.Item(Cnt).Specific.Value.ToString.Replace(".", ",")
              If apDouble <> 100 Then
                SetMatrixValue(oMatrix, "U_RefLineId", Cnt, "")
                SetMatrixValue(oMatrix, "11", Cnt, oMatrix.Columns.Item("U_OrigQtyMN").Cells.Item(Cnt).Specific.Value)
                SetMatrixValue(oMatrix, "U_OrigQtyMN", Cnt, 0)
                Cnt = Cnt + 1
              Else
                oMatrix.Columns.Item("15").Cells.Item(Cnt).Click()
                SBOApplication.ActivateMenuItem("1293")
              End If
            Else
              SetMatrixValue(oMatrix, "15", Cnt, 0)
              Cnt = Cnt + 1
            End If
          End While
        Catch ex As Exception
          SBOApplication.StatusBar.SetText("Error: " & ex.Message, SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error)
        End Try
        oForm.Freeze(False)

    Hi Daniele,
    I use a little different approach because the Freeze on a Form is like parenthesis on formula. You must be sure that the Freeze(true) are balanced by a Freeze(false).
    So my pattern is:
    Try
        oForm.Freeze(True)
        ' the operation you need to do with the freezed form
    Catch Ex as Exception
        ' Menage the errors here
    Finally
        oForm.Freeze(False)
    End Try
    The Finally statement is executed in both case when an Exception is raised or when the code is right executed.
    But I think this is not the problem in your code.
    If you still having problem, probably we need to examine your sub-routine "SetMatrixValue".
    It is also important to know your SAP Business One version because in the past there was a version with a problem in the refresh of matrix.
    I use SAP Business One 2007A SP01 PL06 HF1 and I do not have problem with the freezing.
    Hope it helps.
    Carmine

  • Report to Purchase Orders with Good Receipt and pending for Invioce Receipt

    Hello,
    I'm looking a report bring me Purchase Orders with Goods Receipt and waiting for Invioce Verificacion (MIRO).
    I appreciate any help.
    Regards,
    Hector

    Hi,
    ME2N - In selection screen, enter Selection parameters as
    WE102 i.e. Goods receipt exists and in output screen put a filter on "Still to be invoiced (qty)" and "Still to be invoiced (val.)" as not equal to zero OR greater than Zero.
    OR use RECHNUNG i.e. Open invoices and execute the report
    OR Use MB5S - GR/IR Balances

  • Report for vendor no., vendor name for good receipt documents on KSB1

    Hello,
    My client needs vendors on KSB1 report. I told them about offseting  account, but it doesn't show vendor for good receipt documents.
    Is there any place else they can view vendor, vendor name for those good receipt documents .
    Any MM report or AP report .
    Thanks,
    T.G

    Hi,
    Please go to FBL1N, In Dynamic Selection give document as "WE", this will give and enable Purchase Order Number
    This will give you Vendor Name, Purchase Order and  FI Document number or u can try MB51, there you will not get Vendor Name, but you will get Vendor Code, Material Document Number and Purchase Order Number
    Br,Vivek
    Edited by: View_taurian on Oct 22, 2011 12:01 AM

Maybe you are looking for

  • How can I can I change an Appleworks business card to match an Avery Label?

    I used the earliest Apple II's, and I loved Appleworks, being a member of the Appleworks Users Club through the days of Appleworks 6, which I still use on my Macbook with OS 10.6.8.  I enjoy the ease of creating business cards that it allows.  I have

  • Problem with Spanish accented characters in some sites (e.g. "é" shows as "eacute")

    Spanish accented vocals are not being shown correctly at some pages of a site that I use often (https-based online banking). Note that not all pages at that site show this problem. On the problematic pages, all accented vocals are shown as a combinat

  • Stuck Pixels on iPod Touch

    My iPod Touch is having the stuck pixel lcd problem. I have about 3 significantly bright stuck pixels and a whole bunch of not so bright ones. I don't seem to have the inverted black problem though. Is this an issue that can be easily fixed by an upd

  • Is there a replacement for avery labels software in Lion

    I just spent an hour battling one of the clumsiest pieces of software I've ever dealt with in three decades of computer use. Avery labels! Used to be a snap, under (gulp!) Windows, but now it's an unmitigated disaster.* I have tried to use OpenOffice

  • How do I remove McAfee Site Advisor from OS 10.7.5?

    I cancelled the McAfee Security Suiteweeks ago but the site advisor is still active and blocks sites such as Angie's List even when you tell it to enter anyhow. I suspect that it causes erratic screen moving and slows the computer. I have dragged it