Skip to Content
avatar image
Former Member

Breakpoint is not getting triggered when put in CRM_QB_SEND_MAIL BADI Implementation

Dear Experts,

Our requirement is to send mail in HTML. So, for that we tried to use BADI Implementation CRM_QB_SEND_MAIL. And we put a Break Point in the Execute method of CRM_QB_SEND_MAIL BADI Implementation also we assigned QB_SEND_MAIL method in Actions and defined condition for the same also. But when we save the Service Incident, break point is not getting triggered instead it shows error "action could not be successfully executed".

Can anybody help to resolve the issue ? We will be very much thankful, if anybody helps to resolve the issue.

Thanks,

Seva.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 21, 2017 at 06:17 AM

    First thing would be to double check whether your execute method is actually called. For example you could write 'assert 1 = 2.' at the top of your execute method and repeat the triggering action. If there is a dump then the code is called, if not then your execute method is not called at all.

    What debugger are you using - ABAP in Eclipse or SAP GUI? If it's SAP GUI you might also have to use external breakpoints. Additionally the user you are debugging for must match the user that runs the process to be debugged.

    These are some of the most frequent reasons but there also can be others that are worth to be checked once the above mentioned are checked.

    Best regards,
    Armin

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 26, 2017 at 10:37 AM

    Dear Armin,

    Thanks a lot for your help and reply !!!

    We followed the steps suggested by you, but still the Breakpoint is not getting triggered.

    Our main requirement is to send each and every mail from SAP CRM WEBUI in HTML format instead of sending it as a PDF attachment.

    Can you please suggest further ?

    Thanks,

    Seva.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Armin,

      It is ok, if you are not able to help. But thanks a lot for your interest, kind cooperation and prompt reply !!!

      In fact, as per the suggestion given by you, I raised an incident to sap for the same, with the component BC-DWB-TOO-DBG. Also provided step-by-step documentation to SAP for the same.

      So, they will check & reply.

      Once again thank you very much.

      Thanks,

      Siva.