Debug loop seconds in process chain

hi
we have an issue. our DTP process has failed in our process chain and the reason was that the transformations were inactive. So we have activated the transformations and have executed the DTP manually. Now when i go to log view of my process chain and  enter REPAIR  on our DTP Process it is asking for DEBUG LOOP ____ Seconds.
what does debug loop mean...
IS it the right way to restart our process chain by enterIng  REPAIR DTP after the manula dtp load we have done by activation transformations
Can anyone suggest me what should the debug loop  --- value I  SHOULD GIVE

Hi Krishna,
As mentioned Debug Loop is use to debug a Process Chain....You have to Enter a wait time greater than 0 seconds. And then, activate the Process Chain....
Then Go to the menu option: Execution -> Execute Synchronous to Debugging........The debug screen will now pop-up.....
But in your case, I don't think it is required....Since you have alreday executed the DTP manually....
Now you just need to continue the rest of the chain....
To do this.....open the chain in the Design View ............In the top where we write the TCODE, there wrire "COPY"..........Enter.....
It will copy the original process Chain..........Give a technical name of the copied chain............
Remove all the Processes till that DTP........Including the Start process......
Create a new Start Process......connect it to the next step.......activate the chain and execute it..........then rest of the chains will get executed fine.......
I don't think that you will face the same issue in the next run of the Process Chain........
You can also use the FM : RSPC_PROCESS_FINISH......to continue the chain instead of copying...
For this you can check the Bog :
Restarting Processchains
Do as you wish....
Regards,
Debjani......

Similar Messages

  • Interrupt process and Debug loop

    Hi,
    What is the difference between Interrupt process and Debug Loop in the process chain if both are used to delay the a process
    Thanks
    krish

    hi,
    Interrupt is a process type which is used in the process chains to trigger the chain after completion of specific steps in another process chains or to pass the process chain up to specified certain time is reached based on the requirement.
    Debug loop can be used to debug a process chain,you will have to specify here the gap between one event been triggered and the next subsequent process also you have to Enter a wait time
    regards
    laksh

  • How to debug completed Process chain

    Hi Experts,
    Can you please let me know how to debug completed Process chain.
    In my Process Chain, we have one ABAP step to update Z-Table entries.
    But it was updated wrong entry into Z-Table.
    Now i want to debug ABAP step in Process chain which was completed successfully (This is Monthly load).
    I have tried to debug the back ground job but it throws an error message in middle of the debugging.
    Could you please tell me how to debug ABAP step in completed Process Chain.
    Thanks
    Shaik

    http://help.sap.com/saphelp_nw04s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0afcd90-0201-0010-b297-9184845346ca
    http://help.sap.com/saphelp_nw70/helpdata/en/21/15843b74f7be0fe10000000a114084/frameset.htm
    /people/vishvesh.bahirat/blog/2006/11/29/bw-process-chain-design
    http://help.sap.com/saphelp_nw70/helpdata/en/21/15843b74f7be0fe10000000a114084/frameset.htm
    1.Go to RSPC to view all the chains.
    2.There click on any chain which you want to run/view.
    3.Click on the log view(shift+F1) to view all the previous runs of the chain and whether they have failed or successful(here you can select 1 day,week ,month etc in the display range)
    4.If you want to modify the chain /add a process type /change the variant then click (Ctrl+F9) and do the changes.
    Even you can change the start variant in change mode for manual scheduling>right click on start process typeselect display variant--now select start Direct Scheduling/ API or Metachain
    under direct scheuling option you can trigger it by setting start immediately /Date-time/After job/event whatever you want to do
    Else you can make it part of a Metachain consisting of different such small local process chains.
    Now Click on Schedule (F8) to run this chain manually.
    5.For Monitoring use Tcodes SM37/RSPCM/SM50
    Also you can use BWCCMS.
    I usually prefer sm37 to view all the background jobs but SM50 is also useful.
    6.debug loop can be used to debug a process chain.(you have to specify here the gap between one event been triggered and the next subsequent process starting)
    to capture process in debugger go to SM37(job overview) or to SM50(process overview)
    Hope this would help you.

  • Loop in Process Chain until Success

    I have an ABAP program step in a process chain that checks that a different specific process chain has suceeded. This only checks once and if it fails (goes red) if the predecessor hasnt suceeded and the chain stops.
    Is there a simple way to make my abap program loop in the process chain until the predecessor chain has suceeded?
    Thanks

    Hi Steve,
    I see 2 options here.
    1. There is a How to paper to create a new process type "ABAP Program" which gives you an option for checking the results of the program unline the standard one. I have done this nd it works beautifully. You coud probably create this process type and use it in your chain.
    2.In your ABAP code where you are checking the status,, put an endless loop and inside the loop, check the status of the other process chain as you are already doing. Put the exit command once the staus you want is achieved. You could even put a wait statement inside the loop if the exit condition is not met and you want to try after some time. This might be a feasible solution. Try it out.
    Thanks and Regards
    Subray Hegde

  • Process chain execution error

    Hi Experts,
    I used to run Process chain on daily basis.During Process chain execution time ,R/3 server was down as a result Process chain is not executed at initial stage itself  as a result i got yellow color symbol at one process(Infopackage-delta load).
    I triggered that process by FM RSPC_PROCESS_FINISH as a result all the successive Processes executed successfully except triggered Process(InfoPackage).
    One of the Expert suggested me to check job ,TRFCS which i failed to trace.
    The Process(Infopackage-deltaload) which is in yellow color later turn into Red color.
    Now I trigger process chain by "Repair" option as result  i got duplicate at that process which is very common apart from that i got duplicates in all successive processes also. Lets say that  A and B are successive Processes where as A1 and B1 are duplicates
      A          A1
       B          B1
    After second successful  Process chain execution including Infopackage i found links between A and B,A1 and B1.
    Apart from this i found cross link(X) between the above links.
    I checked records in all DSO in Process chain which contains two records with numbers in both records at that day where as infopackage containing two records one with red color symbol and other with number.
    My question is as  infopackage is deltaload is there any effect in getting duplicates in successive processes as they are executed  two times in a day.
    Thanks&Regards,
    narasimha.

    Hi Narasimha,
    If the Infopackage is set to Delta then there is no chance of getting duplicate records, Delta will bring only the changed/New records. if you have any dought you can check the data in PSA level...

  • Own process type in process chain

    I have a meta process chain with three local process chains in it.
    In the second local process chain i have an infopackage which only must be executed under special conditions. To validate those conditions i've made my own process type with possible events 'process ends succesful or incorrect'. If the process type returns 'incorrect' the infopackage will not be executed and the process chain continues with the next step. If the process type returns 'succesful' the IP will be executed.
    So far so good.
    During testing i found out that when the process type returns 'incorrect' all further actions within the process chain are executed as wanted but the local process chain gets status red in the meta chain. The third local process chain is not executed because it may only start when the second chain is succesful.
    Questions:
    Can i make my own possible events in a process type (green and yellow for instance)
    Is there perhaps another way to solve this ?
    Regards,
    Chiel

    Hi Tushar,
    I read that document but it doesn't give me the solution !
    I know how to make my own process type but i want other events to end the process type. Now i can only choose 'succesful' or 'incorrect'; i would like to have the value 'warning' (or something simular) too. Than the process chain doesn't get the status 'red' in the monitor and all follow-up processes will continue !
    Regards,
    Chiel

  • Process chain design/schedule/monitoring/debugging

    hi  friends
    pls  help  me on  the  issue of process chain design/schedule/monitoring/debugging
    with  one  of  real  time  scenario, with help of t-codes and  detail  navigation
    thanks in advance
    venkatp

    I have listed below the major informatin neede for your requirement...
    1.Go to RSPC to view all the chains.
    2.There click on any chain which you want to run/view.
    3.Click on the <b>log view(</b>shift+F1) to view all the previous runs of the chain and whether they have failed or successful(here you can select 1 day,week ,month etc in the display range)
    4.If you want to modify the chain /add a process type /change the variant  then click (Ctrl+F9) and do the changes.
    Even  you can change the start variant in change mode for manual scheduling>right click on start process typeselect display variant--now select  start Direct Scheduling/ API  or Metachain
    under <b>direct scheuling</b> option you can trigger it by setting start immediately /Date-time/After job/event whatever you want to do
    Else you can make it part of a Metachain consisting of different such small local process chains.
    Now Click on Schedule (F8) to run this chain manually.
    5.For <b>Monitoring</b> use Tcodes SM37/RSPCM/SM50
    Also you can use BWCCMS.
    I usually prefer sm37 to view all the background jobs but SM50 is also useful.
    6.<b>debug loop</b> can be used to debug a process chain.(you have to specify here the gap between one event been triggered and the next subsequent process starting)
    to capture process in debugger go to  SM37(job overview) or to SM50(process overview)

  • Process chain - Loop

    Hello,
    I have a requirement where in, I would like to call a Infopackage load, DTP and activate DSO process types continously in a loop and exit when a certain condition is met.
    Looking for ideas on how to acheive this.
    For now, I created an ABAP to call the process chain via the FM in a loop and check the status using another FM and continue in the loop if the PC has sucessfully completed.
    I just think there's gotta be a better way to do this. Also, this method is kinda unstable - sometimes the PC runs upto the DTP and just stops. The program then stays in a infinite loop .
    Thanks,
    HD

    How about having your process chain scheduled "After Event".  Then in your process chain, the last process will call an ABAP program that will check for your condition, and trigger the event (which starts the process chain again) if the condition is not met.

  • Process Chains Always Hangs at the second step waiting for an event

    Gents;
    all BI process chains created in Production system are always hanging in the second step waiting for an event RSPROCESS with a certain parameter. This issue is happening for all process chains in Production system and it is not happening for the same in other systems in the landscape (development, Copy of porudction, quality and so on). I tried to trigger the event manually using SM62 but the job is always stick to status " released". the same thing was replicated in other systems and the job status has changed and the process was completed.
    Any idea what might cause this issue??
    Thanks.

    Hi,
    You said that this thing is happening only in production system.Try doing the following checks :
    1.Check SM21to see if there are any red entries.It can be possible that there is some data base RFC connection failure.While checking SM21, make sure you give proper selection condition.If there are any red entries, you may take the help of basis guys to understand the type of failure.May be file system has got some problems.
    2.Check St22 and try to analyse if any short dumps.
    3.Try to check Connection with the source system ( Goto RSA1->source system tab->right click on the source system and select check option to find if any errors in the connection.
    4.If possible, try to load manually in some other info provider.
    Thanks,
    Tarun Brijwani.

  • Process chain that loops itself

    Hi experts,
    I have a process chain here that will be triggered by event, and at the end of the process chain it will trigger the same event so that the process chain will loop itself.
    But I have a problem here, I need to run the process chain only on working days (Mon - Fri), and I have a factory calendar for it.
    However, if the process chain is triggered by event, I cannot restrict it by factory calender.
    Any ideas?
    Thanks
    Ivy

    hi,
    Create a new chain which is scheduled daily and in it add ABAP program to if the process chain (loop) is still active, if it is not then check the factory calendar and raise the event if it is a working day. In case of active run do nothing.
    The process chain with loop can have the existing variant where it is triggered by event. In the loop chain add the program to check the working day from calendar and only raise event if it is.
    This way the loop will also be maintained and the chain would stop on a non working day and automatically be triggered on the next working day.
    regards,
    Arvind.

  • Loop in Process Chain never ends?!

    Hello All!
    I'd created an ABAP program which calls the FM "RSPC_CHAIN_EXECUTE_REMOTE", to start a specific process chain. I'd created a job to run it.
    Then, I want the same process chain continue in loop. For this I'd created another ABAP program, which calls the FM BP_EVENT_RAISE.At the end of my process chain I'd created a variant calling this program. All process im my process chain works fine, but the job never stops. Is it normal, or could I do something to solve it?
    Thank you!!!
    Aline.

    Hi Aline,
       You have to put a logic when to raise event. or every time ABAP program runs and triggers the event ... so its becomes infinite...
    What is code in your ABAP program..? and logic...?
    <a href="http://sapbwneelam.blogspot.com/2007/09/how-to-start-process-chain-through.html">Sample coding... similar requirement...</a>
    Hope it Helps
    Srini

  • Debug process chain.

    hello friends,
    may be this is simple question for you but i am not aware of this.
    can u please tell me how to debug process chain.
    Is it possbile to start any activities from process chain even though i don't want top rul full PC.
    let's take a example that attr change run is failed in PC and the link has mentioned is always means even though it fails it will go ahead.
    now once the PC completed i can run this manually but the thing is that i will run all attr change run even though i want to run for specific object whicvh is related my PC.
    Please sggest me .
    Regards

    Hi Jain,
           Have a look at this previous thread.
    Re: How to debug a process chain
           Dont forget to Reward if helpful
    Cheers,
    Aravindhan

  • Local Process Chains

    HI Guys,
    I am in the process of designing the process chains for data loading. I have a situation where I am planning to use local process chains in the meta chain. Situation is like this:I have created Meta Chain for Master Data loading, which is having 2 local process chains, one is for Attributes and another is for loading texts. I placed them in the sequential order. First Attributes chain and on successful completion of Attribute chain it should run the Text process chain. But in the system it executes the Attribute chain successfully but the text process chain is always in the YELLOW( in progress ) state even though in that process chain I have only start process. In the SM50 it shows two background process with the user id ALEREMOTE, but process chain never finishes. In the Messages of the Text process chain I see the message"Communication buffer delted from the previous run ".
    So I put the process chains in the parallel manner, meaning after start process of Meta chain I attached the two process chains so that they should execute simultaneously. But in this case too, Attribute local process chain gets executed but not the Text local process chain.
    We tried debugging the process in SM50, it seems that there is some infinite loop.
    If anybody has any clue then please reply back at your earliest. Your help is highly appreicated,
    Thanks.
    Santosh Taware

    first point, i think you can have single process chian for both attributes and texts one after other.
    second thing check in st22 if any dumps are occuring and check in the monitor in which step it is still running.
    reward if helps.

  • Set delay for process in process chain (BI7)

    Hi gurus.
    Can anybody advice me on how to set delay for a process in process chain in BI7
    Thanks in advance

    Hi,
    If you right-click on a process in the Process Chain, there should be an option called Debug Loop. Here you can enter the number of seconds to delay a process.
    The only difference between 3.5 and 7.0 is that Option Waiting Time in context menu of "any" process is replaced by Debug Loop.Here you can enter the # of seconds for which you want your process to be delayed.
    See below:
    Re: Start a Process Chain after every 15 mins
    Hope this helps.
    Regards
    CSM Reddy

  • How to extend the execution time of an ABAP Program using the Process chain

    Hello Sapians,
    Our Environment has got 600seconds = 10 mintues as the execution time.
    My ABAP Program is taking more than this 600 seconds, to show the result, I found this when I tried to execute in debug mode, it shows the result.
    If I execute in background also it shows the results succesfully.
    Only issue is when I execute this report in foreground it has been taking ages and goes on Time OUT Error.
    It has been decided that we can extend the execution time only for this report, and it will reset the time back to 10mintues once the report has been executed successfully or failed in between for any other reasons.
    And we can achieve this by using the process chains.
    Can any body help me please in this regard
    Thanks,

    Hi,,,,,,,,,,
    Besides Process Chain There is another way out for this........
    Resetting time counter of dialog process so that time-out does not
    happen. Use this fm within your program at appropriate locations to
    reset time counter.
    "CALL FUNCTION 'TH_REDISPATCH'."
    Thanks
    Saurabh

Maybe you are looking for