Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BADI / USER-EXIT to change Vendor Material Number in ME21n

former_member143179
Participant
0 Kudos
225

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

1 REPLY 1

Former Member
0 Kudos
81

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