2008 Apr 04 10:42 AM
Dear Sir,
We are looking for a BADI/USER-EXIT in Tcode ME21n , which can change the Value of "Vendor Material Number" (Vendor Material Number is available under Item Detail in "Material" Tab . The value which need to be populated in the Field "Vendor Matreial Number" is equal to first 4 character of the Item Code .
I request the SAP Experts to kindly guide me with a sample Code please .
I will be highly grateful for the kind help pl .
Regards
B Mittal
2008 Apr 04 11:41 PM
Hello B.V.,
User-Exit:
First open the relevant Module Pools for ME21n via SE38. Then search for all CUSTOMER_FUNCTION 'xxx' where xxx is a 3 digit number. This number is linked to a User-Exit EXIT_<Module Pool>_xxx. Then investigate this function for it IMPORT parameters. In your case there has to be an interface for "Vendor Material Number".
For to implement the required changes use the by SAP delivered include ZX<something> inside this function.
BAdI:
1. Search in IMG
2. Find Enhancement Point in the relevant Module Pool.
Hope this helps,
Heinz