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

Badis (methods) need to be trigggered based on some validations

hi experts,

I have one query in BADIS.If i want to trigger my methods based on some values say for one badi i have implemeted 3 methods. Method 1, 2, 3.suppose if A condition satisfies then trigger 1,B satisfies trigger 2...how can i achive this.??

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 26, 2009 at 10:06 AM

    Hi,

    This can be achieved using filters in BADIs

    For example BADI : FI_PAYREF_BADI_010

    This is a filter dependent BADI so when you create a implementation you have to mention the value of the filter variable that you want it to trigger for like here we have LAND1 so if we only want on implementation to trigger for 1 country we can maintain the country.

    Hope this helps.

    Regards,

    Himanshu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 26, 2009 at 10:57 AM

    hai,

    what is the meaning of methods to be triggered

    1) if a badi has multiple methods in it u want to control which to call

    2) if badi is implemented multiple times u want to control

    the answer is

    if a badi has mulitple methods then the calling depends on where the mehtod is called and u cant control

    the second answer is if u have multiple implementations all are called but the sequence is out of ur control

    m.a

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 26, 2009 at 11:12 AM

    hi thank you guys.thread closed

    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.