Skip to Content
0
May 07, 2008 at 03:51 PM

Vendor from LIF parameter in ME21N

183 Views

I am quite surprised, but after spending nearly a day trying to find out how to set an initial value for vendor in ME21N based on the LIF parameter the conclusion is that this is not possible.

SAP does certainly not check the parameter, but even worse is the (assumed) fact that it is not possible to set an initial vendor in ME21N through BAdIs or User Exits either.

This is unbelievable, so much so that I have to ask here for proof that I am wrong (or get this depressing piece of news confirmed).

So please, if anyone have found a way to "preset" the vendor in ME21N there's a guy in Norway who would be very happy to hear how you solved it.

Edited by: Kjetil Kilhavn on May 7, 2008 5:51 PM

Some background: the SAP system is an ECC 6.0 system with basis support package level 70012

The reason for this requirement is an invoice workflow solution where the contact person from the invoice wants to create a purchase order (didn't create it before ordering) and we would like to avoid errors where they type or select a vendor different from the vendor that sent the invoice. If we can prefill the field we can be quite sure that if they change it, it will be a very deliberate choice. Without prefilled vendor we don't have any idea as to whether it was a deliberate choice or a typing error.