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

BADI

WHAT IS CL_EXITHANDLER=>GET_INSTANCE? PLZ TELL

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 12:07 PM

    This class can be used to identify the BADIs triggering for a particular transaction which ever you are executing.

    Regards,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 12:08 PM

    It's a static method on the class CL_EXITHANDLER, that returns an instance of CL_EXITHANDLER - i.e. an instance of the BADI.

    matt

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 12:24 PM

    Suppose that you want to find what BADIs are available in transaction VA01.

    So you go to the Class builder - SE24 classCL_EXITHANDLER, goto method

    GET_INSTANCE

    At line 25, place a breakpoint at -

    CALL METHOD cl_exithandler=>get_class_name_by_interface

    CHANGING

    ......

    exit_name = exit_name

    Execute VA01, the system will stop at above breakpoint.

    In exit_name you will get the name of the BADI available for VA01.

    Note the BADI name, keep executing get the list.

    Reward points if useful.

    Regards

    Megha

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 12:28 PM

    Hi,

    GET_INSTANCE is the one of the method's in the class CL_EXITHANDLER which gives the instance name of particular enhancement for a transaction.

    Cheers,

    Bujji

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 12:35 PM

    Look at Changing" target="_blank">http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBCEX/BCDWBCEX.pdf">Changing the SAP Standard (BC)

    Search for "Calling Add-Ins from Application Programs"

    Regards

    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.