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

badi

Hi experts,

In the method MB_DOCUMENT_UPDATE , I created a FM for a requirement .

When I execute the transaction VLMOVE for testing, the MB_DOCUMENT_UPDATE method triggering two times , so my FM inside this executing two times .

What could be the problem? pls suggest. I implemented as shown below

1. In se18, In MB_DOCUMENT_BADI

2 . Clicking Implemention ->Change->Implementaion Name

3. Clicking the tab->interface->double click on method MB_DOCUMENT_UPDATE

4.Created FM inside the Method MB_DOCUMENT_UPDATE

Is there any mistake in implementaion? pls give suggestion

thanks

sai

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Sep 22, 2008 at 04:40 AM

    This BADi would be trigger each time for each materail document posting.so may be in your case you have 2 document so it's triggering 2 times.

    Amit.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Kiran,

      I found the problem, I am written my FM in another implementation .

      Now I created the new implementation and I place the FM in that implementation.

      Now the new implementation ins inactive. When I try to activate in se19 i am getting below mentioned message. Now in the list of enhacement implementation, I don't see relevant implementation for my badi

      now please let men know what to do?

      Implementation ZZMB_DOCUMENT_BADI migrated (see long text for instructions)

      Message no. SEEF_BADI049

      Diagnosis

      A BAdI was migrated. All existing implementations must now be migrated

      as well.

      Procedure

      The new BAdI is now part of an enhancement spot, while the new BAdI implementation is part of an enhancement implementation. In the subsequent dialog box, you either have to create a new enhancement implementation or select an existing one.

      Caution: Only select enhancement implementations that you are allowed to process. For example, a customer BADI implementation should never be migrated into an SAP enhancement implementation. If you do not find any suitable enhancement implementation, create a new one using the create button.

  • author's profile photo Former Member
    Former Member
    Posted on Sep 24, 2008 at 05:29 AM

    solved

    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.