Skip to Content
avatar image
Former Member

User-Exit for MD01

Dear All,

I want to Run MRP(MD01) for Selected MRP group and MRP controller, as per ours client req. So can you guide me how to proceed.

Regards

babar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jul 25, 2012 at 10:16 AM

    HI

    Use exit M61X0001.

    Regards

    Anupam Sharma

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 25, 2012 at 11:15 AM

    Hello,

    As Anupam mentioned, MRP User Exit is M61X0001. Refer below link for more info.

    http://scn.sap.com/thread/684639

    Regards,

    Anup

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 25, 2012 at 04:23 PM

    Go to OMIX and create user keys with same code as MRP controller code and give any description in user parameter.

    Now go to SE37 and enter the following exits names and get an idea of the ABAP code

    EXIT_SAPMM61X_001

    EXIT_SAPLM61C_001

    You will see ZX includes, go to SE38 and create them with same name you saw in SE37.

    Now in the includes add the code similar to the following code:

    *&---------------------------------------------------------*

    *&  Include           ZXM61U01

    *&---------------------------------------------------------*

    CLEAR: no_planning, stop_planning.

      IF user_key = 'B01'.

        IF mt61d-dispo = 'B01'. "Plan only MRP Controller B01

    *Continue

      ELSE.

          no_planning = 'X'.    " Exclude all others

        ENDIF.

      ENDIF.

    IF user_key = 'B02'.

        IF mt61d-dispo = 'B02'. "Plan only MRP Controller B02

    *Continue

      ELSE.

          no_planning = 'X'.    " Exclude all others

        ENDIF.

      ENDIF.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 26, 2012 at 02:20 AM

    Hi,

    Go to OMIX, maintain your user exit key the same with your MRP controller ID for example : 001 for raw material.

    then create new project in CMOD, use enhancement M61X0001. Use component EXIT_SAPMM61X_001

    write the code inside with this screenshot below, the coding is general so you only need to maintain OMIX for another additional MRP controller key.

    The last, when you want to run MRP for mrp controller, go to MD01, at the bottom write your mrp controller to User exit key.

    Regards,

    Arman

    Add comment
    10|10000 characters needed characters exceeded