01-03-2006 1:00 AM
We have to process EDI 810 Invoice.We are using INVOIC02 idoc with custom segments. Which FM or process code I need to use for my requirement? Is it INVL or INVM or INVF?
What is the best user exit to to perform the validations based on custom segments and to update the frseg tables???
Also I need to park the invoice, whenever there is a duplicate invoice and based on some other validations (like quanity check /amount check)!!! Is this something configurable or how do I achieve this? If not configurable, do I need to perform this validations manually with in a IDOC and call BAPI to park the invoice?
01-03-2006 2:44 PM
Hi SSG,
Check the transaction we64 if you haven't yet checked.
YOu can find the description for the process codes .
Double click on the Process ID of appropriate Process code which will take you to the Processing FM.
Please ignore if you have already done the above.
Regards,
Ravi
01-03-2006 2:44 PM
Hi SSG,
Check the transaction we64 if you haven't yet checked.
YOu can find the description for the process codes .
Double click on the Process ID of appropriate Process code which will take you to the Processing FM.
Please ignore if you have already done the above.
Regards,
Ravi
01-03-2006 2:48 PM
Ravi, I know the FMs for each of the process code.. But I am unable to figure out which one I need to use and the differences between each of them.. I read somewhere that IDOC_INPUT_INVOIC_MM is for release lower than 4.6c.. Also would like to know exactly what is the diff. between IDOC_INPUT_INVOIC_MRM and IDOC_INPUT_INVOIC_FI
01-03-2006 2:55 PM
As far as my knowledge goes, the FM IDOC_INPUT_INVOIC_MRM is related to MM module and the other ,obviously FI.
What exactly is your Business requirement?
This is an Inbound IDoc, so what Transaction are you trying to mimic using this IDoc?
01-03-2006 3:07 PM
My input is EDI 810 invoice (electronic invoice from vendor) and my requirement is to post the invoice in SAP (using MIRO).
Also I have some validations like checking for duplicate invoice, quantity/ amount validations and if the incoming invoice fails this validation, I need to park the invoice. How do I achieve this? (I know that i can use BAPI_INCOMINGINVOICE_PARK to park the invoice, but I presume this validations are standard, so I would like to leverage the standard code)
Would be great, if someone can help me out.
01-03-2006 5:14 PM
Hi,
Let me give my inputs on this.
The INVL/INVM does the verification of quantity etc..with the preceding documents like PO/GR etc....The description as you would have seen in the process code say logistics invoice verification. You are right in that the INVL needs to be used...I had an error in we02 when i used the INVM(i am on 4.7 system)...
There are some settings that you can do in transaction SPRO..check those out....the path is as below...
Financial accounting --> Accounts receivables and accounts payables --> Business Transactions --> Incoming Invoices/Credit Memos --> EDI --> Enter Program parameters for EDI Incoming Invoice
there is an option to park...however, i think this would park every document....i am not sure on this...
Thanks,
Renjith.
01-03-2006 5:21 PM
Thanks Renjith... I am not exactly familiar as to what is the difference between INVF (FI document) and INVL (Invoice verification). Could you please elaborate? What is the transaction that is executed for INVF? i presume MIRO (for INVL).
01-03-2006 5:46 PM
I feel INVL is for invoice verification with Logistics verification...where as the INVF is the posting to the VENDOR account directly ....
Pls check these links from SAP help...
http://help.sap.com/saphelp_46c/helpdata/en/44/f50ac5ea3b11d194dc0000e83dd751/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/f6/feeb47b535d1118b3f0060b03ca329/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/44/f50abcea3b11d194dc0000e83dd751/frameset.htm
Thanks,
Renjith
01-03-2006 6:59 PM
Renjith, Thanks .. From your post/links, can I conclude the following?
IF I am trying to post an invoice with reference to Purchase order or Goods receipt, we will be using IDOC_INPUT_INVOIC_MRM.
If I am trying to post an invoice without PO reference/ goods receipt, we will be using IDOC_INPUT_INVOIC_FI?
<i>where as the INVF is the posting to the VENDOR account directly ....</i>
Meaning that INVF will skip the verification part (Quantity / Amount verification)?
01-03-2006 7:03 PM
Yes...
My understanding is also along the same lines as you what you are telling.
Thanks,
Renjith.
01-03-2006 7:20 PM
Thanks Renjith.. Sorry for troubling u again and again.. Just to be sure, i understand this correctly..
Can I say that INVM is a superset of INVF, where we do both invoice verification and receipt (in INVM)?
or INVF results in Accounting document while INVM does not?
01-03-2006 7:29 PM
I agree with you...in that INVL/INVM can be treated as a super set of INVF. INVL/INVM creates an accouting document.
Thanks,
Renjith.
01-03-2006 7:38 PM
Renjith, thanks a bunch for your helpful answers. I am going to keep this thread open for a while to see if anybody else has a different opinion (just in case).
01-04-2006 3:43 PM
Renjith, I was looking at the code for IDOC_INPUT_INVOIC_FI and I am not able to exactly figure out what is the equivalent SAP transaction that it invokes... Any ideas?
01-04-2006 4:13 PM
Pls see my comments....
The INVF internally calls the FM MR_CREATE_INVOICE.
The INVL internally calls the FM MRM_CREATE_INVOICE.
These can be seen from the processing program.
I think both these calls the MIRO/MR01 transaction in SAP.
I am not sure on the verifications done by INVF.
INVL for example verifies whether the GR has happened for the quantity invoiced.
Thanks,
Renjith.