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

trigger change badi when click a custom button

hello guys i want to trigger the change badi when a user clicks on a button. Any help would be create?

I am using the set change by client setting it to true and then firing the refresh but it is not working? Any clues? Thank you.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2011 at 01:47 AM

    hello i am trying to get some ideas from this thread but it is not working... wd_context modification in order to trigger the CHANGE badi Any help for any gurus??????

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      so this is what i did for my custom button.

      element = wd_context->get_lead_selection( ).

      CALL METHOD element->set_changed_by_client

      EXPORTING

      flag = ABAP_TRUE.

      call the method wd_comp_controller /sapsrm/if_cll_xo_mapper~fire_event_refresh

      and it is not triggering my changed badi. Let me know what is wrong? Thanks!

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.