cancel
Showing results for 
Search instead for 
Did you mean: 

I need a user exit/BADI for MIGO FOR Good issue that check quantity

Former Member
0 Kudos

I run MIGO for good issue from reservation and i need that the system give me an error message when quantity in the Migo is exceed the quantity of reservation.

For this i try to customize the error message in OMCQ by using the M7022 (& exceed &&) but it doesn't work , so i try to find the appropriate user exit ou badi that allows me to check the inserted quantity compare it to reserved one and give me an error message when it's greater but not inferior.

Thanks for your help.

Accepted Solutions (1)

Accepted Solutions (1)

JL23
Active Contributor

"but it doesn't work" - this is an end user statement, it has not really any information to work with.

rushing into BADI and user exit is probably for many ABAPers the first choice, when your only tool is a hammer then everything looks like a nail.

I would recommend to read thourogly OSS note 200654 - Requirement quantity of reservation exceeded

Former Member
0 Kudos

Hello,

I really don't understand why do you answer me like that.

I'm not ABAPERs, I'm functionnal WM consultant and I'm new in this community ( that's why i have posted my question first in SAP FORUMS, it's a mistake).

I say that "doesn't work" because I have tested and And I have not managed to have the desired result, may be I have missed steps But I done my best.

Thank you for note's number but i can't have any note because i haven't access.

Thank you a lot

JL23
Active Contributor

How can you do your job if you have no access to SAP notes? Talk to your supervisor. If the software was legally purchased then someone in your organization should have this access and is in charge to grand this authorization to consultants.

You still did not say what you tested, there can be so many things effect the appearance of a message that just saying

"I have tested and And I have not managed to have the desired result" does not tell much to others who have no access to your system. Messages can be personalized, one user can have a warning, the other an error, the third just nothing.

If you want strangers to help you then you have explain them the things that they cannot see.

We can assume that you turned M7 022 into an error message, but we do not know which message version you have and how your parameters in SU3 are.

But why at all M7 022? What made you think that this is the right message? It is actually not, which you could know if you had access to the SAP note. This note explains what steps need to be taken to enable a message, it does not explicitly tell which message it finally is, but it tells you in which table you have to do changes to enable that a message is send. And if you compare those settings with existing content in the table then you should come to the conclusion that there is already such entry with number 362, which makes together message M7362

You can try your luck in OMCQ if it works for you right away, if not then you need the note and have to complete the settings

former_member186746
Active Contributor

https://websmp106.sap-ag.de/~sapidp/012002523100008495752016E/

Get yourself an s-user id or ask the company that you're working for if they share one.

Former Member
0 Kudos

Thks a lot

Former Member
0 Kudos

thks a lot , i the first post , you have replied to my question.

Answers (1)

Answers (1)

NTeunckens
Active Contributor
0 Kudos

Please do a Community (or Google) - Search first, there are numerous resources on this with regards to Enhancements for 'MIGO' ...

Give one of the following a try :

  • MB_MIGO_BADI
  • MB_QUAN_CHECK_BADI
  • MB_RESERVATION_BADI
  • ...
Former Member
0 Kudos

Thank you for response.

I ask this question because i'm not sure that these BADIs ensure the check of the quantity in the MIGO or MB26.

I read a lot of "resources" about this subject but as I can't check my self the user exit ( I haven't access key) , I just want to be sure that it can check the quantity.