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

CRM_OPPORT_H_BADI

Hi Experts,

I'm implementing CRM_OPPORT_H_BADI wherein I need to stop a transaction from getting saved if an error message is thrown.

How do I restrict the Save functionality from getting executed?

Any pointers to this would be quite helpful.

Regards,

Richa

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Sep 02, 2008 at 11:14 AM

    Please stick to this thread: Adding exceptions to BADI?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Karsten,

      Thanks for the pointer.

      But the main point is that I want to restrict SAVE while implementing CRM_OPPORT_H_BADI.

      Is there no way I can do this in the same BADI?

      Thanks & Regards,

      Richa

  • author's profile photo Former Member
    Former Member
    Posted on Nov 11, 2008 at 08:07 AM

    Error was raised in CRM_OPPORT_H_BADI and then ORDER_SAVE was implemented to check if the same error is getting displayed, then do_not_save exception was raised.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi

      There is a method * BEFORE_SAVE* ...can you put a break point there and excute the Transaction.Once it stops there then check the Data base whether data updating tables by that time.I fnot then it is the place where you can populate an error message.

      ganga

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.