Skip to Content
author's profile photo Former Member
Former Member

Exit or BADI for MM01 entered value check

Hello,

I want to check enterd material code in MM01. Because we have material number range rule but it's so complecate and can't be used SAP standerd number range.

Please advice me what exit or BADI can be used for this check in MM01 initial screen.

Regards,

Yoshi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Aug 01, 2012 at 09:35 AM

    Please Check the Following BADI's

    BADI_MATERIAL_CHECK

    BADI_MATERIAL_OD

    BADI_MATERIAL_REF

    DOCUMENT_MAIN01

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2012 at 04:07 AM

    Check This out :

    BADI_MATERIAL_CHECK

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      If you want to check some thing on SAVE, then use the EXIT: MGA00001.

      or if you want to check before save i.e. on enter or when you move to some other tab in MM01 then use the BADI's

      BADI_MATERIAL_OD

      BADI_MATERIAL_REF.

      If the above BADI'S and EXIT won't work for you, then I would suggest you to use a class CL_EXITHANDLER, go to method GET_INSTANCE and put a break point in that, and run your transaction over there you will find a suitable BADI.

      Please let me know in case of any queries....

      regards,

      Rajesh Sadula.

  • author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2012 at 01:11 PM

    Hi,

    Use PF_STATUS_SETZEN,SET_OTHER_MATERIAL_DATA_BILD method....

    You could find your self if you would have tried by keeping break point in all methods of badi BADI_MATERIAL_OD, and check which one you want to use.....

    Regards,

    Rajesh Sadula.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2012 at 10:18 AM

    Thank you Rajesh,

    If you know what method can be used for material code check when push enter after material code fill in initial screen in BADI_MATERIAL_OD and _REF, pls let me know.

    regards,

    Yoshi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.