Regarding BADI's

Hi ALL,
What is BADI, how many types of badi, and what is filter dependent BADI.
please provide me any links or examples regarding above will be appreciated.
Points will be awarded..
thanks,
vinesh.

Hi,
Business Add-Ins
Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
As with customer exits (SMOD/CMOD [Page 40]), two different views are available:
• In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object.
• In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.
In contrast to customer exits, Business Add-Ins no longer assume a two-system infrastructure (SAP and customers), but instead allow for multiple levels of software development (by SAP, partners, and customers, and as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.
SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.
The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time.
In addition, Business Add-Ins can be defined according to filter values. This allows you to control add-in implementation and make it dependent on specific criteria (on a specific Country value, for example). All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard.
A single Business Add-In contains all of the interfaces necessary to implement a specific task. In Release 4.6A, program and menu enhancements can be made with Business Add-Ins. The actual program code is enhanced using ABAP Objects. In order to better understand the programming techniques behind the Business Add-In enhancement concept, SAP recommends reading the section on ABAP Objects
DEFINING THE BADI
1) execute Tcode SE18.
2) Specify a definition Name : ZBADI_SPFLI
3) Press create
4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
multiple use.
5) Choose the interface tab
6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
7) Dbl clk on interface name to start class builder . specify a method name (name,
level, desc).
Method level desc
Linese;ection instance methos some desc
8) place the cursor on the method name desc its parameters to define the interface.
Parameter type refe field desc
I_carrid import spfli-carrid some
I_connid import spefi-connid some
9) save , check and activate…adapter class proposed by system is
ZCL_IM_IM_LINESEL is genereated.
IMPLEMENTATION OF BADI DEFINITION
1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
2) Specify aname for implementation ZIM_LINESEL
3) Specify short desc.
4) Choose interface tab. System proposes a name fo the implementation class.
ZCL_IM_IMLINESEL which is already generarted.
5) Specify short desc for method
6) Dbl clk on method to insert code..(check the code in “AAA”).
7) Save , check and activate the code.
Some useful URL
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
Now write a sample program to use this badi method..
Look for “BBB” sample program.
“AAA”
data : wa_flights type sflight,
it_flights type table of sflight.
format color col_heading.
write:/ 'Flight info of:', i_carrid, i_connid.
format color col_normal.
select * from sflight
into corresponding fields of table it_flights
where carrid = i_carrid
and connid = i_connid.
loop at it_flights into wa_flights.
write:/ wa_flights-fldate,
wa_flights-planetype,
wa_flights-price currency wa_flights-currency,
wa_flights-seatsmax,
wa_flights-seatsocc.
endloop.
“BBB”
*& Report ZBADI_TEST *
REPORT ZBADI_TEST .
tables: spfli.
data: wa_spfli type spfli,
it_spfli type table of spfli with key carrid connid.
*Initialise the object of the interface.
data: exit_ref type ref to ZCL_IM_IM_LINESEL,
exit_ref1 type ref to ZIF_EX_BADISPFLI1.
selection-screen begin of block b1.
select-options: s_carr for spfli-carrid.
selection-screen end of block b1.
start-of-selection.
select * from spfli into corresponding fields of table it_spfli
where carrid in s_carr.
end-of-selection.
loop at it_spfli into wa_spfli.
write:/ wa_spfli-carrid,
wa_spfli-connid,
wa_spfli-cityfrom,
wa_spfli-deptime,
wa_spfli-arrtime.
hide: wa_spfli-carrid, wa_spfli-connid.
endloop.
at line-selection.
check not wa_spfli-carrid is initial.
create object exit_ref.
exit_ref1 = exit_ref.
call method exit_ref1->lineselection
EXPORTING
i_carrid = wa_spfli-carrid
i_connid = wa_spfli-connid.
clear wa_spfli.
With Regards
Madhu

Similar Messages

  • Help needed regarding BADI in SAP-CRM 2007.

    hi all,
    i need some help regarding BADI for new creation and enhancement.
    plz help, you will be rewarded accordingly.
    regards.
    raman.

    Hi Raman,
    visit this link
    http://help.sap.com/saphelp_nw70/helpdata/en/32/a83942424dac04e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/c3/69bf4abf1045e0966badb60d6160dd/content.htm
    Regards
    Anup.

  • Regarding BADI implementation in Debugging

    Hi,
       i have a doubt regarding BADI.There are multiple badi implementations for VA02 transaction. now i am processing the VA02 transaction. Can i know which implementation is processing for the transaction.

    Hi Praveen,
    Use this code to find out the BADI of a Transaction code:
    *& Report ZGET_BADI
    REPORT ZGET_BADI.
    TABLES : TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    *Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    *Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    *For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    endcase.
    Reward if useful
    Regards
    Ravi

  • Can somebody provide a real time dummy object regarding BADI

    hi guru.
    it's urgent.can somebody provide a real time dummy object regarding BADI.
    please forward me.
    deffinitely good points waiting for u.
    thanks&regards.
    subhasis.

    Please check .
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm

  • Provide me Technical Speck or Functional Speck regarding BADIs

    Hi,
    can any one provide me the Technical Speck or Functional Speck regarding BADIs  its very urgent for me. you can send to my mail id: [email protected]
    waiting for your cooperation.
    Ramarao
    Message was edited by:
            rama rao

    Hi Rama !
    You can visit the following link:
    http://mysapbi.blogspot.com/2006/12/abap-certification.html
    You will find documentation and tutorials for whatever material you wish.
    Apart from that would be sending you step by step docs for both ALE and BADI.
    Reward if its helpful.
    Abir

  • Help needed regarding BADI.

    hi all,
    can anyone plz tell me how to define BADI and how create an interface.
    plz tell from everything regarding that, i have work with basic ABAP only.
    anykind of links and any kind of matter will be helpful and you will be rewarded with points for your help difinatly.
    regards.
    raman.

    Hi Raman,
    Please search the forum and you have lots and lots of links in it. For you to start with, try these links,
    The specified item was not found.
    BADI
    Best Regards.

  • Regarding BADI's in ABAP

    Hi,
    Can anybody tell me What is meant BY <b>BADI's</b>!
    Also what are the main diffrences between <b>User-Exits and BADI's</b>!
    Can anybody explain me wether any diffrent types of <b>BADI's</b> are available!
    Can anybody provide me documentation with the examples
    for <b>BADI's</b>.
    If anybody is having good material on the same please post it.
    (or)
    Please send the material to
    My Personnal Mail id : <b>[email protected]</b>
    Thanks in advanace.
    Thanks & Regards,
    Rayeez.

    I.What is Badi?
    1.New SAP enhancement technique
    2.To accommodate user requirements not available / too specific to be included in the SAP standard Program
    3.Based on ABAP Objects – It has Interfaces & Methods
    4.Guaranteed upward compatibility of all Business Add-In interfaces
    -Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces
    II.BAdi & Customer-Exit
    1.Though different enhancement technique, BAdi has following distinct features
    -Uses Object oriented approach
    -Two parts - Definition and its Implementation - definition can either be SAP provided or user may also create it
    -no longer assumes a two-system infrastructure (SAP and customers)
    -allows multiple levels of software development (by SAP, partners, and customers, and as country versions, industry solutions, and the like)
    3.BAdi – where to find
    1.Look for BAdi in IMG and in component hierarchy (using transaction SE18)
    2.Create own implementation of the add-in (complete coding for Methods) and activate
    3.Enhancement's active components are called at runtime.
    BAdi Definition (SE18)1.To include Business Add-Ins in the program
    - Define an interface for the enhancement in the SAP menu under Tools-> ABAP Workbench -> Utilities -> Business Add-Ins -> Definition (transaction SE18)
    -Call the interface at the appropriate point in application program
    -Customers can then select the add-in and implement it according to their needs
    BAdi Implementation (SE19)
    1.ABAP Workbench ->Utilities -> Business Add-Ins -> Implementation (transaction SE19)
    2.Find the suitable Business Add-Ins present in system (Use IMG or Component hierarchy)
    3.Use Add-Ins Documentation to understand functionality & to decide
    4.Implement the Add-Ins
    -a class is created with the same interface
    -Finalize coding for the method
    5.Implementations are discrete transport objects and lie within the namespace of the person or organization implementing them
    check the SAP help link on BADI's
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    /people/sergey.korolev/blog/2005/03/14/the-time-for-me-to-have-a-badi-of-my-own
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ef6c0507-0701-0010-7395-e526c68bbc4e
    Thanks & Regards,

  • Regarding badi bom_exit

    coding inside badi bom_exit  
    hi friends
    thanks in advance.
    in se19 i need to implement that badi for that help me in coding.
    this is the badi for making field alterations in screen 100 for CS02 transaction in ecc 5.0
    now the thing is , i need to make the field aennr(change number inside the effectivity block as mandatory field) so please help me out in coding this , as i am new to badi.
    with regards
    S.Janagar

    Janagar
    Create the Implementation for BADI BOM_EXIT. Add following code to the Interface START_SCREEN_CHECK in the Implementation:
      IF i_rc29n-aennr IS INITIAL.
        MESSAGE e208(00) WITH 'Change number is Mandatory'.
      ENDIF.
    Thanks
    Amol Lohade

  • Regarding BADI FAA_EE_CUSTOMER

    Hi Gurus,
    I have a requirement of BADI FAA_EE_CUSTOMER ( new depreciatioin calculation ), the thing is i am new to BADIs,
    i have created the BADI Z_FAA_EE_CUSTOMER and inserted a break-point in the set_base_value interface. but i am unable to find the tcode for which this badi will trigger... and can any give me some help to work out on this ...this is available in ecc6.0. i have opened the tcodes OABZ and AOBK but how to go into my code ...if they are the correct tcodes?
    Waiting for ur reply....
    Regards
    Srinath

    goto se24
    type cl_exithandler and "display"
    double click on "get_instance"
    set a break-point on  CALL METHOD cl_exithandler=>get_class_name_by_interface
    run the transaction ,in the debugger you will see the badis name in "exit_name" variable.
    These badi's are the ones you can use in your transaction....
    have you activated your implemetation????

  • Regarding BAdi : Customer's Own Screens in Enjoy Purchase Order

    Hi freinds
    If we activate the above mentioned BAdi what enhancements will we get in comparition with std functionality.
    Regards
    Eldee

    Hi
    By implement ting this BAdi you can define your own screens which will be visible in ME21n screen at the time of purchase order creation.
    Certain screens or fields which are  not present in the standard  but required by the client can be accomplished using this BAdi.
    Thanks & Regards
    Kishore

  • Need info regarding BADI CRM_COND_COM_BADI.

    Hello experts,
    My requirement is to calculate the value of a specific condition type based on a custom attribute that is maintained in Item Master.
    I added a new field in Condition Field catalog for this and implemented BADI CRM_COND_COM_BADI to pass the new attribute value to Pricing. This works fine till creation of Billing Due List.
    The issue is that we are redeterming the automatic condition entries during Billing document creation. It seems that the BADI is not getting triggered beacuse of which the Condition entry is not present in Bill Doc anymore.
    Any inputs in this regard will be appreciated.
    Regards,
    Amit

    Hi davide,
    The BADI CRM_COND_COM_BADI is used for filling the pricing communication structure.
    If you have added any field at header level of the field catelog that will available in the changing parameter of the method HEADER_COMMUNICATION_STRUCTURE.
    If you have added any field at item level of the field catelog that will available in the changing parameter of the method ITEM_COMMUNICATION_STRUCTURE.
    Additional fields added at catelog can be filled with the values using this BADI.
    Thanks & Regards,
    Raghuram. K.R.

  • Regarding BADI's and Transaction

    Hi All,
    I would like to know, how to find the BADI for a particular  transaction ?
    Thanks and Regards
    Mayank

    hi,
    execute  this program, it will give allexits and badi's avilable for a transaction.
    REPORT  YMS_USEREXITBADITEST  .
    TABLES : TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA WA_TADIR TYPE TADIR.
    START-OF-SELECTION.
      IF NOT P_TCODE IS INITIAL.
        SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
      ELSEIF NOT P_PGMNA IS INITIAL.
        TSTC-PGMNA = P_PGMNA.
      ENDIF.
      IF SY-SUBRC EQ 0.
        SELECT SINGLE * FROM TADIR
        WHERE PGMID = 'R3TR'
        AND OBJECT = 'PROG'
        AND OBJ_NAME = TSTC-PGMNA.
        MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
        IF SY-SUBRC NE 0.
          SELECT SINGLE * FROM TRDIR
          WHERE NAME = TSTC-PGMNA.
          IF TRDIR-SUBC EQ 'F'.
            SELECT SINGLE * FROM TFDIR
            WHERE PNAME = TSTC-PGMNA.
            SELECT SINGLE * FROM ENLFDIR
            WHERE FUNCNAME = TFDIR-FUNCNAME.
            SELECT SINGLE * FROM TADIR
            WHERE PGMID = 'R3TR'
            AND OBJECT = 'FUGR'
            AND OBJ_NAME EQ ENLFDIR-AREA.
            MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
          ENDIF.
        ENDIF.
        SELECT * FROM TADIR INTO TABLE JTAB
        WHERE PGMID = 'R3TR'
        AND OBJECT IN ('SMOD', 'SXSD')
        AND DEVCLASS = V_DEVCLASS.
        SELECT SINGLE * FROM TSTCT
        WHERE SPRSL EQ SY-LANGU
        AND TCODE EQ P_TCODE.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19) 'Transaction Code - ',
        20(20) P_TCODE,
        45(50) TSTCT-TTEXT.
        SKIP.
        IF NOT JTAB[] IS INITIAL.
          WRITE:/(105) SY-ULINE.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
    SORTING THE INTERNAL TABLE
          SORT JTAB BY OBJECT.
          DATA : WF_TXT(60) TYPE C,
          WF_SMOD TYPE I ,
          WF_BADI TYPE I ,
          WF_OBJECT2(30) TYPE C.
          CLEAR : WF_SMOD, WF_BADI , WF_OBJECT2.
    *GET THE TOTAL SMOD.
      LOOP AT JTAB INTO WA_TADIR.
        AT FIRST.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 SY-VLINE,
          2 'Enhancement/ Business Add-in',
          41 SY-VLINE ,
          42 'Description',
          105 SY-VLINE.
          WRITE:/(105) SY-ULINE.
        ENDAT.
        CLEAR WF_TXT.
        AT NEW OBJECT.
          IF WA_TADIR-OBJECT = 'SMOD'.
            WF_OBJECT2 = 'Enhancement' .
          ELSEIF WA_TADIR-OBJECT = 'SXSD'.
            WF_OBJECT2 = ' Business Add-in'.
          ENDIF.
          FORMAT COLOR COL_GROUP INTENSIFIED ON.
          WRITE:/1 SY-VLINE,
          2 WF_OBJECT2,
          105 SY-VLINE.
        ENDAT.
        CASE WA_TADIR-OBJECT.
          WHEN 'SMOD'.
            WF_SMOD = WF_SMOD + 1.
            SELECT SINGLE MODTEXT INTO WF_TXT
            FROM MODSAPT
            WHERE SPRSL = SY-LANGU
            AND NAME = WA_TADIR-OBJ_NAME.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
          WHEN 'SXSD'.
    FOR BADIS
            WF_BADI = WF_BADI + 1 .
              SELECT SINGLE TEXT INTO WF_TXT
              FROM SXS_ATTRT
              WHERE SPRSL = SY-LANGU
              AND EXIT_NAME = WA_TADIR-OBJ_NAME.
              FORMAT COLOR COL_NORMAL INTENSIFIED ON.
          ENDCASE.
          WRITE:/1 SY-VLINE,
          2 WA_TADIR-OBJ_NAME HOTSPOT ON,
          41 SY-VLINE ,
          42 WF_TXT,
          105 SY-VLINE.
          AT END OF OBJECT.
            WRITE : /(105) SY-ULINE.
          ENDAT.
        ENDLOOP.
        WRITE:/(105) SY-ULINE.
        SKIP.
        FORMAT COLOR COL_TOTAL INTENSIFIED ON.
        WRITE:/ 'No.of Exits:' , WF_SMOD.
        WRITE:/ 'No.of BADis:' , WF_BADI.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(105) 'No userexits or BADis exist'.
      ENDIF.
    ELSE.
      FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
      WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
      DATA : WF_OBJECT TYPE TADIR-OBJECT.
      CLEAR WF_OBJECT.
      GET CURSOR FIELD FIELD1.
      CHECK FIELD1(8) EQ 'WA_TADIR'.
      READ TABLE JTAB WITH KEY OBJ_NAME = SY-LISEL+1(20).
      MOVE JTAB-OBJECT TO WF_OBJECT.
      CASE WF_OBJECT.
        WHEN 'SMOD'.
          SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
          CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
        WHEN 'SXSD'.
          SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
          CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
      ENDCASE.
    reward points if hlpful.

  • Regarding BADI's after configuring is-Mill producrs

    Hi Experts,
    In my client they configured Is-Mill products. We are trying to find BADi's for Original order batch against Goods Receipt. So, can any one know the BADi's Please give the guidance on this.
    Regards,
    Muralikrishna
    Edited by: muralipsharma on Oct 27, 2010 11:07 AM
    Edited by: muralipsharma on Oct 27, 2010 11:40 AM

    Hi,
    Any Clue for the above Post

  • Regarding BADI CRM_ISA_BASKET_ITEM

    Hi Gurus,
    I am trying to implement method CHANGEITEMS_SET_DATA of BADI CRM_ISA_BASKET_ITEM.
    We have added some fields in ISA web front and we are trying to pass these fields with value as name value pair ( xml format ) in a single string to CRM system.
    Using the CHANGEITEMS_SET_DAT, i am trying to capture the single string value and trying to populate in Order Item table CRMD_ORDERADM_I, for that using include CI_EEW_ORDERADM_I( which is available for enhancement ) i have extended the table structure and added one field of type string so i can take value of any length size.
    Problem here is i am not able to activate the BADI it says CRMT_ORDERADM_I_EXT structure is not consistent.
    I dont know whats the problem here .please suggest me.
    If anyone of you has done something similar to this what we are trying here, please help us out.
    Thanks & Regards,
    Manoj Tiwari

    Hi Manoj,
    Would suggest their is an activation issue with the structure CRMT_ORDERADM_I_EXT done by the EEW.  Check out the EEW project log and make sure it is okay.
    If it is not that then maybe the structure cannot be changed using this method within the badi, you may have to use another one.
    Cheers
    Andrew

  • Hi experts, issue regarding badi MRM_WT_SPLIT_UPDATE

    Actually this badi dont have the option of multiple use,
    and it is already implemented,
    but they is no document for which purpose it is implemented.
    Now the issue is i have to use the same badi .
    How can i use this badi again
    thank you

    Hi
    Please, see SAP Note 1156325 - BAdIs in the Logistics Invoice Verification environment
    Regards
    Eduardo

Maybe you are looking for

  • Request timed out while waiting for response!!

    Hi All, My scenario is PROXY to SOAP. I am getting below error while posting to WEBSERVICE. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  XML Validation Inbound Channel Response   -->   <ns1:stackTrace xmlns:ns1="http://xml.apache.

  • HP Officejet Pro 8600 ( Language change on printer screen )

    I have recently purchased an HP officejet Pro 8600 printer during set up the wrong language was entered by one of my kids & I am unable to read instructions or correct the mistake The printer screen is currently in a foreign language & I am wanting t

  • How do I turn off iTunes 7.0 on start-up?

    iTunes starts up when I start or awaken my computer even though I had it turned off. Since it takes more memory with iTunes 7.0 it takes longer for my computer to actually start-up every time now. I want to turn the program on at my discretion and no

  • HDMI vs mini displayport

    i have been playing around with connecting my 2010 mac mini to my HDTV and when i connected it with a mini displayport to DVI adapter then DVI to HDMI adapter to the HDTV i notice the picture and color is noticeably better than with the HDMI port on

  • What happens to cached entity beans when directly change record in database?

    hi: i am working on a project which weblogic as app server. there's many case in my application where we have to update large number of records(about fifty thousands) in a loop one at a time. we have tried with entity beans but it 's so slow. so in t