Debugging in SAP XI

hi
I just wanted to know that is it possible to do debugging in SAP XI, as we perform in ABAP.
The way we perform step by step process in ABAP, can we do the same way as in ABAp, Kindly let me know.
thanks and regards
sreddy

Hi Reddy,
XI does provide some debugging mechanisms.
1. T CODE - <b>SXMB_MONI</b> You can use this to see the entire flow of your message along with the payload and the graphical flow of your message processing.
2. <b>ADAPTER MONITORING</b> This allows you to trace out the errors and problems occuring in your Adapters running on the j2ee engine.
3. <b>END to END Monitoring</b> This is similar to your SXMB_MONI and allows you to monitor the entire message flow.
4. <b>PERFORMANCE MONITORING</b> This is used to monitor the performance of your entire XI server.
Options 2,3,4 are available under RunTimeWorkBench.
Also, go through these links for further info,
http://help.sap.com/saphelp_nw04/helpdata/en/41/b715045ffc11d5b3ea0050da403d6a/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/96/0a2441509fa831e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/5a/f72040599a8f5ce10000000a155106/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/25/9c2f3ffed33d67e10000000a114084/content.htm
Hope this helps,
Regards,
Bhavesh

Similar Messages

  • Regarding debugging in sap script and smart forms

    hi guys,
    can any one tell me what are the different steps and options available to debug a SAP SCRIPT and a SMARTFORM.
    thank you very much
          pavan

    There is a transaction 'SMARTFORMSTRACE' (or was it 'SMARTFORMS_TRACE') which will give you quite helpful information.
    Try!
    Sorry: Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis.
    Regards,
    Clemens
    Message was edited by: Clemens Li

  • Regarding debugging in sap script and smart form

    hi guys,
    can any one tell me what are the different steps and options available to debug a SAP SCRIPT and a SMARTFORM.
    thank you very much
    pavan

    Scripts:
    1. In the form, Utilities->debugger / RSTXDBUG FM for debugging script
    2. Generally SAP script contains the Layout and corresponding print program.
    First go to SE71 and enter ur script name. In the same screen go to Utilities->click on activate debugger option.
    Now go to SE 38 and enter ur Print Program name and execute the program.
    Now you can debug the script Page wise and window wise.
    Smartforms:
    In the Smartform, create a Code Node and within the Code Node you can hardcode a normal abap Break Point.
    Insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint. So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.
    Other way to debug smartform is to debug the Function Module of that smartforms.
    You can also use <b>smartform trace (transaction SFTRACE)</b>.
    Have a look at below link.
    http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    I hope it helps.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Debugging of SAP SCRIPTS

    Hi ,
           Wht r the steps for debugging of sap-scripts, and the wht r the steps (configuration steps ) i need to follow for making changes to an existing script.script is  trigred by TC : VA03. 
    Many thxs
    vind.

    Hai Vind
    SAP Script:
    YOu Can debug a SAP Script by activating debugger in two ways 1.In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.
    2. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.
    Smartform:I am afraid , we dont have any direct commands or direct procedure to debug a script. But in indirect ways we can do it.
    1.Put a command line before where you want check the value of smartform and write the code "BREAK-POINT"->hardcoded debugging.
    2.You can debug the function module which generates the smartform.
    Thansk & regards
    Sreeni

  • Debuging of SAP script  SARTFORMS

    Can we debug SAP Scripts & SAMRTFORMS
    SHAOIB

    Hi,
    Yes we can debug scripts n smartforms.
    <b>
    SMARTFORMS DEBUGGING</b>
    For smartforms debugging you can do this.
    1. Execute the smartform (execute button in SMARTFORMS transaction)
    2. Take the generated function module and display it in SE80.
    3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.
    Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis
    Tcode - SFTRACE
    Re: How to Debug a Smartform
    Debug of smartform and sapscript.
    Debugging SmartForms
    Debugging of a subroutine pool.
    <b>SCRIPTS DEBUGGING</b>
    There are 2 separate kinds of debugging available when you try to debug scripts.
    1. Debugging the print program : This is the normal debugging we do for our report programs.
    2. Debugging the script itself : You Can debug a SAP Script by activating debugger in two ways:
    a .In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.
    b. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.
    refer to the link below
    http://www.howforge.com/how-to-debugging-sapscript-form
    Look at the BLOG here, it is well explained
    /people/sudheer.junnuthula2/blog/2007/01/09/script-debugging
    Regards,
    Priyanka.

  • How to debug in SAP Netweaver Developers Studio?

    Hi there,
    I am trying to debug and slove my error in SAP NWDS.
    I am building portal application->JSPDynPage
    I am trying to debug the jsp code behind page, it doesn't realli give error message like the java beans does.
    I am quite new to this and do not know how to set the function to test and debug this page can anyone provide any solution ?
    I have have this prob pls refer to this link
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=192104">https://www.sdn.sap.com/irj/sdn/thread?threadID=192104</a>
    Thanks loads
    Quatre

    Hi Quatre ,
    -Select the breakpoints in your Dynpages /beans in ur project
    -To debug u have to change the prespective to debug which u can find in
    window/open prespective /Debug in NWDS
    -Select the Run/Debug or the Debug icon in the toolbar.
    -Fill the project name ,application name in  the in the wizard opnend .
    - Follow the debugging using the next step over F6 ,step return F7 keys .
    These link may be helpful:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/66/547f09281d464b951c9a3a6b06a12d/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/def86ab54da5418a3575373934ca00/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d4/31e24044b80b06e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/be/cffcb407c67842b122bd1296dc810f/frameset.htm
    U can always find out the way in the PDK development /how to debug/
    ie in NWDS /HELP /SAP WAS AS Documentation /SAP J2ee Enterprise Java Beans/Java development User Guide /Running and Debugging
    Cheers,
    Swathi Rao
    Do offer pts:-)

  • How to change debugging in SAP 6.0?

    Hi experts!!
    In my computer I've SAP 6.0 and when I execute a program, the debuggin process is differents to the others versions... I can change this in the debugging menú and press classic debuggin..there's any way to put the debugging program always to cassic debugging?
    Thanks a lot, hope u can understand me
    Regards,
    Rebeca

    Hi Rebeca,
    In the SAP system, goto se80 -> Tab Utilities -> Settings -> ABAP Editor -> Debugging and select Classic as the default.
    Hope it helps,
    Regards,
    Srikishan

  • Debugging a SAP program

    Hi Guys,
    Is there any way I can create a watch point for an internal table (eg. T_OUTTAB). I am debugging SAP program and want to stop when a particular T_OUTTAB is populated. Debugger should stop when the internal table is changed or even better if particular field in the internal table is changed.
    When I tried to put the internal table in create watchpoint, I get following message.
    Variable T_OUTTAB does not exist.
    Please help.
    mini

    You can put a watch point on an internal table, but only after you enter that particular program where the table exists. Try to locate the include/program where the table exists, put a breakpoint on the include and then after entering the program/include put a watchpoint on the itab.

  • Debugging a SAP Query

    Hi,
    I have created a SAP query using the tcodes sq01,sq02 and sq03.
    Have added an additional field to retrieve some text and wrote the code also inside the query.
    Now i want to debugg the query.
    How do i degubb a sap query?
    Thanks in Advance,
    Regards,
    mani

    find out program name with:
    SQ01 - query - more functions - display report name
    (example : AQZZ/GRC/APPL===FI_AP_20_Q1===)
    -> search for your add. coding / field in this report and set break-points
    hope that helps
    Andreas

  • Debugging SAP Scripts MR_PRINT and MR_REKL

    Hi All,
    Can anybody tell me if there is an easy way to debug the SAP Script Layoutsets MR_PRINT and MR_REKL, which are triggered through MRKO and MIRO transactions. Also I need to know how to repeat the print out of the above layouts, which are outputs of Invoice reductions and Invoice corrections.
    I already tried SE71 -> Utilities -> Activate Debugger and also placing a break-point in one of the performs, I call, but I think the print program is a dynamic call and it is not stopping at the break-points.
    Let me know what I am missing.
    Thank you for your time,
    yrkanth

    Sorry, if it sounds dumb. But how will you put a hard breakpoint in a SAP Script? I don't hink there is a BREAK-POINT command which can be used in SAP Script? I activated the sap script debugger and am running the MRKO transaction which triggers the layoutset, but it is not stopping as it does stop for any other layouset.
    The other way I tried was, to put in BREAK-POINT command in one of the performs the SAP script calls and I was able to stop at that only when I debug in Update debugging mode. This only allows me to debug the perform code but it still does not allow me to debug the script as we debug the script for PO (Purchase Order) by activating the SAP Script debugger and print previewing the PO.
    Hope this helps?
    I really appreciate your time.
    Thank you,
    yrkanth

  • Debugging in SQ02 (Sap Query Report)

    Hi All ;
    I want to learn that ,how can I debug a sap query report.I added some fields to the query with code.
    How can I reach that code by debugging ?Thanks for your reply.
    Regards.
    Fırtına.

    Hi Yigit,
    Every Query generated one program like  AQZZ/FSCMA/IS===CDM_10_Q1=====
    Go To your QuerySQ01 , run your query and From selection screen, check your program name  after that you can search your added code. what you added in infoset but your breakpoint  and debug your query code.
    Regards,
    Prasenjit

  • Debug SAP script

    Hi Gurus,
    I need to debug SAP script. How can I do this?
    Thanks,
    Pavan
    Moderator message - Please search before asking - post locked
    Moderator message - Please see Please read "The Forum Rules of Engagement" before posting!  HOT NEWS!! before posting - post locked
    Edited by: Rob Burbank on Oct 13, 2009 5:00 PM

    Hai Rajiv
    For Debugging SAP Scripts & Smartforms as follows
    SAP Script:
    YOu Can debug a SAP Script by activating debugger in two ways 1.In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.
    2. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.
    Smartform:I am afraid , we dont have any direct commands or direct procedure to debug a script. But in indirect ways we can do it.
    1.Put a command line before where you want check the value of smartform and write the code "BREAK-POINT"->hardcoded debugging.
    2.You can debug the function module which generates the smartform.
    Regards
    Sreeni

  • Debugging Sap Script

    HI all,
    I am working on a SAP Script...this custom SAP SCRIPT is being used for transaction F110...every time we are running this transaction we are missing some data in the checks that are printing and this problem is coming after we applied the Service PAck, now my question is how can I debug ths Sap Script because when activated the debugger in SAP Script and ran transaction F110 and when finally printed the checks it never went or stopped at the SAP Script...the checks are printing fine in the other box where we haven't applied the SP. So basically I want to compare in both the boxes.
    Thanks,
    Rajeev

    Hi ,   
    Programs  executes in printout in F110 .  u can see those programs in  Printout/DataMedium Tab in F110 .  identify the program u r using  for print out and execute it after activating the debugger in sap script .
    Regards
    Neetesh

  • Debugging a standard SAP Transaction

    Hi Guys,
    I would like to know how do we debug a standard SAP Transaction in 4.6c.
    Waiting for ur reply.
    Thanks and regards,
    Frank.

    Hi Frank,
    In order to debug a SAP standard transaction,type in the T-code in the system,click on the system on the Menu bar and then status.The new window gives you the Program name.Double click on the program and put the breakpoint on the first statement of the program and then execute the T-code again.
    If in case the above procedure does not fulfil your requirement,then the other way is to type in the T-code and then put /h in the command box and press F8.It starts the debugger right away and then you can debug it either line by line through F5,Function module by Function module through F6 or straight Execute through F8.
    Also, you can put the breakpoints at any point of time and save them as well so that the next time you debug the same T-code, the program stops at those points in the same session.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • How to Debug SAP standard Program SAPMM07I

    Hi All
    Please tell how to debug an SAP Standard Program for  MI07 T-code.
    In this Transaction I would like to change the  Unit of Measure filed  to Alternate Unit.
    Please, Help me out .. how to debug this program and how to change this field.
    Thank you
    Prasead K

    Hi Myline
    Thanks for your reply. My Issue is that I would like to Diplay  "Difference Qty" VM07I-DIFMG and Base Unit
    of Measure (ISEG-MEINS) in MI07 Tcode as Unit of Issue (MARM-AUSME) which is defined on Material Master Plant Data View.
    Till Now, I did is I copied MI07 Standard Program SAPMM07I to ZSAPMM07I. And Assigned this  Z program to MI07 in SE93. Now, I need to make modifcation in this Zprogram such that I display: Unit of Issue  and Difference Qty fields on MI07 instead of Base unit of Measure.
    Here, Base unit of measure is  EA and Unit of Issue in ICS (Imperial Cases).  IN MI04 we enter in ICS(unit of Issue.. which is converted to EA. and MI01 its in EA. (Base unit of Measure).
    Please if this not clear.. please let me know.
    Waiting for your reply.
    Thanks once again.. !
    Prasead K
    Edited by: Prasead K on Feb 19, 2008 9:15 AM

Maybe you are looking for