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

Why the BADI does not run?

Why the BADI does not run?

I check the MD14 found a BADI MD_PURREQ_CHANGE in this t-code,

Now my step is:

1. SE19:Click Classic BAdi . BAdi Name : MD_PURREQ_CHANGE

2. Popup window:Implementation Name:ZMD14_CHANGE

3. Input the Implementation Short Text

4. Active this

5. now I debug the Method: CHANGE_BEFORE_SAVE_MRP or

Method: CHANGE_BEFORE_SAVE_CONV

Input the abap code:Break-point u2018devXXXu2019.

But when I run MD14,why canu2019t goto debug.

Is it my step is wrong?

Please help me?

Iu2019m a strangeness in BADI.

Thanks

Sun.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2008 at 03:55 AM

    hi,

    Make sure both Implemented Badi and Method are active ....

    Regards,

    Santosh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2008 at 05:15 AM

    HI,

    Previous i tried these adis wont trigger there ...........whats your requirement.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 31, 2008 at 03:44 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2008 at 03:50 AM

    Hi Sun,

    Goto SE24 -- Class Builder transaction code.

    Goto CL_EXITHANDLER Object type.

    Inside it select the Method GET_INSTANCE.

    Double click on the Method and keep a break point on

      CALL METHOD cl_exithandler=>get_class_name_by_interface
        EXPORTING
          instance                      = instance
        IMPORTING
          class_name                    = class_name
        CHANGING
          exit_name                     = exit_name          " Exit Name
        EXCEPTIONS
          no_reference                  = 1
          no_interface_reference        = 2
          no_exit_interface             = 3
          data_incons_in_exit_managem   = 4
          class_not_implement_interface = 5
          OTHERS                        = 6.

    Now Goto your transaction and run it.

    Now you can find the exit names in the field EXIT_NAME.

    Best regards,

    raam

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2008 at 05:27 AM

    Hi, Thansk For all.

    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.