Need authoritative (SAP?) answer on BADI breakpoints in update debugging

I'm doing a very simple BADI implementation of:
IF_EX_INSPECTIONLOT_UPDATE~CREATE_IN_UPDATE
called from FM QPBU_LOT_INSERT in QPBU.
Everything is working fine, but here's the problem
QPBU_LOT_INSERT is being called from an update task inside MIGO (the update task for a goods receipt posting.)
When I was doing a customer exit in MIGO, I had to turn on an update debugging session to see a breakpoint in my exit code - the debugger would not go directly to the hard breakpoint in my exit code.
So I assume this is the same for implementations of BADI methods - the regular debugger will NOT go directly to a breakpoint inside the custom implementation of the interface method - you have to turn on update debugging and wait for your method code to appear.
Is this true or not? 
If it is, then this seems to me something that would be easy to fix.
After all, if we can have external debugging in WDA, why can't the ABAP debugger be fixed to see a hard breakpoint even if the breakpoint is in customer code that is part of a BADI implememntation method ??????
Thanks for whatever authoritative answer anyone can provide.
djh

hi David,
As you said, normal debugging will not always be possible with BAdIs. i dont know about activating update debugging, but there is a way to go to debugger while the BAdI gets executed. Please follow the steps mentioned below:
step1: Goto sE19 and enter the BAPI implementation name->display
step2: choose the interface tab->double click on the method which
is under consideration
step3: code as below
data lv_flag.
        while flag is initial.
         endwhile.
step4: Now activate the BAdI and execute the transaction, and do the necessary actions(save/delete etc)
step5: goto transaction sm50->you can see your program there
step6: select your program from the list->choose PROGRAM/SESSION from the
menu->Select PROGRAM->DEBUGGING
you are now in the debugger with the BAdI.
<b>
This is an infinite loop inside the BAdI; You should take this out, and re-activate the BAdI, once you are done with the debugging</b>
Hope this helps,
Sajan Joseph.

Similar Messages

  • SAP Biller Direct Badi's

    Hi ,
    Can any one help me on how to implement SAP Biller Direct badi's. i.e. APAR_EBPP_GET_DATA & EBPP_INVOICEDETAIL.
    Pls ur help is urgently need.
    I will appreciated if you can also provide the source code for various functions.
    regards
    Gajendra

    Hello ,
    Goto SE19 provide Implementatin name as per u r coding standards
    and say Create
    It will ask the BADI name then proide u r BADI names ....
    then go the appropriate method to implement it based on the Interface parameters of the metod.
    Still if u r not clear
    Please search in SDN you will get numbers of Solutions for HOW TO IMPLEMENT BADIS
    Regards

  • SAP Biller Direct Badi.

    Hi ,
    Can any one help me on how to implement SAP Biller Direct badi's. i.e. APAR_EBPP_GET_DATA & EBPP_INVOICEDETAIL.
    Pls ur help is urgently need.
    I will appreciated if you can also provide the source code for various functions.
    regards
    Gajendra

    I think this [Link to SAP Help on using the badi APAR_EBPP_GET_DATA|http://help.sap.com/erp2005_ehp_05/helpdata/en/43/5c31bef1183e2be10000000a1553f6/content.htm] might help you.

  • SAP delivered standard BADI for custom extracts in R3

    Hello Friends,
    I sthere any SAP delivered standard BADI that can be implemented for custom extracts in SAP R3.
    Thanks
    Simmi

    Hello
    Please see this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0ec3252-f21c-2a10-3c8d-b9ef05f839ef
    Page 61
    Thanks
    Chandran

  • I need the sap bw table names for ROLE's

    I need the sap bw table names for ROLE's .
    thanks

    Hi,
    AGR_1251 - Authorization data for the activity group
    AGR_USERS - Assignment of roles to users
    AGR_TCODES - Assignment of roles to Tcodes
    You can also try putting AGR* in ur search.
    -Vikram

  • NEED of SAP GUI

    Hello gurus,
    As I am new to SAP ,could anyone tell what is the use of SAP GUI and purpose of SAP GUI Thanks in advance
    With regards,
    Vardhan.

    HI,
    Check this link
    http://en.wikipedia.org/wiki/SAPgui
    SAP GUI for Windows Locate the document in its SAP Library structure
    Purpose
    You need the SAP GUI to log on to and to use the SAP systems. Your system administrator will install the SAP GUI on your machine, after that you can customize it and start performing your daily tasks.
    Features
    ·        Log on to an SAP system using the SAP Logon.
    ·        Navigate effectively through the SAP systems using the navigation features of the SAP GUI.
    ·        Adjust your local layout in various ways according to your preferences, needs, and local requirements.
    http://help.sap.com/saphelp_nw70/helpdata/en/4f/472e42e1ef5633e10000000a155106/content.htm
    Please award points if usefull
    Regards
    VIjay

  • Please tell me about Enhancement Techniques used in SAP Other then BADI/Usr

    Hi Experts .
    Please guide me about Enhancement Techniques used in SAP apart from BADI/User-Exit .
    1.) what is set and how to create it ?
    2.) What is formula is SAP and How to set it for Enhancement Pupose .
    3.) What is BTE (Buisness Transection Events) ? How to create it for Enhancement Pupose ?
    Please Elabarate the reply with step by step procedure .
    Thanx .
    Regards : Rajneesh

    Hi Raj,
                  Check these links
       help.sap.com/saphelp_nw04/helpdata/en/eb/3e7ceb940e11d295df0000e82de14a/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7
    Regards,
    Sana.
    reward for useful answers..

  • Urgent Need for SAP PS Trainer in bangalore.

    Hi PS guys,
    I represent a sap training institute in basaveshwarnagar, bangalore,INDIA.
    we are urgently in need of SAP PS trainer.
    Even if, somebody has just completed course will also do.
    Contact us immediately at 0091-9901933886.
    cheers.
    santosh.
    0091-9901933886.
    Edited by: santosh koraddi on Jan 10, 2008 9:28 AM

    Hello ,
    What are the incentives ?
    Regards
    Keshav

  • How do I stop Safari from 'pinwheeling' whenever I am using Yahoo Mail? I really need a correct answer please.                                                                                             Mail? I need a correct answer please.

    How do I stop Safari from 'pinwheeling' whenever I try to use Yahoo Mail?
    I really need a correct answer please. Other answers have only suggested how to access Yahoo Mail without using Safari. I want to continue using Safari to access Yahoo Mail,if possible.  Thank you.

    Could be a cookie issue...
    Go to Safari > Preferences then select the Security tab then click Show Cookies
    Type yahoo in the serach field then click Remove All > Done
    Quit then relaunch Safari.
    Try accessing your Yahoo mail account.
    FYI... there is rarely a sure fire correct response for third party web based email client software. Often takes time consuming troubleshooting.

  • I need forgot my answer your security questions

    i deposit 25$ egift itunes walmart store ! i buy gems of game not complete . need answer !  i need forgot my answer your security questions
    please !

    You need to ask Apple to reset your security questions; ways of doing so include clicking here and picking a method for your country, and filling out and submitting this form.
    (96447)

  • Need a quick answer should I get just wi-fi or wi-fi cellular thanks

    Need a quick answer should I get wi-fi or wi-fi w/ cellular what do you think is the best way to go. Will be shopping for one in the next few days. Thanks

    It depends upon where you will be using it - do you need to be able to access the internet when you are away from wifi networks, and/or do you need built-in GPS (only the cellular iPads have a built-in GPS chip) ? If you get the cellular version then you don't need to activate a service on it until if/when you need it

  • Why can't I update my iOS 5.1.1 to 6.1.6? I get the unknown error 1601 every time I try. Could anyone teach me how to fix it? I need a concrete answers/suggestions. Thanks!

    Why can't I update my iOS 5.1.1 to 6.1.6? I get the unknown error 1601 every time I try. Could anyone teach me how to fix it? I need a concrete answers/suggestions. Thanks!

    Click here and follow the instructions.
    (104277)

  • My iPhone4s turned itself off and will not turn back on unless it is charge data all times. I need help and answers please.

    My iPhone4s turned itself off and will not turn back on unless it is charged at all times. I need help and answers please.

    And we would need more info. "will not turn back on unless it is charged at all times." is pretty obvious: the phone will obviously not turn on unless it is charged.
    Describe your problem clearly.

  • Im using macbook pro ,my version is mac os x 10.4.11 and i cant update anything. how can i update my mac,plzzzz i need a quick answer.

    im using macbook pro ,my version is mac os x 10.4.11 and i cant update anything. how can i update my mac,plzzzz i need a quick answer.

    check that your current Mac meets the System Requirements for Snow Leopard...
    Snow Leopard Specs:
    http://support.apple.com/kb/SP575
    If it does... then you need to Purchase the Snow Leopard Disc and Install it.
    Mac OS X 10.6 Snow Leopard
    Would Also Recommend that you do a Bootable Clone Backup of your current Hard Drive Before attempting any Major Upgrade...
    By far the easiest way to make a Backup, is to use something like
    SuperDuper  http://www.shirt-pocket.com/
    or CCC  http://www.bombich.com/

  • I'm trying to download what's app chatting application and the massage given (need your secret answers for the below questions to proceed your purchase request ) but the problem is I forgot my answers :((( how can I reset the questions and the answer ????

    I'm trying to download what's app chatting application and the massage given (need your secret answers for the below questions to proceed your purchase request ) but the problem is I forgot my answers :((( how can I reset the questions and the answer ????

    Visit this site: http://support.apple.com/kb/HT5312

Maybe you are looking for

  • Custom Formatting Of Chart Legends

    I've been playing with Flex Charting, and I have lots of nice looking graphs that I've created from database feeds. However, what I really want to know how to do is format the chart legend better. For example I have a pie chart that has about 50 diff

  • Nike+ Sensor & Can't automatically send Workout Data

    Hi, On my old ipod touch I had it set up to automatically go to Nike and update my workouts.  Now I'm using a new ipod touch and iTunes Help tells me to : a) complete a workout -- check b) connect my ipod to my computer -- check c) when device appear

  • Adobe Creative Suite 3 Web premium?

    Does anybody know roughly the amount of space that the entire Creative Suite 3 takes up? MacBook Pro    

  • Cannot open video on some news sites

    Firefox has stopped opening news videos from fox news

  • Error noise when opening firefox

    I had accidentally downloaded delta virus onto my computer. I reset all the firefox settings, and deleted it from my system. My question is that when I open firefox, I hear the windows XP error noise, but nothing pops up, or no error message appears.