INVOIC02 Idoc

Hi,
I am trying to create an invoice linked to a PO using inbound INVOIC02 IDocs.
I am getting an error message "Formatting error in the field BKPF-BLART; see next message". This is puzzling me as BLART does not exist in any segment and there are no further error messages. I have populated the header segment with BSART = "INVO".
In vain, I have tried using output determination to automatically output an INVOIC02 IDoc when I create one manually in MIRO, in the hope I can just change the ports to post it back in with a new ID. I have set up the condition records OK, such that a message entry automatically appears when I create the invoice with the vendor in the condition record. I have set it to process immediately. When I save the invoice, no IDoc gets created (I have done something similar for POs and that works OK). I have even tried using program RSNAST00 to kick it off, but that doesn't do anything either.
Useful answers to either problem will be rewarded. Many thanks in advance,
Peter

The error message is caused by missing EDI configuration. In order to post invoices successfully using inbound INVOIC02 IDocs, it is necessary to maintain configuration using transactions OBCA, OBCB, OBCC, OBCD and OBCE (these can also be accessed through SPRO under Financial Accounting - Accounts Receivable and Accounts Payable - Business Transactions - Incoming Invoices/Credit Memos - EDI).
1) In OBCA, maintain an external company code for each of the SAP company codes used in table T001. Although the field called "Company code name in the invoice" is a free text field, it must be identical (it is case sensitive too!!) to the value in the Idoc segment E1EDKA1 with qualifier ‘RE’.
2) In OBCB, set up a relationship between each SAP company code and the vendor reconciliation account. Specify a goods/services number of *
3) In OBCC, you can maintain additional account assignment details
4) In OBCD, maintain the name of the tax code from the external system and the SAP tax codes - even if you don't need to actually change the values between the systems. Maintain a tax type and rate for each country's tax codes you intend to use. These match up with the values in the Idoc segment E1EDP04.
5) In OBCE, maintain the posting keys and document types for each company code. This is where the invoice document type is taken from. There are some other interesting flags here, such as park document and create a BDC session - I've played around with the parking flag but the invoice was always posted!
Finally, make sure that your partner profile for the external system in WE20 has a process code INVL and calls function module IDOC_INPUT_INVOIC_MRM (as I was initially using INVF!)
Hopes this helps everyone as it took me 3 weeks to work out!!
Peter

Similar Messages

  • 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

  • How to find the appropriate user exit for invoic02 idoc in idoc_output_invo

    Hi all,
    I am new to this community p
    i have issue regarding  the How to find the appropriate user exit for invoic02 idoc in idoc_output_invoic function module.........
    thanks,

    Hi ,
    welcome to SDN.
    You can select the appropriate Customer exit accrding to the available parameters .
    The list of exits available are 
    EXIT_SAPLVEDF_001
    EXIT_SAPLVEDF_002
    EXIT_SAPLVEDF_003
    EXIT_SAPLVEDF_004
    For Example , if you want  to modify the Idoc data(EDIDD) you have to use the EXIT_SAPLVEDF_002. accodingly you can select the user exit according to the avaialable parametres.Use Table MODSAP fto get the Enhancement name.
    Hope this Helps
    Rgds
    Sree
    Edited by: Sree on Jul 23, 2010 12:11 PM

  • INVOIC02 IDoc - data mapping

    Does the following attributes exist in the standard INVOIC02 Idoc:
    Contract Date
    Contract Type
    Delivery Date
    Shipping Point
    Shipping Condintion
    Transport Method
    Thanks,
    Faisal

    Please check for the fields in  IDOC documentation using Transaction WE60.
    Thanks.

  • Mapping of inbound INVOIC02 iDoc Segment to MIRO/MIR7 Header Text? Help!

    Hi Experts,
    I need to map a field from the inbound INVOIC02 idoc to the header text field. This field is TABLE:INVFO;(Struct)Field:SGTXT as shown in MIR7. I thought that segments E1EDPT1 & E1EDPT2 would map to this field but it is not showing up in the processed invoice. Is there a segment/field in INVOIC02 that maps to this field?
    Thanks,
    Doug

    Hi,
    Try like this
    Ledger                        Ledger     
           EqualS------------OR            EqualS------------OR  EqualS------------OR   EqualS------------OR----Not---
    Constant(460050)       Constant(471000)          Constant(420600)       Constant(472150)
    and   Brand-------
                    EqualS--CreateIF-----Target Brand
    Constant(75999)
    Thanks!

  • INVOIC02 IDOC E1EDKA1 PARVW value meaning

    I checked WE60 documentation and cannot determine what the meaning of
    /INVOIC02/IDOC/E1EDKA1/PARVW = "EN"
    I am tasked with setting up a new mapping rule and am trying to correlate the IDOC E1EDKA1 vendor numbers to the PO and Invoice values. WE60 has all other PARVW values documented but this one. Is there another way to determine what Invoice field is used to populate this value so I can correlate the data value?

    Hi Bryan,
               As far i know the PARVW will not be having value "EN" , the abbrevation of EN is "English" which will be sent in the field /INVOIC02/IDOC/E1EDKA1/SPRAS [Language Key].
               The Values generated in PARVW will be LF or RS , so this seems to be a wrong data entry and you can avoid this.
               For PARVW you also refer this page
    [http://help.sap.com/saphelp_di46c2/helpdata/EN/44/f50abfea3b11d194dc0000e83dd751/content.htm]
    -Muru

  • VAT currency code in INVOIC02 idoc

    Hi experts,
    Anyone know if there are a field in the INVOIC02 idoc where I can specify the currency of the VAT.
    If for example we are invoices in EUR and need to report tax in SEK, where in the idoc do I tell the system that my VAT amount are in SEK?
    best regards,
    Glenn Karlsson

    according to the docu, the VAT amount is in document currency
    http://help.sap.com/saphelp_di46c2/helpdata/EN/44/f50abfea3b11d194dc0000e83dd751/content.htm
    I have heared about this requirement with VAT amount in local currency, however I have not seen a solution yet.
    MAybe you should ask SAP directly (dont forget to post the answer here)

  • AUGRU in INVOIC02 IDOC?

    Hello everyone,
    I am trying to find a way to identify certain INVOIC02 IDOCs in the middleware based on the order reason (VBAK-AUGRU) of the sales order the invoices (billing documents) were created for. The requirement is to use the standard INVOIC02 IDOC and the standard function module for outbound processing.
    When I look at the structure of the INVOIC02 I can see that it has a field AUGRU in segment E1EDK01. The question is now, whether this will have the same content as VBAK-AUGRU.
    The obvious thing to do would be of course to just test it in the system, but this is not an option currently.
    Thanks for your help,
    Thomas

    Hi Sharadha,
    There is no corresponding fields to map the specified fields. For this you need to extend the standard Idoc and specify these fields in extented version of the Idoc.
    I hope this will help you.

  • Comparing INVOIC01 and INVOIC02 IDOCs

    Hi All,
    In my project, currently INVOIC01 type IDOCs are being used.
    There is a requirement to use INVOIC02 type IDOCs instead of INVOIC01 type IDOCs.
    To achieve this, I need to compare the structure of INVOIC01 and INVOIC02 IDOCs.Can you please suggest a way of doing this?
    Is there a standard SAP tool which can do this?
    Any pointers in this regard will be highly appreciated and suitably rewarded.
    Regards,
    Som S

    Som,
    I realize this is an old post but thought I'd try.  
    I'm in a similar situation where I need to understand the differences between invoic01 and invoic02 and I'd like to see how successful you were with your attempt to do a comparison and what differences you found. 
    Sandra

  • Outbound INVOIC02 idoc

    Dear experts,
    I need to trigger outbound invoice idoc (INVOIC02) not at event of printing invoice but through a scheduled process for invoices of the day.
    Is some standard program available ?

    Hi Aditya,
    You would be looking to schedule program RSEOUT00 for those IDocs then.  I think you would also have to look into the partner profiles in WE20 to make sure you aren't triggering them automatically.
    Regards,
    Ryan Crosby

  • Converting INVOIC02 idoc to EDIFACT INVOIC message (Using Adapter Module

    Hi Friends,
    We are sending customer idoc (INVOIC02) from R/3 to external system through PI. We want to generate EDIFACT output file (message type : INVOIC).
    Is it possible to convert IDoc message to EDI file format through java adapter module ? Will adapter module support this  without using Seeburger adapter ?
    kindly clarify, friends.
    Kind regards,
    Jegathees P.

    There is an alternative to Seeburger.
    DataDirect also has complete EDI-XML conversion by way of deploying a module which is called from an adapter. The range of parameters with the conversion is also quite extensive, allowing tolerance for partners who may have included non-standard EDI qualifiers and such.  The XML tags make for easier mapping.  StylusStudio XML Suite includes the EDI<->XML adapter so you can try the conversions each way directly in that package.  If you are happy with it, you need to then purchase the package from DataDirect.  We did this and implemented EDI for X12 and EDIfact, including Orders and Invoices and some other messages.  The communications part was not included.  We wrote the EDI files and used a separate process to actually send and receive the files. The IDoc <-> EDI mapping  was done using the normal graphical mapping of SAP PI. The Stylus Studio package includes the functionality to generate the XSD, which we imported to SAP PI.

  • INVOIC02 IDOC for vendor invoice

    hi friends..
    can we post invoice for vendor in F-02 using this IDOC for posting key 31...
    plz help..

    Hi Sharadha,
    Good morning and greetings,
    Please go through the following SAP OSS Note
    Note 195538 - INVOIC02: user exit/additional account assignment
    If found useful please reward points
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • INVOIC02 Idoc error ME708

    Hi,
    I am using IDoc INVOIC02 to create invoices relating to purchase orders. Some of the IDocs are in error with message ME708 e.g. "Item 00001 for purchasing document 4900006028 not selectable". What does this mean? I have tried comparing entries in tables EKKO and EKPO for the affected orders and haven't seen any significant differences.
    Many thanks in advance,
    Peter

    Hi Peter Applestone,
    I want of your guidence. This is related to thread INVOIC02 you posted long back. As you are actively working on this i take liberty to post this.
    I am also working on this Invoice receipt thru EDI-IDoc. I have configured the same way you have explained below. Those steps were really helpful. But i am always getting the error again and again. The error is:
    Customer , Vendor XXXXXXX not known
    Message no. FD110
    I have tried to trigger IDocs using basic types INVOIC01 and INVOIC02. But all in vain.
    Please rush your answer, Peter !!
    Cheers
    Maruthi
    your message----
    Re: INVOIC02
    1) In OBCA, maintain an external company code for each of the SAP company codes used in table T001. Although the field called "Company code name in the invoice" is a free text field, it must be identical (it is case sensitive too!!) to the value in the Idoc segment E1EDKA1 with qualifier ‘RE’.
    2) In OBCB, set up a relationship between each SAP company code and the vendor reconciliation account. Specify a goods/services number of *
    3) In OBCC, you can maintain additional account assignment details
    4) In OBCD, maintain the name of the tax code from the external system and the SAP tax codes - even if you don't need to actually change the values between the systems. Maintain a tax type and rate for each country's tax codes you intend to use. These match up with the values in the Idoc segment E1EDP04.
    5) In OBCE, maintain the posting keys and document types for each company code. This is where the invoice document type is taken from. There are some other interesting flags here, such as park document and create a BDC session - I've played around with the parking flag but the invoice was always posted!
    Finally, make sure that your partner profile for the external system in WE20 has a process code INVL and calls function module IDOC_INPUT_INVOIC_MRM (as I was initially using INVF!)
    Hopes this helps everyone as it took me 3 weeks to work out!!
    Peter

  • Mapping of INVOIC02 IDoc

    Hi,
         I am doing IDoc to File scenario.
    IDoc is INVOIC02
    Mapping rule is as follows for an idoc field.
    map E1EDP01-MENEE  for item line and map E1EDP05-MEAUN  for cond line.
    target field is unit of measure.
    How do i map MENEE to unit of measure for item line and MEAUN to unit of measure for conditin line?
    Can someone please explain the procedure for this mapping?

    Hi manikandan,
                        Could you please tell the requirement some wat clearly. Wherher itemline and condline are fields or input values???

  • Problem in INVOIC02 Idoc trigger for Customer

    We are trying to issue outbound invoices( Message type INVOIC / basic type INVOIC02) to the customer.
    We have configured the output type ZINV in NACE and are using while creating the invoice.
    This Customer is configured in the KU  partner types thriugh WE20.
    But when we try to create the invoice from VF03 and save for the output type then IDOC doesnt get trigerred.
    Whats missing ?
    Regards.

    Hi Amber,
    Then you click enter button.It is asking to create object with that include name ZXBC425G01U01 in a pop-up.You  should select YES option.It will ask package . Give the package name and save.Then include program is created and allowed you to write your own code.
    Thanks,
    Prasad GVK.

Maybe you are looking for