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

MD15 BADI update PR

Hi,

I have a requirement to update the bednr in PR in MD15 when saving.

I have found

BADI MD_PURREQ_CHANGE and method CHANGE_BEFORE_SAVE_CONV. Is this the right BADi to use?

I have tried to put break-point inside the method but it does not stop when I run and save using MD15.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 21, 2015 at 07:53 AM

    To debug you must first create and activate an implementation and set the break-point in the method of the implementing class.

    Hint: Execute OPP1 to get list and documentation of available BAdI.

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello

      This is the correct BAdI to be used on transaction MD15.


      Sometime the BAdI is called in update mode (background), therefore, your break-point will not be called.

      You can try another method to check if the BAdI is called, such as saving a value on a custom table or you can try to activate update debugging on the debugger, so that you can debug the update process.

      BR
      Caetano

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2015 at 08:15 AM

    Hi,

    I have tried to put a code inside the method CHANGE_BEFORE_SAVE_CONV to update the created PR.

    I have succesfully update the PR during creation. But I still wonder howcom my breakpoint does not execute or do not stop in that line.

    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.