on 12-20-2005 5:23 AM
Hi folks,
Scenario: Inbound EDI vendor invoices received as IDOCs.
I'm using Logistics Invoice Verification process code INVL to receive and post vendor invoices on to the ERP2004 release of R/3.
I have purchasing info records setup with the vendor material number.
When I process an inbound vendor invoice, I can put in a customer material number i.e. a material number existing in material master in E1EDP19-IDTNR with qualifier E1EDP19-QUALF = 001. When I do this, R/3 checks that the material number is valid and refuses to post an invoice if the material number is invalid - this is good.
This means that the EDI program parameters with the 'Check Material Number' enabled is working as expected.
Now when I only have a vendor material number i.e. E1EDP19-QUALF = 002 an E1EDP19-IDTNR = vendor part number, R/3 posts the invoice even if the vendor part number is invalid - IDOC_INPUT_INVOIC_MRM does not seem to be validating the vendor part number. The document posts whether I use a valid vendor part number or an invalid one - what am I missing?
Satish
Hi Satish,
Did you find out a solution for this? I am having difficulties with the same issue. I need to compare the Vendor Material Number and the Manufacturer's Part Number but the IDOC is not looking at these fields at all...
Would appreciate your response.
Thanks,
Aps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
To include your self-defined check logic use one of then exits from enhancement MRMH0002 - "Logistics Invoice Verification: EDI inbound".
Regards,
Maxim.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maxim,
Thanks for the suggestion. It is quite unfortunate that we need to write custom logic for something so straightforward like validating a vendor material number, which is present in the PO/line item, against the incoming IDOC. Ideally, there should be an R/3 configuration setting to turn on this check. But the only check available to check material numbers is in EDI program parameters. And this only works for customer material numbers, not for vendor material numbers.
Regards,
Satish
I can answer by words of Axel Angeli - top level SAP R/3 consultant and R/3 cross-application development coach, the author of classic book "SAP R/3 Guide to EDI, ALE and Interfaces":
"SAP R/3 delivers a serious of predefined EDI programs. Many project administrators see them as standards which should not be manipulated or modified. The truth is, that these IDoc processing functions are recommendations and example routines, which can be replaced by own routines in customizing."
and
"SAP R/3 is delivered with a series of predefined IDoc types and corresponding handler function modules.
Some of the handler programs have been designed with user-exits where a developer can implement some data post-processing or add additional information to an IDoc.
You must always see those programs as examples for IDoc handling. If the programs already do what you want, it is just fine. But you should never stick to those programs too long, if you need different data to be sent."
So now you can feel free to customize
Regards,
Maxim.
Hi satish,
May be there are no checks on on vendor partnumber.
did you checked it in the FM.
vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.