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: 

user exit for sales text

Former Member
0 Kudos

Hi,

I would like to ask if you know any user exit where i can add new validation on the values being inputted by the user in the sales text during mm01/mm02..

thanks!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Please see the user exits used in mm01 and mm02.

Transaction Code - MM01

Exit Name Description

MGA00001 Material Master (Industry): Checks and Enhancements

MGA00002 Material Master (Industry): Number Assignment

MGA00003 Material Master (Industry and Retail): Number Display

Transaction Code - MM02

Exit Name Description

MGA00001 Material Master (Industry): Checks and Enhancements

MGA00002 Material Master (Industry): Number Assignment

MGA00003 Material Master (Industry and Retail): Number Display

you can use MGA00001 for checks and validations.

Regards,

Anusha v.

10 REPLIES 10

Former Member
0 Kudos

Hi ravolarte,

Could please let me know where is the Sales text field in MM01/MM02.

Regards,

Suneel G.

0 Kudos

hi.. its in the tab before MRP1

Former Member
0 Kudos

Hi,

Check the following user exit.

MGA00001 Material Master (Industry): Checks and Enhancements

Regards

Rajesh Kumar

Former Member
0 Kudos

Hi Ravolarte,

Following are the user exits for MM01 / MM02

MGA00001

MGA00002

MGA00003

May be you will have to debugg the code and check which user exit is triggered when the sales text is changed in MM01 /MM02 transaction.

Hope this may be useful..

Regards,

Prashant Gaikwad

Former Member
0 Kudos

Hi,

Please see the user exits used in mm01 and mm02.

Transaction Code - MM01

Exit Name Description

MGA00001 Material Master (Industry): Checks and Enhancements

MGA00002 Material Master (Industry): Number Assignment

MGA00003 Material Master (Industry and Retail): Number Display

Transaction Code - MM02

Exit Name Description

MGA00001 Material Master (Industry): Checks and Enhancements

MGA00002 Material Master (Industry): Number Assignment

MGA00003 Material Master (Industry and Retail): Number Display

you can use MGA00001 for checks and validations.

Regards,

Anusha v.

0 Kudos

Hi,

the sales text is not included in that exit..

the table to be check is MLTX

0 Kudos

Hi,

Use BAPI BAPI_MATERIAL_SAVEDATA

OR READ_TEXT AND WRITE_TEXT OR SAVE_TEXT function module

0 Kudos

Hi.. i think i cant modify this FM and BAPI.. i want to add my own logic to check the input values thats why i want to modfy the user exit if there is..

Former Member
0 Kudos

Hi Ravolarte,

You can find the user exit on your own.

1) Open the Transcation code and get into the screen where you would like to add your own logic.

2) Click on System --> Click on Status >It will diplay the screen with all details> Double Click on

the Program name.

It will take you to another screen of that program>Now click on Utilites>Object Directort Entry

-->It will now display the Package name.

Copy the Package name and open transcation code Smod-->Press F4 --> You will get related User exits with descriptions.

You can pick the related one and impliment your own logic in CMod.

Hope this helps...

Regards,

Kittu

Former Member
0 Kudos

Thanks guys!