Debugging of Routines?

Hi,
I have written some update routines and also transfer routines.
I want to check how it works.So is there any way to debug these routines?
If so please explain.
Points will be definitely assigned.

it is answered a lot of times in forum.. do a search before posting a new thread
<a href="/people/pavan.bayyapu/blog/2006/09/06/debugging-data-upload-in-bw:///people/pavan.bayyapu/blog/2006/09/06/debugging-data-upload-in-bw
<a href="Debugging Routine in Update Rule://Debugging Routine in Update Rule
how to debug a start routine?
[url=How to debug start routine?]How to debug start routine?[/url]

Similar Messages

  • How can I debug a routine created in Deletion of similar requests?

    Hello Experts,
    I need some help from you. I need to delete overlapping requests and the common
    settings you can set are not suitable, so I decided to write my own ABAP routine.
    But how can I debug a routine, which is implemented in the deletion of similar requests?
    Hope you can help me.
    Cheers
    Daniel Weilbacher

    Please go to the routine code..
    In the menu options..u will find an option for breakpoint--set..
    The line where breakpoint is set will get highlighted and u will also see a STOP symbol..
    then come out of routine..and then run the data load..
    this ABAP routine for overlapping request deletion runs before the scheduled data load..
    the run shud stop at the set breakpoint and show the routine code..in debugger mode..
    cheers,
    Vishvesh

  • How debug a routine created in InfoPackage for Data selection ?

    Hi everybody,
    I decide to debug a routine create in InfoPackage.
    Here, the name of my ABAP routine:
    program conversion_routine
    form compute_TREATMENT_DATE
    When i execute the "/h" command to launch debugger, i don't see this routine in Call Stack...
    How i can debbug ?
    Any suggestions ?
    Thanks in advance,
    Best regards,
    Rodolphe.

    Debug ABAP Routine in InfoPackage:  
    Put a loop on the routine,
    data : debug(1).
    do.
    if debug = 'X'.
    exit.
    endif.
    enddo.
    And when run infopackage, go to sm50.
    On that process, menu program->debug program.
    In debug screen, type in debug, and fill with X and click 'edit'-pencil icon.
    F5 to next step.
    hope this helps...

  • How debug a routine create in InfoPackage for Data selection ?

    Hi everybody,
    I decide to debug a routine create in InfoPackage.
    Here, the name of my ABAP routine:
    program conversion_routine
    form compute_TREATMENT_DATE
    When i execute the "/h" command to launch debugger, i don't see this routine in Call Stack...
    How i can debbug ?
    Any suggestions ?
    Thanks in advance,
    Best regards,
    Rodolphe.

    Debug ABAP Routine in InfoPackage:  
    Put a loop on the routine,
    data : debug(1).
    do.
    if debug = 'X'.
    exit.
    endif.
    enddo.
    And when run infopackage, go to sm50.
    On that process, menu program->debug program.
    In debug screen, type in debug, and fill with X and click 'edit'-pencil icon.
    F5 to next step.
    hope this helps...

  • How do you Debug start routine?

    Hi gurus
    How do you Debug start routine?
    Thanks in advance
    Raj

    By inserting a BREAK statement in the routine you won't be able to debugg as the upload process is done in background.
    Instead you should insert a code like this:
    data flag.
    while flag ne 'X'. endwhile.
    Then launch the process and go to transaction SM50 select the process and execute Program/Mode -> Program -> Debugging

  • How to debug the routines in the transformations as well as start,endroutin

    Hi all,
    Can anyone explain me how to debug the routines in the DTP, as well as the how to debug the start and end routines>?
    I am new to bi 7 ?
    thanks
    Pooja

    Hi,
    In Execute tab change the processing Modes to 'serially in the dialog process for debugging' . then you can see the option 'simulate'.
    http://help.sap.com/saphelp_nw70/helpdata/en/45/8594ebd17f1956e10000000a11466f/content.htm
    Step by step doc,
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0038ad7-a0c7-2c10-cdbc-dd674682c8e7?quicklink=index&overridelayout=true

  • Debugging of Routines in transfer rules

    Hi All,
    I wrote a routine and trying to debug.I tried to debug using "Simulate update" option when we right click in the monitor screen.I don't know how to proceed from there.Could some one explains the steps to debug the routine in transfer rules?
    Your help is greatly appreciated.
    Thanks
    Manish

    Hello Manish,
    You can create a Watch point if you are looking for some InfoObject / table field values.
    Or you can keep pressing F5 for step by step debugging (takes long time) and double click the field when you see them.
    If you want to go by block by block instead of line you can use F6 and F7 and if you want to execute you can F8 as what we do for execution.
    If you are sure where you want to check then set a break point by double click or select the line and click the Break Point Icon in the top and press F8, the system will automatically stops at the break point then double click the field you need and check the value in the right side window.
    If you are using BW3.x the you can switch between New Debug mode (Multiple screen and will be difficult to use if you are new) and Classical Debug Mode (easy to use)
    Hope it helps
    Thanks
    Chandran

  • Debugging: start routine in transfer rules

    Hi !
    can you please tell me how to debug start routines  and field routines in transfer rules?
    If possible please tell me too debugging of update rules.

    Hi Rajib,
    Go to the monitor -> Details tab -> Processing -> Choose the datapackage you want to debug -> Right click -> Simulate update -> Choose eather activate debugging in transfer rules (to debug in transfer rules) or debugging in update rules(for start routine and update rules).
    You can mention the number records you want to debug also, if you have an idea of which records you want to debug you can give the number of that record.
    Once the debug screen comes up, press F8...the control stops at first break point...from there you can do a step by step debugging (F5).
    Hope this helps...
    Regards,
    Kalyan

  • Steps to debug start routine

    can someone give me steps to debug start routine.
    Thanks,
    Radha

    Hi,
    Please go through this link
    /thread/157701 [original link is broken]
    Thanks,
    JACK

  • How to debug start routines of update rules from ODS to InfoCube

    Dear gurus,
      I have an update rule from ODS to InfoCube. I wrote a start routine in the update rule. Now I want to debug it. I went to monitor and simulate update the data package and only got the prompt "No data exists in the corresponding PSA table". So how can I debug this start routine?
      Thanks in advance.
    Jin Ming

    Jin,
    In order to use PSA between ODS and InfoCube, you may have to use an exclusive InfoPackage and load separately. In that InfoPackage, choose the radio button to use a PSA.
    I think you are currently updating the InfoCube directly without using a separate InfoPackage.
    Look for an InfoSource under DataMarts (search for 8<ODS Technical name>) and create your InfoPackage there.
    Good luck.

  • Debug abap routine in infopackage

    Hi experts,
    What is the easiest way to debug an abap routine used in the infopackage for dynamic selection? When I go into the code I cannot place a breakpoint. Optionally I can do a /h before hitting the schedule button but what can I look for to go directly to my abap code?
    mark

    HI
    Below is an excerpt from a reply by AHP few months back
    put a loop on the routine,
    data : debug(1).
    do.
    if debug = 'X'.
    exit.
    endif.
    enddo.
    and when run infopackage, go to sm50,
    on that process, menu program->debug program,
    in debug screen, type in debug, and fill with X and click 'edit'-pencil icon.
    F5 to next step.
    hope this helps.
    Regards
    Prakash

  • How to debug start routine for the custom code?

    Hi Experts,
    Can anybody tell me how to debug the start routine? Also could you please guide me where to write the custom code in the start routine.
    Thanks in advance.
    Sharat.

    Rajkumar,
    Thank you for your help. but the blog link that you send it to me does not mention anything about ABAP debugger screen.
    What should I do once I get in to the ABAP debugger? the link only tells how to get to the ABAP debugger that I know.
    Also it say that I have to use the infinite loop to debugg the start routine.
    Can anybody tell me how to debugg start routine with the scren shots please. I don't know how to use infinite loop in the start routine. Is their any easy process step by step to see my particular record behavior in the start routine?
    I will assing you the points. again thank you.

  • Debug Start routine in BW 3.5

    Hi,
    I have start routine at Update rules and I have observed that some of the quantity and amount key figures are not calculating properly. It is complex start routine. Can you please let me know the steps to debug the start routine for every record? Example what are the values it is picking up and how the values are getting calculated.
    Please let me know the steps.
    Thanks,
    Ganga

    Hi,
    Just simulate it.  Load the data through the PSA, then go into the monitor and select your request.  Choose the "Details" tab.   Open up the Transfer section and right-click on a data package and choose Simulate Update.  In the pop-up, click on Activate Debugging in Update Rules and then Perform Simulation. 
    You can then step through the code.
    Brian

  • How to Debug routine in Infopackge

    Hi All,
      I have an ABAP routine in the Infopackage. How can I debug the code.
    Thanks.
    Regards,
    bw_newbie

    Hi,
    See here:
    debug abap routine in infopackage
    debug the code at infopackage level
    Hope this helps...

  • How to debug routine in process type "Deletion of overlapping requests"

    Hi all,
    I created a process chain including a process of the type "Deletion of overlaopping requests from InfoCube".
    In this process I created a routine to decide which requests to delete. Now I would like to debug this routine, but do not know how.
    Merely setting a breakpoint does not seem to help.
    Does anyone have a hint how to debug this routine?
    Many thanks,
    Stefan

    Hi,
    put a "BREAK-POINT." statement into your code (don't forget to remove it afterwards). Then you activate your process chain and go the menu Execution at the top of RSPC. There you choose "Execute synchronous to Debugging". The process chain should then kick off and stop at the point where you put the break point.
    Hope it helps.
    Stefan

Maybe you are looking for