Using INVOIC01, IDOC posts invoices against POs that weren't sent to vendor

Does anyone have any suggestions on how to prevent the IDOC INVOIC01 invoices from posting against POs that were not originally sent to the vendor??  (BSART = INVO)
For example, vendor (1521) sends an electronic invoice file processed as an IDOC.  Vendor 1521 includes an invoice against a PO that was sent to vendor 7549.  Since the PO exists, the IDOC posts against it.  I want to make this a hard error (a 51 status).
Please help,
Cindy

Hi Cindy,
If you are using a standard process code for this interface, you will not have this sort of problem as the combination of Vendor and PO number are validated before that is posted. If you are using a custom stuff then you need to check the table EKKO by passing the vendor number and PO number as input to that, if that combination exists go ahead otherwise throw the idoc into 51 status.
Thanks,
Mahesh.

Similar Messages

  • Cannot post invoices against  a business closed workorder

    Hi,
    We  are facing be;ow issue
    We  cannot post invoices against  a business closed workorder.
    The process is as follows:
    ·       At the moment a service has been delivered we create a service entry sheet against the purchase order (Account assignment work order)
    ·       At the same time we complete the workorder (status TECO)
    ·       When the invoice arrives at Accounts Payable the want to post it against the PO
    ·       Previous step is not possible due to the fact that the workorder has been Business Completed by SAP (status CLSD)
    This results in a lot of hassles for AP and our admin, they have to re-open WO's, post invoices and close workorders again.
    Can you tell me what to do to get this resolved?
    In my opinion Workorders should never get status CLSD as long as there are invoices to post against them
    Thanks
    Br,
    Akkshaya

    Hi,
    You can see the the invoice posted or not from the document flow to the order.
    Coming to business closure normaly it is year end or quarter end activity. Which you will not be performing every day. And this activity prefarably be performed by finanacial people. Sice all the cost postings most of them are closed by them. They will get fair enough idea which period invoice posting is done.
    Then in between you have to run settlement also. Finally I can say it depends on business call who will do and when.
    Regards,
    N.Nagaraju

  • Posting Invioce with payment reference ( KIDNO) using INVOIC01 idoc

    Hi SAP Gurus,
    We have a process to post invoices in the system using IDoc basic type Invoic01.
    The requirement is that vendor will pass the payment reference in the XML message and we need to populate this payment reference value in the payment reference field in invioce (in payment tab, techinical field name is KIDNO).
    I am struggling to find the segment in the idoc which holds this value and qualifier if any to be used to post this automatically.
    Can any one help please?
    Edited by: Rish SAP consultant on May 5, 2011 1:58 PM

    Hi,
    I sent a message to SAP asking how to include the KIDNO in the IDOC. They said that it wasn't possible to add the payment reference in the electronic invoice without using custom code:
    Unfortunately there is no KIDNO-Field provided within Invoic*-Idocs.
    In the IDOC definition for E1EDK02 there exist a qualifier 071 (KIDNO)
    but it is not used. This qualifier is used only in other function
    modules and scenarios.
    You have to use userexits and program your own functionality importing
    and exporting KIDNO.
    Within SAP Standard the functionality to transfer BSEG-KIDNO within
    inter company billing from the document of the one company code to
    the idoc to be posted in the secondary company code is not provided.
    But you can use note 562193 as an example how to fill this field
    in the customer function '002'.
    Should you wish to have this functionality added to future releases
    please consider entering a development request. Please see note 11 for
    more on this.
    Apologies for not having a more favourable answer and thank you for yourunderstanding.
    Br Linus Hellsing

  • User Exit for Enter / post invoice against the order without goods receipt

    Hi,
    My requirement is to enter or  post the  invoice against the Purchase order without goods receipt.
    Need to an User Exit  for this.
    Thanks in Advance!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    User exits available are:
    V02V0001 Sales area determination for stock transport order
    V02V0002 User exit for storage location determination
    V02V0003 User exit for gate + matl staging area determination (headr)
    V02V0004 User Exit for Staging Area Determination (Item)
    V50PSTAT Delivery: Item Status Calculation
    V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
    V50R0001 Collective processing for delivery creation
    V50R0002 Collective processing for delivery creation
    V50R0004 Calculation of Stock for POs for Shipping Due Date List
    V50S0001 User Exits for Delivery Processing
    V53C0001 Rough workload calculation in time per item
    V53C0002 W&S: RWE enhancement - shipping material type/time slot
    V53W0001 User exits for creating picking waves
    VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
    user exit when PGI is done
    Reward if useful.

  • BAPI to post invoice against a Scheduling agreement

    Hai,
    Can someone guide me which BAPI to use to post a Invoice against a scheduling agreement.
    Thanks,
    Upender

    Things which need to be taken care of:
    You need scheduling lines for todayu2019s date or in the past
    You need to release the JIT/FRC(ME84)
    You need to print out the delivery schedule (ME9E)
    Then it is possible to post the GR with MIGO.
    Hope this helps!
    Sofia

  • Post Invoice Against Scheduling Agreement

    We have a situtation where an end user created a non-GR relevant, text based only line item on a scheduling agreement, however the IR flag is turned on.  Knowing that scheduling agreements have to have a delivery schedule is it possible to post an invoice against a scheduling agreement line item that is text based only?

    I agree.  The only flag that is set at the line item level is the IR flag and no others on this scheduling agreement. The error message I'm getting in MIRO is:
    1) No (suitable) item found for purchase order XXXXXXX
    2) PO item XXXXXX XXXXX does not allow invoice receipt
    I've checked everything I know to check (Confirmation control key...etc).  We have several items on this scheduling agreement that are not showing in MIRO exactly like this one.

  • Error while posting invoice against PO

    Hi
    While posting an invoice against PO #, it is giving error as Field Prof.Segmt is a required field for G/L account Company code XXXX XXXXXX(GL master #)
    Message no. F5808.
    Can anyone provide me the possible solution for this.
    I would appreciate your kind response and reward points.
    Regards
    Madan

    Hi Madan,
    In transaction SPRO under
    Financial Accounting -> General Ledger Accounting -> Business Transactions -> GL Account Posting -> Carry Out and Check Document Settings -> Define Field Status Variants
    Choose your Field Status Variant and click on Field Status Group. Double click on Field Status Group. Go to General Data and make "Profitability Segment" as either "suppress" or "Opt Entry".
    Regards,
    Srilatha.

  • How to post invoices in AP that has been paid by employess and make corr

    Hi Guys,
    Do you know how to correct book AP invoice in Oracle 11i that has been paid by employees and how to make correct reconciliations in the books on Supplier and Employees side? Employee paid by cash for AP invoice that has been borrowed to him from company.
    Thanks
    Karol
    .

    if this is a normal practice in your organization, then you can do the following:
    1-define a natural account in COA for this employee.
    2-create a bank account for payable and use this account as cash account.
    3-make payment from this bank account for supplier invoice paid by the employee.
    4-when making payment to employee, enter a Standard invoice while selecting employee as supplier and in distribution select account defined in step#1 and make payment of this invoice form actual bank or cash account created as bank in your application.
    i hope this will solve your purpose.
    Rgds,
    Fahd

  • Invoic01 idoc posting error Lock error 1 &

    All,
    Has anyone seen this error before with Idoc processing?   If so what causes it?   The idoc status is 51 and the Status detail is
    Code                   SAP
    message #           999
    message type         E
    ID                         ZZ
    Any ideas on how I can determine this?   We cannot replicate the issue so can't trace/debug. 
    Thanks
    Sandra

    Thank you both -  I thought it was due to customization but was hoping the code SAP meant it was due to SAP standard. 
    Anyway, I did what you both told me to do - got the same results.  Unfortunately this ZZ seems to be used as a catch all type error message so there are hundreds of abaps that appear when I click on "where used".   I know most of the customized objects so can search on those individually.  
    Thanks again,
    Sandra

  • How do you determine debit vs. credit in an invoic01 idoc?

    Hi all,
    I'm relatively new to the EDI area of SAP - We have edi documents (X12 810) that are coming into our R/3 47 system via invoic01 idoc.  The problem is that credits are being posted as debits.  I can see in the X12 document that it is marked "CR", but I don't see where to look in the invoic01 idoc type to see if it's getting there as a credit.  Any ideas / suggestions?
    Thanks,
    Ken Little

    Ken, take a look at the value being mapped to the E1EDK01-BSART field.  Is it 'CRME' or 'INVO' or other?  This value controls the setting of the variable 'bsart_cremem' and subsequent debit/credit handling from there in the IDOC process code.

  • Single invoice against mutiple sales order for a single customer PO

    Hi all,
    Customer provide a single order via EDI per Depot.  When the order is received into SAP these are split into multiple order based on the Production or distrubtion location of the products. The customer will receive a number of deliveries to the depot from the various locations.  Each delivery has his own SAP sales order and delivery note.  This creates mutliple invoice against a single Purchase order sent by the customer.
    We have a requirement from two customers that they only wish to receive a single invoice per depot per day.   This means we need to change the way we currently invoice the customers(no multiple invoices needed).We need to be able to combine multiple deliveries with the same PO to a single invoice.  This would mean that the invoice can't be generated until all the deliveries relating to the single PO have been POD flagged or 7 days  have passed from PO date and invoicing is due.
    how to achieve the above,whether through user exit in billing or data transfer routine in copy control(delivery to billing) or through config and how ??
    regards
    sachin

    For generating collective invoice from deliveries, you can customize the copy control (VTFL) as per your need. Please see the copy requirement 004 and data routine 001.
    Bye
    Ellath

  • Single invoice against multiple sales order for a single customer PO

    Hi all,
    Customer provide a single order via EDI per Depot.  When the order is received into SAP these are split into multiple order based on the Production or distrubtion location of the products. The customer will receive a number of deliveries to the depot from the various locations.  Each delivery has his own SAP sales order and delivery note.  This creates mutliple invoice against a single Purchase order sent by the customer.
    We have a requirement from two customers that they only wish to receive a single invoice per depot per day.   This means we need to change the way we currently invoice the customers(no multiple invoices needed).We need to be able to combine multiple deliveries with the same PO to a single invoice.  This would mean that the invoice can't be generated until all the deliveries relating to the single PO have been POD flagged or 7 days  have passed from PO date and invoicing is due.
    how to achieve the above,whether through user exit in billing or data transfer routine in copy control(delivery to billing) or through config and how ??
    regards
    sachin

    Hi Sachin,
    You will have to create a new data transfer requirement on the copy control between the delivery and the invoice. In the new data transfer requirement, you will need a programmer to code when there should be an invoice split.
    Regards,
    Finbarr

  • Post non PO invoice line items using INVOIC01 and FM IDOC_INPUT_INVOIC_MRM

    hello there SAP folks,
    Have an interesting question for all of you. We currently have a partner through whom we use the IDOC_INPUT_INVOIC_MRM Function module to pass invoices. Now there are multiple line items some times [multi E1EDP01 / E1EDP02] segments which all refer to the same PO but to different line items on the PO. Now all that is well.
    For one particular partner we now have the following requirement. We are going to have the same condition as above, with the added condition that there are going to be some invoice line items with no reference to a PO. the reason is that the vendor is going to calculate the different taxes and send them to us. so when we post the invoice :
    we will now have
    31 Vendor
    40 GR/IR
    40 Tax 1
    40 Tax 2
    50 Tax 3 offset
    instead of
    31 vendor
    40 GR/IR
    to deal with the new situation I tried adding having the following
    first E1EDP02 is going to refer to the PO using qualifier 001, but second E1EDP02 [for tax] s not going to have a qualifier 001. When I do that i get a missing belnr (001) and zeile (001) error.the exact error message is the following
    Required field BELNR(001) is missing in segment E1EDP02
    Required field ZEILE(001) is missing in segment E1EDP02
    Message no. FD070
    Now to bypass that, I added the 001 qualifier for the second E1EDP02 [tax part] and now the error that I get is either the PO is duplicated or if i put some dummy PO number, then it says PO cannot be found.
    =======
    so the question is how is it possible to post  4 items in the idoc , with one being a PO reference and 3 non PO reference using INVOIC01 and IDOC_INPUT_INVOIC_MRM
    I also have to add that it is possible to add a non PO items to the MM invoice in MIRO by entering the additional tax lines using the g/l account tab next to the PO reference tab.

    nvm.
    Edited by: D N on Dec 16, 2008 2:10 PM

  • GR posting using inbound Idoc against Outbound delivery

    Hi,
    We are doing SAP ISR integration with third party POS and there we have a scanario where we have to post GR against outbound delivery using inbound Idoc. Can anybody help me out, how can we do it.
    In SAP processing would happen using MIGO against outbound delivery number and movement type 101. We tried the same with Idoc WMMBXY message type but not suceed.
    Looking for positive reply.
    Regards
    Vikrant pathak

    Hi,
    You can never do a GR against an outbound delivery, but where as you can do a GR against PO with reference to corresponding sales order with special stock indicator.
    That means when the GR is done the goods what ever you have received is going to be blocked against the corresponding sales order and when you do the outbound delivery against the sales order stock is already available and the goods issue will happen smoothly without any errors.
    We have implemented the same in my earlier project.
    Thanks,
    Mahesh.

  • Invoice Posting using INVOIC02 Idoc for PO and Non-Po based invoices

    Hi All,
      We have a problem regarding posting Invoices using Idocs.
    We have po and non-po invoices coming frm thirdparty in the form of idoc files.
    We need a clarification whether Invoic02 idoc can handle both Po and Non Po Based invoices or threre are seperate idoc types or message types for Po and Non Po Invoices.
    Could any one give some inputs on Partner Profiles also for this senario.
    Please kindly reply as early as possible.
    Regards
    Anil Kumar K

    Hi
      I Got your name from this site.I would be very thankful if you can help me here.I am designing a EDI based invoice LIV.Is it possible to post some charges which are without PO reference but are coming in Vendor Invoices.Is it possible to post these kind of charges with EDI message INOIC01 or we have to post through FI posting.If possible through EDI in which segment of IDOC we will enter these charges with amt.Also is it possible to post credit memo also with EDI
    Thanks
    Sanjeev

Maybe you are looking for

  • Any ideas on this one??  textpane weird thing

    I need to search through the document in a jTextPane and color certain words...I had it working but it skipped a character on every new line. I searched and found this, http://forum.java.sun.com/thread.jsp?forum=31&thread=42144 but it does not help w

  • Not only does Adobe flashplayer continue to crash on my operating system (windows 7) but now java script is having issues .... what is wrong with firefox????

    for months I have checked the forums, and seen the same issues with Adobe Flash Player ... I have uninstalled and reinstalled too many times now and am totally frustrated with Firefox,. I just get it working again and Firefox updates and then I have

  • Strange behaviour in K8N Neo2 platinum BIOS

    I have this board and recently got Crucial Ballistix Tracer 2GB kit that are rated at 2.8v. I'm running 1.8 bios on the motherboard and never had stability issues with my old memory Corsair 1024MB xlpro as they're only rated at 2.6 but since I got th

  • How to resize a gif image

    hi i need to resize a gif image to my preferable height and width . i have copied some code from net , its working fine for small images . but when i resize large images the background becomes back .... so any body help me put in this.... regards man

  • Vista x64 and 4GB Issue resolved? nforc

    Ok, i have a fatalty card and its in a 2nd computer since i got the popping noises with previos drivers, but now with this new one i have hope ^^ ok my question, has anyone tested the Fatalty (or any other X-Fi) on vista x64 with 4gb+ ram? on an nfor