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

How to debug the BADI - BBP_CREATE_BE_RQ_NEW

Hi Experts,

Help me how to debug the BADI in order to validate my coding.

I have put a break point in the BADI and run the class CL_BBP_SC_TRANSFER_CLASSIC Instance DO by giving the SC no and the GUID but still the BADI is not getting triggered.

Suggest me any other way to debug the BADI.

Regards

Paul

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 23, 2008 at 10:29 AM

    Hello Paul,

    try to create a SC and set it on hold. If you then debug BBP_REQREQ_TRANSFER you should be able to debug the BAdI.

    HTH,

    Andreas

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 23, 2008 at 12:42 PM

    Hi,

    You can put an endless loop in your BADI BBP_CREATE_BE_RQ_NEW ,as shown below and force the program to stop there. Now go to SM50 and switch to debug mode for the program and start debugging(take process that keeps hangs in your endless loop).

    Data: l_flag.

    do.

    if l_flag eq 'X'.

    exit.

    endif.

    enddo.

    BR,

    Disha.

    DO reward points for useful answers.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 10, 2011 at 01:15 AM

    Thanks for the post. I had same issue and it helped me.

    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.