How to debug program or Badi in SRM 7.0 through PORTAL

Hi friends,
        My question is How to debug a Badi or any program  in SRM 7.0 through PORTAL . I putted External break point in Badi and following settings has been done in Utilities u2013 Settings u2013 Abap Editor
Front-End Editor (new)  - checked
In debugging tab
Users - maintained (entered same user name using in Portal as log on user name)
IP Matching u2013 checked
ABAP Debugger u2013 New debugger u2013 checked
Session breakpoint active immed.  - Chcecked
I am not able to debug this badi through Portal and some time after I am getting Time out error whereas Time limit is extended up to 600 seconds . In SRM 5.0 it is working fine .I have SAP ALL authorization   if any other procedure is available or for that any specific role needed then please share with me.
Regards,
Abhijeet
Edited by: abhijeet panse on Jun 29, 2010 8:02 AM

Hi ,
         Thanks Iftekhar and Yramki for replying. I checked everything and we have only one server for Development but still I am not able to debug, I checked AL08, it is showing same server we donu2019t have different application server for development. I donu2019t have any idea about that How to activate debugger for specific user id, please suggest me.
         Parameter set with value rdisp/tpda_for_ext = 1 . In the BADI i putted one infinite loop and then try to debug from the SM50 through Menu program/session u2013 Program u2013 Debugging but from GUI new debugger session is not opening and some time after process has been deleted from the SM50 and I got error message in the Portal.
         Do I need or missing some setting in Portal . Please suggest me.
Regards,
Abhijeet

Similar Messages

  • Conversion process of bidder to supplier in SRM 7.0 through portal?

    Hi,
    Problem: When the bidder is converted to supplier through the portal (working with SRM 7.0), the details are passed to BW. But, when I try to view the same bidder (i.e., the same business partner as bidder) in the bidder list, it could not be found. The object is being converted and is not leaving any trace. I need access those details of business partner (as bidder). For this, I need to track the process of conversion of a bidder to supplier (to look for enhancements).
    please let me know how to debug (web dynpro components) and where to look for exactly to track the critical stages of conversion, if any of you have experienced a similar scenario.
    Thanks in advance!!!!
    -dev.

    Hi ,
             Thanks Iftekhar and Yramki for replying. I checked everything and we have only one server for Development but still I am not able to debug, I checked AL08, it is showing same server we donu2019t have different application server for development. I donu2019t have any idea about that How to activate debugger for specific user id, please suggest me.
             Parameter set with value rdisp/tpda_for_ext = 1 . In the BADI i putted one infinite loop and then try to debug from the SM50 through Menu program/session u2013 Program u2013 Debugging but from GUI new debugger session is not opening and some time after process has been deleted from the SM50 and I got error message in the Portal.
             Do I need or missing some setting in Portal . Please suggest me.
    Regards,
    Abhijeet

  • How to debug program that runs SAPScript

    Hello,
    How can I step through the program (in debug ) that prepare the data to load into SAPScript form?  I already know how to activate SAPScript debugger, SE37 -> Utilities -> Activate Debugger.  However, this only takes me to the form where the data has already been prepared for output.  I  need to be able to step through the program logic so can understand how it got the data to be displayed on the print output.  Another word, I want to be in the ABAP debug mode.  I placed some breakpoints in the program but it never hit it.   Please advise.
    Thank you.

    figured it out.

  • How to debug program RVADEK01 for SAPSCRIPT FORM  S_PICK_SINGLE

    Hello Experts,
    Am using TCODE VL01N to print out the Form SD_PICK_SINGLE ,I tried to activate the debugger on the Form in SE71 after that executed the driver program RVADEK01 which didnt work so I tried to execute the tcode VL01N but nothing happens .Unfortunately both ways seems not to trigger the debugger to stop at the Form,.Can anyone help ?
    Thank you
    JA

    Hi,
    Think you have not done the output type configuration correctly in NACE transaction. Check with the following scenarios.
    1. In NACE transaction, check whether the correct program and SAP script is assigned against the output type which you are selecting in VL01N transaction for the printout.
    2. Try using transaction VL02N or VL03N once the delivery is created. Make sure that the OUTPUT TYPE which is configured with the program and SAP script is triggered in the respective delivery.

  • How to Debug Upload Function (ZCL_RSPLF_FILE_UPLOAD)

    Hello,
    We have the standard Upload function customized to call a function module which eventually does some calculations. I need to modify the function module with extra logic. I cant test the FM directly as it doesn't have Test Frame.
    Am stuck at how to debug the Upload function. Is it possible through program RSPLS_PLSEQ_EXECUTE but then how do I create the variant. Cant create it through Modeler.
    Please suggest.
    Thanks and regards
    Gaurav

    Hi Gaurav,
    As per my understanding you are trying to debug the custom planning function created using SE24.Go to this transaction enter the function name and place the externa break point as suggested in interface you want to debug .
    OR go to rsplf1 - specify function and place external break point.
    You can get it triggered two ways.
    If you already have GPS- Planning sequence built ,directly execute it .It will take you in debug mode.
    You can also create new one if required for testing.
    or
    If you are using any layout to load data ,you can also trigger it from there.
    It will take you to debug mode only after you place external breakpoint.
    Do not put break point rgt after intialization....

  • SRM 7.0 - Unable / How to get into DEBUGGING mode in BADI

    Hello SAPions,
    I am unable to get into debugging mode from WebDynpro Portal screen to R/3 BADI in SRM 7.0 .
    I placed a breakpoint in the BADI, and logged into the portal screen.
    However, in SRM5.0, to get into debugging mode from ITS, we place a break point in the BADI, when we browse the ITS link from the IE browser, we will be able to get into debuggin mode.
    Any other way ?
    Regards,
    Ashwin.

    Hello,
    Please check the following:
    1. Application server name, the SAP GUI and the portal should be logged into the same application server.
    2. You should be logged in with the same User in both SAP GUI and the Portal.
    3. External debugging should be enabled for the User in SAP GUI.
    4. Also try checking the check box , IP Matching . This can be done as below:
    Utilities -> Settings ->  ABAP Editor -> Debugging ->  IP Matching.
    Also please check the following in the above link , if you have the same user name here with which you have logged onto Portal and the New Debugger Radio Button is Selected.
    Hope this helps.
    Best Regards,
    Sapna

  • How to debug crm programs

    hi abapers i need to know how to debug the crm programs.

    Hi Rockey,
    IF u have the integration with CRM and R/3.Then u will use the Middle ware BADI's to copy the data from CRm to r/3 or R73 to CRM.
    You can debug that that BADI and u can see where u are going wrong.
    Mainly in CRM
    we will have the FM's.Through this function modules we ill do evrything in the CRM.
    CRM_ORDER_SAVE.
    CRM_ORDER_MAINTAIN
    CRM_ORDER_READ.
    IF we want to get the Data from R73 to CRM. then you can write RFC'S toget the data.
    There are so many ways are there.JUst put the breakpoints.In ur middle ware BADI's
    then i hope it may help you.
    Thanks

  • How to debug the BADI - BBP_CREATE_BE_RQ_NEW

    Hi Experts,
    Help me how to debug the BADI in order to validate my coding.
    I have put a break point in the BADI and run the  class CL_BBP_SC_TRANSFER_CLASSIC Instance DO by giving the SC no and the GUID but still the BADI is not getting triggered.
    Suggest me any other way to debug the BADI.
    Regards
    Paul

    Hi,
    You can put an endless loop in your BADI BBP_CREATE_BE_RQ_NEW ,as shown below and force the program to stop there. Now go to SM50 and switch to debug mode for the program and start debugging(take process that keeps hangs in your endless loop).
    Data: l_flag.
    do.
    if l_flag eq 'X'.
    exit.
    endif.
    enddo.
    BR,
    Disha.
    DO reward points for useful answers.

  • How Can I debug into  a BADI?

    I m not able to debug into a BADI, though I tried putting a break point in the include for the BADI as well as tried using
    break-point 'MYUSERID'.
    It still doesnt work

    break user  will work . But are you sure that you have implemented correct BADI and it gets triggered in that transaction.
    Sometimes it is not so easy to find a BADI method or user exit to implement at an exact momment of the execution of a program. Here is one of the ways that can be used to spot which BADI method or user exit should be implemented.
    1. Enter SE24;
    2. Enter the class name CL_EXITHANDLER;
    3. Double-click the method GET_INSTANCE;
    5. Set a break-point at command line CASE sy-subrc (near line 27);
    6. Execute the transaction you want to analyse; It will stop at the break-point you have just set on class CL_EXITHANDLER when it finds any BADI method/Exit call.
    7. On debug screen, type the field name exit_name. This field contains the BADI method/Exit name which is being called in the program on that momment.
    8. Press F8 to see the next calls.
    G@urav.

  • How to debug BADI BBP_SAPXML1_OUT_BADI during PO Creation and change

    Hi All,
    I have a scenario in which i need to send some additional  fields with the PO data to the XI via PROXY .
    To do this i have enhanced the proxy structure with additional fields and For mapping these fields, I created an implementation of method PURCHASEORDER of BAdI BBP_SAPXML1_OUT_BADI with filter PO ( Purchase orders ).
    But this implementation is not getting processed.
    Whenever Po is created the XI will receive the data but the additional fields are not available in XI.
    To check the code i need to debug the badi implementation .
    Can anybody please tell me why this badi is not triggered and how to debug the badi code.
    Its urgebt .
    Thanks in Advance.
    Regards,
    Naresh

    Hi Naresh,
    Go to your BADI Implementation set infinite loop in the method. Run the transaction SPPFP & set Promotion status to 0 & Processing Type as MET & execute it, Select the PO you want to debug & press F8. Goto sm50 to debug the BADI.
    Thanks

  • How to debug zrffous_c payment advice script program?

    Hi experts,
    Payment advice is printing through (ZRFFOUS_C) this program. I want to debug this program .I tried in this way.
    Put the break-point in the program and execute then enter the input data and execute then the following message is displayed.
    "A:FO:098 29.01.2009 PNB" after this stopped the program .How to debug this program? I want to find these values (REGUP-BELNR, REGUP-XBLNR) in the program .The location where these values selecting in the program?I tried but i didn't get.
    please give me the details or give me form name?
    please help me in this?

    Hi,
    Your procedure of debugging is correct.
    when you getting the error message , double click on the message on status bar and see wheather it is standard message or
    custome message.
    you are getting that error because of invalid data  so get  the valid data from respective  Functional consultant
    and try to debug again.
    You ll not get that error after giving valid data.
    Regards,
    Pravin

  • How to debug payment advice program

    Hi experts,
    iI copied program from RFFOUS_C and named as ZRFFOUS_C.
    payment advice is printing through ( ZRFFOUS_C) this program?
    If yes  how to debug this program ?.I want to konw the values printing in payment advice sheet  came from which subroutine.?
    I tried but i didn't get.I tried in this way, put the break point in the program and execute then fill the values and execute
    then the following message is displayed "A:FO:098 29.01.2009 PNB".
    I want to konw document (REGUP-BELNR) YOUR DOCYUMENT (REGUP-XBELNR) about this values came from which sub routine.
    If u know anybody pls gime the answer.pls help me in this .

    well at first you need to set a breakpoint somewhere in your program.
    Then you need to check if your program is customized for payment slips, otherwise standard program will get triggered but not yours.
    And finally you probably need to switch on "update task debugging" since output types are quite often processed in update task.

  • How to debug the method in abap program

    How to debug the method in abap program ?
    Could you please give the solution.
    Thanks
    sai

    Hi ,
    Place break point at call method .
    It takes u in to the method implementation .
    Here u can analyse the method implementation ...
    Reward if useful
    Thanks
    Jagadeesh.G

  • How to debug sproxy class program?

    Hi experts,
    In my scenario, PI will pick flat files, then post the data to ECC.
    In ECC->sproxy->my scenario,double click the "provider class",then double click the method, I'll write the abap code here.
    How to debug the program?
    Thanks

    Hi Michael,
    After completion of writing the ABAP code. Keep a break point externally in your Proxy code and then try to execute. It will take to the break point and now check the code manually. If you need any changes modiify it accordingly.
    The below blog will help you to debug the inbound proxy.
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    Thanks,

  • How to debug module pool program

    Hi everybody,
    How to debug module pool program ,please send any material for module pool programming .
    Thanks & Regards,
    Siddivinesh.Jogu
    [email protected]

    Hi
    Check the below link:
    http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F
    http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
    http://www.geocities.com/ZSAPcHAT
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://www.sap-img.com/
    http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
    http://www.sapgenie.com/links/abap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    You can also check the transaction ABAPDOCU which gives you lot of sample programs.
    Also you can see the below examples...
    Go to se38 and give demodynpro and press F4.
    YOu will get a list of demo module pool programs.
    One more T-Code is ABAPDOCU.
    YOu can find more examples there.
    See the prgrams:
    DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
    DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
    http://www.geocities.com/ZSAPcHAT
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    Debugging
    Refer to this thread
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    Debugging
    Check these documents.
    http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
    http://help.sap.com/saphelp_nw04/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm
    http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
    ABAP Debugging
    http://www.saplinks.net/index.php?option=com_content&task=view&id=24&Itemid=34
    Look at the SAP help link below
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    Regards
    Anji

Maybe you are looking for

  • Interface Problem Sync/Async (Open Bridge)

    Hello everyone, we made the migration from PI 7 to PI 7.01 EHP1 SP7. After this migration, the Sync interface with BPM (Opens Bridge), began to give trouble. It turns out that the interface in SMQ2 stand still for a long time, and after some time, ti

  • Customising Discover plus for olap UI

    Hi all, I'm using Discover Plus with an OLAP data source and would like to customise the interface such that: - The Query Pane window is switched on by default - When creating a new report the "crosstab" radio button is highlighted by default (usuall

  • HP printer/scanner not working with 10.6

    I have a late 2009 MacBook Pro running 10.6.2. The printer, an HP 2350 All-in-One, was working, but the scanner was not.Then the printer stopped working. I got an "error" message in the print queue box. I tried uninstalling and reinstalling the softw

  • Safe Boot Mode Freeze and Mavericks and Core Storage

    I was having a problem booting into Safe Mode on a new iMac. It froze and restarted continuously. Eventually I was told by engineering (after the Senior Tech) that... "It's expected behavior from any disc formatted with core storage and that includes

  • Mini Firewire 800 Cables???

    I have been searching around the net in hopes of finding a really really small firewire 800 cable which I could use to connect two mobile hard drives together...I have the two drives stuck together with industrial strength velcro, and the ports of th