Park inbound EDI Invoices on iDoc failure from a workflow?

Hello all,
We have seen note 501524 that talks about parking inbound invoices by default.
Our situation is this. We are expanding our use of EDI for inbound invoices. As such we would like to automate the validations steps as much as possible. To date with our limited use we have set up a workflow to notify on idoc failures and then a few agents have access to BD87 to make the idoc right and reprocess. We don't want to continue this process.
Our preference would be to continue to allow the iDoc to fail, the workflow fires but at this point we communicate the failure to the appropriate person and park the invoice.
Does this sound like a reasonable approach?
Can we even park a red lighted iDoc?
Once parked can the invoice be dealt with without using BD87?
Has anyone ever tried this?
Thanks,
Doug

Hi Ralph,
   In my opinion, you must have a PO Number for Invoice if you want to use standard functionality. You will probably need to create IDOC using an ABAP program which reads this file and search for PO based on the information available to you. I also notice that you are missing material number as well, how do you match the item number in the PO ?
   I don't see a way aroung without writing an ABAP program to handle this logic, but you can still use IDOC ( which comes with the standard processing logic and that is a big advantage ) so that you need to write only the PO matching logic.
  or if you are not inclined to write a separate program for uploading file into SAP and formatting IDOC, you can write your own process code (FM)for INVOICE01. Inside this process code (FM), you can put your PO matching logic and then call standard FM (process code). This is what I usually do.
Cheers,
Sanjeev
Cheers,
Sanjeev

Similar Messages

  • How to configure inbound EDI invoice

    Hi all,
    Can any one provide me the steps to configure inbound edi invoice.
    Regards,
    Marella.

    Hi Arif, yes I did read that one.
    after reading that I got those doubts.
    In general, please help me to have a clear understanding in the following points.
    We have 4.6c.
    Please see my quries below and help me.
    SAP Tax codes
    Can an inbound MM invoice contain items belonging to different POs?
    Can the tax codes be different for different items in the same invoice?
    How to get tax codes for invoice items? Do we take these from the corresponding item in the PO? or from material master or from vendor master or some where else?
    What will be the tax code at the invoice header level?
    Regards,
    Marella.

  • How to exclude invoices matched to receipts from approval workflow (APINV)?

    I am trying to exclude the approvals for invoices matched to receipts. is this something possible?
    Thanks,

    I set the value "NO" to exclude PO matched invoices attribute so that the workflow will consider sending approvals to PO matched invoices. But the requirement is, if an invoice is matched to a receipt then I don't want the workflow to be kicked off.

  • Parkin invoices using IDOC INVOIC02

    Hello experts,
    We need to park invoices (related to a PO) using IDOCs. I have being reading that INVOIC02 with process code INVL may do this. However my question is:
    How SAP determines if I want to park or post an invoice? Is there any flag in the IDOC? I did not find one. Or is there any specific process code for parking and one for posting?
    Thanks in advance for your help.

    Hi carlosrv,
    I have similar requirement to park the incoming invoice in ECC system from SUS system.
    in ECC, I am using INVOIC message type with INVL process code.
    and in SPRO -> MM -> LIV -> EDI -> Enter program parameters, I am giving following values:
    Partn type: LS
    Partnr no: ABC_110
    Company code: (blank)
    Invoice doc type: RE
    Cred.memo doc.type: RE
    Park Document: X (checkbox checked)
    Processing: (blank)
    But the invoice is still getting posted automatically. They should be parked now as per the customizings.
    Am I wrong anywhere in configuration. Please help.
    Your reply is very much appreciated.
    Thankyou.

  • EDI INVOICE Function module IDOC_OUTPUT_INVOIC

    Hi,
      Please help me with a solution for the Specification.
    Requirements:
    1.     EDI Invoice requires populating bottle UPC number not case UPC in IDOC and also populates customer PO number when invoice billing type is a credit.  These changes need to be reflected on EDI invoice (Idoc INVOIC02).
    Investigation:
    Requirement 1. EDI invoices are populating segment E1EDP19 qualifier 003 based on the unit of measure in the line item.  If shipment unit is CSE then it populates CSE upc, if shipment unit is EA then it populates Bottle UPC. 
    a.     It was found that the UPC populated on the EDI invoice was being read from material master – Additional data tab.  (Field SMEINH-EAN11).  For the EDI invoice, the customers expect the bottle UPC on this column.
    Requirement 2.  Need to always populate Segment E1EDK02 Qualifier 001 (customer PO) on the INVOIC02 idoc.  Standard SAP populates this information only when the billing type is F2 (regular invoice) and if the customer PO was entered in the Sales Order.
                                a) Premier requires this information to be populated in the idoc if the billing type is G2, RE, L2 also.
    Solution:
    Requirement 1.
           IDOC_OUTPUT_INVOIC function module needs to be changed to always populate the UPC number for the bottle UPC in segment E1EDP19 qualifier 003, field IDTNR.  This number is found on the material master – Basic data 1 view.  Field name is MARA-EAN11.   Please see screenshot of where in the material master to find the bottle UPC. 
         a. This change applies to all billing types (F2, G2, L2, RE etc).
           Requirement 2.
                 Change IDOC_OUTPUT_INVOIC function module to always populate customer PO information in Segment E1EDK02 qualifier 001, field BELNR.
    If billing type is equal to G2, L2, RE and VBRK-XBLNR not equal blanks then make BELNR = VBRK-XBLNR.
    Segment:  E1EDK02
                                  Field:  QUAL = 001
                                  Field:  BELNR = VBRK-XBLNR
    Waiting for your reply,
    Please,Its urgent.
    Thanks,
    Chandra

    Hi,
    Neither EXIT_SAPLV56K_001 or EXIT_SAPLV56K_002 will be called when delivery is saved.
    You can use this user exits USEREXIT_SAVE_DOCUMENT in program MV50AFZ1 for saving delivery document.
    Also check this include progams which contains all user exits available for delivery processes.
    MV50AFZZ
    MV50AFZ1
    MV50AFZ2
    MV50AFZ3
    MV50AFZK
    MV50AFZL
    MV50AFZP
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Goods receipt and EDI invoice

    Hi all,
    I have a problem concerning receipts of EDI invoices and goods.
    Frequently our vendors send their EDI invoices to us before we get the goods.
    As we process the inbound EDI-invoices they are stuck in BD87 as an EDI-error saying that the PO haven´t been completely goods recipt.
    Is it possible to allow the EDI-invoice to be processed through the EDI-layer and get stuck with some blocking code in MIR6 even if the PO have items left to be delivered? If so, how do I do it?
    best regards,
    Glenn

    Hi Glenn,
    in the PO - invoice tab - you can find a field called "GR-Based-IV". When this field is checked - it means that the system expects GR first and then IV. When this field is not checked - IV can be entered before GR - but then the Invoice will have to be released after GR.
    In other words - try to un-check the field GR-Based-IV and see if it solves your problem.
    Hope this helps,
    Isaac

  • Receipt of EDI Invoices in Mexico according to CFDI

    Hello,
    Has anyone faced any problems with incoming EDI Invoices that are now (from 2014) aligned with CFDI in Mexico?
    My doubts are:
    1) Does EDI std carry any special information that CFDI forces ( e.g. the electronic stamp that PAC delivers?)
    2) Is the invoice receiver obliged to do any control before accepting and paying the invoice? (and if this should be automatically supported in EDI Invoices)
    Anyone who has got such a flow up and running - please share your experience!
    Thanks!
    Tomek

    I might be wrong but i have one doubt, it is more or less like credit card payment scenario where a minimum payment is due and you can pay the rest later on..(though the interest part is not there )...now when you are maintaining the payment terms in Customer Master..at a time only one terms of payment will be maintained.
    Customer can go for the payment as & when he wants to pay in that particular period, so you will not be able to pick the other conditions applicable...what i think is that you have to maintained the terms of payment somewhere else...or hardcode them...mention that if the payment is before 24th of the month in which the invoice was created then pick a particular term of payment or else other.
    Correct me if i am wrong.
    Regards,
    N

  • Inbound idoc failure(vendor invoice not posted)

    Hi All,
    we have two SAP systems. SAP A and SAP B.
    SAP A is the vendor for SAP B system we have created a sales order/delivery/out bound invoice in SAP A system.The sales order has BOM material with main item and sub items. We have the same material master data and BOM master data in system A and system B since we are following split architecture.
    The outbound invoice(with main and sub item) in system A has generated an outbound idoc and the idoc has gone to SAP
    system B. There are the usual segments like E1EDP01 for main item and another E1EDp01 for the sub itmes in the outbound
    idoc.The message type is INVOIC and basic type INVOIC02 with no extension.
    In system B, the inbound idoc (coming from system A) has failed giving the error message "higher level items not allowed". The
    segment E1EDP01 for sub item is highlighted in red ! basically the inbound idoc in sap system B is posting a vendor
    invoice since the inbound idoc in B is calling the FM IDOC_INPUT_INVOIC_MRM... I think this is doing vendor invoice
    verification.
    I have checked in system A, all is ok and the outbound idoc is ok but the issue is in sap system B, the inbound idoc has failed
    with message "higher level items not allowed". The segment E1EDP01 for sub item is highlighted in red in inbound idoc in
    system B. The segments are the same for inbound idoc in B and outbound idoc in A.
    Can someone pls tell what is wrong in system B.(config or data issue) as we are managing both systems.
    regds

    Hi,
    I am not sure if we can send both main  and sub items thorugh inbound invocie idoc to create vendor invoice.
    you can try to post the idoc by removing main items from the IDoc in WE19.
    one more thing you should aware is you are not allowed to to create two E1EDP01 segements for the same PO item(E1EDP02).
    check this as well.
    Regds,

  • Park vendor invoice thru' IDOC

    Hello All,
    The requirement is our vendor sends EDI invoices and they get parked in SAP as IDOCs. IDOC gets posted if GRN exist for a PO.
    In purchase order it is GR based IV. If vendor parks invoice and there is no GRN for purchase order then IDOC fails and it goes in status 51 (Error).
    Our requirement is, IDOC should get posted even if there is no GRN for a purchase order and client do not want to remove GR based IV tick from PO. After through verification of the parked invoice it gets posted in the system.
    We have done the config change in MM>>LIV>>EDI>Enter program parameters, we have maintained value "1" for field "Processing". Inspite of this change system does not process inbound ICOCs and they go in error (51) status.
    Please provide solution for this. This is possible to achieve by configuration. Not able to make out where is the problem.
    Van you all please suggest a solution.
    Thanks & regards.
    Sanjay

    turn you process. instead of directly posting the idocs and wanting the failed ones go into the parked status, park all first and process then the parked invoices.
    check OSS Note 501524 - EDI: Parking incoming invoices by default

  • EDI 810 Inbound - Vendor Invoice

    Hi
    What is the Message type, Basic type, Process code and Function module for Inbound Vendor Invoice (EDI 810 Inbound) ?
    Thanks
    Maruthi

    Hi
    I am  working on the Invoice receipt thru EDI-IDoc from Vendors (EDI-810 INBOUND). I am getting certain errors.
    Error 1:
    Customer , Vendor XXXXXXX not known
    Message no. FD110
    Error 2:
    G/L Account XXXXXXX can only be posted internally.
    Message no. F5562
    I have tried to trigger IDocs using basic types INVOIC01 and INVOIC02. But all in vain.
    Please rush your answer,
    Cheers
    Maruthi

  • Park incoming EDI/XML invoices

    Folks,
    I have a requriement to park all incoming invoices via EDI/XML channel. What it needs to achive this.
    All inputs would be deeply appreciated.
    Thanks.

    Hi Sandeep,
    Parking all invoices from EDI is not possible in LIV Im afraid.
    The field 'Park Document' as can be seen in txn OMRY (display, but same
    table used as in txn OBCE) is for Conventional IV only.
    Check out the online documentation at :
    MM > Logistics Invoice Verification
                 > Invoices received via EDI
                   AND > Processing EDI invoices.
    If it can, the system posts an invoice document for each IDoc.
    If the system cannot post the invoice, it gives the IDoc the
    appropriate error status. You must then process the IDoc manually.
    As a possible workaround, you might consider the following:
    Set the 'processing parameter' V_076S_M-MRMKORR to one
    of the values '1', '3' or '4'. In this case the correct invoices will
    be posted; and the wrong invoices can be processed via transaction
    MIR6 (overview of invoices) and report RMBABG00 (processing of invoices
    in background). The incorrect line items will be marked with an
    'unclarified error' (DRSEG-KZMEK = '1') so you can find those items
    in a faster way.
    The configuration for 'processing parameter' can be found in the IMG
    via the menu path > Material Management > Logistics Invoice Verif >
    EDI > Enter Program Parameters. Then read the F1 help for field
    'Processing' under the heading 'LIV only'.
    As mentioned in note 501524 that during EDI process, In the standard
    documents are only parked if quantities or prices differ from the
    purchase order.
    Hope this helps,
    Best regards,
    Adam,

  • Park incoming EDI/XML invoice

    Folks,
    I have a requriement to park all incoming invoices via EDI/XML channel. What it needs to achive this.
    All inputs would be deeply appreciated.
    Thanks.

    Try tcode OMRY.  This is where you configure the inbound processing and there is a place to check if you wan to Park the document .  This would be done after you've done OBCA, OBCB (if needed), OBCD

  • Parking Invoices Via IDOC

    Hi,
    I am using an inbound Purchase Invoices INVOICE02.
    Is it possible to park an invoice via idoc rather than creating it in MIR0.
    I do not want my IDOC to post the invoice and rather need to just park the invoice.
    Regards
    Krish

    Hi,
    There should be some reason for giving this FM inside the main FM
    This FM MRM_INVOICE_PARK will park the invoice while creating the invoice.
    The inbound function module uses IDOC_INPUT_INVOIC_MRM.
    I wanted to know if there is any indicator in the incoming idoc which will rout thru the MRM_INVOICE_PARK.
    Regards
    KRish

  • Inbound Freight EDI Invoices

    hello guru's,
    i have to make Inbound Freight EDI Invoices using direct input method so can anyone please tell me the steps that what i will have to follow for the same? i have to pick the file from application server because file will save on there only.
    regards.

    Hi,
      You can check this program as a reference: It deals with VTMMAS and not the message type you are referring to, but the concept remains the same.
    http://wiki.sdn.sap.com/wiki/display/ABAP/FiletoIdocFACTProgram
    cheers
    Aveek

  • How to find Outbound Idoc number from inbound Idoc number.

    Hi,
    I have one inbound Idoc in my system, then
    How to find the  idoc number from the system which sends that idoc(Outbound Idoc number).

    Hello
    You can use fm SREL_GET_NEXT_NEIGHBORS for this purpose.
    Scenario: An EDI purchase order is received by SAP-XI and forwarded as Inbound ORDERS IDoc to R/3. SAP-XI generates an (outbound) IDoc number which differs from the (inbound) ORDERS05 IDoc in the R/3 system.
    Calling fm SREL_GET_NEXT_NEIGHBORS with the following parameters:
    OBJECT-OBJKEY = <IDoc number, 16-digits>
    OBJECT-OBJTYPE = 'IDOC'
    MAX_HOPS = '99'            " <<< get all links
    I get the following result:
    0000000000133906                                   IDOC       CUSTOMER   OUTIDOC
    0000000000407402                                   IDOC                  INIDOC
    000000370383                                       BUS2012    CUSTOMER   OUTBELEG
    0010057944                                         BUS2032               INBELEG
    Outbound IDoc number
    Inbound IDoc number (ORDERS05)
    PO number
    Sales order (created from inbound ORDERS IDoc)
    Regards
      Uwe

Maybe you are looking for

  • Delete photo in album

    When I try to delete a photo by normal method the yellow frame switches to next photo in the Album but the photo to be deleted remains. When I click on the newly selected photo, then the correct photo, to its left, is deleted.  This is in Iphoto 11 o

  • Execution time in minutes and seconds

    In the UUT Report, the Execution Time displays in seconds.  How can I get that to display in minutes and seconds.

  • Setting up an Ultrabeat kit

    I'm building an Ultrabeat kit using various samples from Logic/Garageband. Is there a way to link multiple voices together, such as the way playing a closed hi-hat after an open one will stop the open sample? I know this can be done in EXS, but I als

  • Actionscript created in CS4 not Working in CS5.5 Trial?

    I have an interview coming up and decieded to improve some older works to present. The files I am using were created using my schools computers and CS4 Flash and actionscript 3. However, since I do not have a copy of Flash myself, I downloaded the tr

  • Fixing finder list flashing?

    My Favorites list in the All My Files window in the Finder is Flashing, How to fix it?