Process Chain-Repair & Repeat

Dear Experts,
Could plz elaborate difference between Process Chain-Repair & Repeat. After the PC error(red status), when we go for Repair & when we go for Repeat.
Thanks in advance.
Regards,
RR

Hi Raghu ,
Depending on the process type, there are two possibilities:
·        You can repair a process. In this case the terminated instance is executed again.
This enables you to restart processes that cannot be repeated with a new instance because the data to be edited is attached to the instance, as for example with a data transfer process. A data transfer process, for example, cannot be repeated with a new request number because the data itself is attached to the request.
·        You can repeat a process. In this case a new instance is created.
Hope this helps you..pls go through this link : http://help.sap.com/saphelp_nw04s/helpdata/en/f3/0d4a975f450443be900e89a47ad48e/frameset.htm
Thanks Regards
Santosh Deepak

Similar Messages

  • Process Types in Process Chains - Loading - Repeatable/repairable

    Hi,
    I know SAP recommends that we do not change the properties of the Process Types for Process Chains. I want to know if any one has ever changed the property of "LOADING" process type to "repeatable" or "repairable". We are keen to change this attribute of "LOADING" process to repeatable. Any experiences, good or bad, would be highly useful to us to take a decision and would be highly appreciated.
    regards
    Uday

    Hi Simon,
    So far, I have not come across any documents that explain the difference between the two options. But, I believe the 'repairable" would start from where it has stopped in the program calles, while "repeatable" will restart the current job (not the whole process chain) from the start. Please remember to post it here, if you ever come across any documentation on these options.
    Uday

  • Process Chain step repeat/restart

    I have a process chain which schedules 3 loads to psa and then loads the data into ods/cubes. it often fails here due to data problems. now there are at least 4 subsequent steps that are not executed due to this failure which is correct but i don't want to have to fix the problem with the data by deleting the requests from the ods/cube and correcting in the PSA and then have to do all the subsequent steps manually.
    Once i have corrected the data in the PSA:
    if i repeat the load to ODS step will it continue through the rest of the chain?
    if i restart the chain will it repeat the extract to PSA steps which i definitely don't want it to do?
    or can i schedule the subsequent part of the chain to run from the planning view?

    Hi Richard,
    I guess when there is some data issue, there is always need for manual intervention.
    "if i repeat the load to ODS step will it continue through the rest of the chain?"
    <i>You have to delete the failed request manually from DataTarget before doing this.</i>
    "if i restart the chain will it repeat the extract to PSA steps which i definitely don't want it to do?"
    <i>Yes. Restarting chain will extract the data again.</i>
    or can i schedule the subsequent part of the chain to run from the planning view?
    <i>I don't think you can start a chain from the middle from planning view.</i>
    Regards,
    Sree

  • Process chain repair going to Debugger mode

    Hi everyone,
    When I try to repair a failed DTP process in a process chain, it goes into debugger mode. After exiting from debug mode, I can see that DTP has been executed successfully.
    Why process chain goes into Debug mode?
    Secondly after successful execution of DTP process, other remaining succeeding processes are not executed.
    any idea how to solve these issues.
    thanks for help
    Ahmad

    hi guys,
    Thank you all for taking time to reply.
    @Muhammad: there are no breakpoint(s) in custom routines.
    @Baskaran: DTP processing mode is set to Serial extraction, immediate parallel processing.
    @Amit, Martin: at DTP process repair, the Debug stop at following code
    * ==== Debugging ====
    * Breakpoint after start routine
        if i_r_trfn_cmd is bound.
          READ TABLE i_r_trfn_cmd->n_th_bp
               TRANSPORTING NO FIELDS
               WITH TABLE KEY bpid    = 3
                              datapid = i_r_inbound->n_datapakid.
          IF sy-subrc = 0.
    * --- Data ---
    *     See datapackage below
    * --- Debugging ---
            BREAK-POINT.                                       "#EC NOBREAK
          ENDIF.
        endif.
    when I simply exit, I can see in the process chain that DTP has executed successfully, but remaining processes don't execute.
    In the generated program of transformation of DTP, there are two breakpoints; one given above and the other is :
    * ==== Debugging ====
    * Breakpoint before end routine
        if i_r_trfn_cmd is bound.
          READ TABLE i_r_trfn_cmd->n_th_bp
               TRANSPORTING NO FIELDS
               WITH TABLE KEY bpid    = 4
                              datapid = i_r_inbound->n_datapakid.
          IF sy-subrc = 0.
    * --- Data ---
    *     See datapackage above..
    * --- Debugging ---
            BREAK-POINT.                                       "#EC NOBREAK
          ENDIF.
        endif.
    I have checked generated programs of other transformations both SAP delivered (business-content) and client custom transformations and they all have these two pieces of code.
    on additional question:
    when we do repair the below box appears. Can anyone explains what exactly is this? and if this has any thing to do repair going into the debug mode. What I read on
    https://help.sap.com/saphelp_nw70ehp1/helpdata/en/67/13843b74f7be0fe10000000a114084/content.htm
    "Specify how long (in seconds) you want the delay to be between one event being triggered and the next process starting."
    I am thinking of deleting this DTP and using a new one in process chain.
    regards
    Ahmad

  • How to run process chain in day of 20 and 2 every month?

    Dear all,
    I have to run process chain in day of 20 and 2 every month,but the settting of PC just allow Scheduled start every month once
    time.
    Please tell me the way of setting process chain.
    Thanks.

    Hi,
    (1) Create an event in the BW system
    Define a system event (for example SAP_BW_TRIGGER) with Transaction SM62. Lets says it is "EVENTX". Use this even in the Process chain and execute the process chain as repeative job.
    (2) Use the below lines of code in the program for calling a Fucntion which trigeres the event created above . Here in this program you will call the the Below FM if and only id the sy-datum is 20 th or 2nd of the month ( as mentioned by our friend suggested).
    call function 'BP_EVENT_RAISE'
    exporting
    eventid = EVENTX
    exceptions
    bad_eventid = 1
    eventid_does_not_exist = 2
    eventid_missing = 3
    raise_failed = 4
    others = 5.
    endfunction.
    Regards,
    Anil Kumar Sharma .P

  • Process Chain timing

    Hi Guys,
    Can any one help me to schedule process chain to repeat at different time intervals in a day(At 12:00 and 17:05) every day.
    Thanks

    Hi,
    In RSPC, select Date/Time and set Periodic jobs. Else you write small program in BW and raise event at At 12:00 and 17:05, i.e. schedule this program  At 12:00 and 17:05 then automatically the Process chain will trigger.
    Note:  Create Event in SM62 and then use it in PC.
    REPORT  ZFM_EVT.
    DATA: EVENTID LIKE TBTCJOB-EVENTID.
    DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
    EVENTID = 'Z_TLB_ATTA'.
    EVENTPARM = 'Z_TLB_ATTA'.
    CALL FUNCTION 'RSSM_EVENT_RAISE'
      EXPORTING
        I_EVENTID                    = EVENTID
        I_EVENTPARM                  = EVENTPARM
    * EXCEPTIONS
    *   BAD_EVENTID                  = 1
    *   EVENTID_DOES_NOT_EXIST       = 2
    *   EVENTID_MISSING              = 3
    *   RAISE_FAILED                 = 4
    *   OTHERS                       = 5
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks
    Reddy

  • Repairing/Repeating Terminated Processes - Process Chains

    Hi,
    Can any one please explain me with a simple example about repeat and repair in case of process chain.
    I’ve referred http://help.sap.com/saphelp_nw04s/helpdata/en/f3/0d4a975f450443be900e89a47ad48e/content.htm but yet I am not very clear about the two.
    Which option do we use under what circumstances?
    Thank you,
    sam

    Hi Sam,
    Normally with Repeat option next processes automatically trigger. But after manual update u should do them manually.
    Check this Function module.
    Look into this FM - RSPC_PROCESS_FINISH and execute with G(complete) this will start the next process automatically without doing anything manually.
    or
    Go to the plan view of that chain, in trasaction field enter '=copy', it asks for the name and description, then u remove the processes which r already ran, connect a start process to which r yet to run ( means to the first process in that). select the immediate option in maintain variant for start process then trigger it.
    Hope the following links will give u a clear idea about process chains and clear ur doubts.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/using%20process%20chains%20in%20sap%20business%20information%20warehouse
    Business Intelligence Old Forum (Read Only Archive)
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    Siggi's weblogs for data load error and how to restart process chain
    /people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    Hope this helps.
    Regrads,
    Ravikanth

  • Hi i have 50 infoobjects as part of my aggregates and in that 10 infoobjects have received changes in masterdata.so in my process chain the Attribute change run in running for a long time.can i kill the job and repeat the same.

    Hi i have 50 infoobjects as part of my aggregates and in that 10 infoobjects have received changes in masterdata.so in my process chain the Attribute change run in running for a long time.can i kill the job and repeat the same.

    Hi,
    I believe this would be your Prod system, so don't just cancel it but look at the job log. If it is still processing then don't kill it and wait for the change run to complete but if you can see that nothing is happening and it is stuck for a long time then you can go ahead and cancel it.
    But please be sure, as these kind of jobs can create problems if you cancel them in the middle of a job.
    Regards,
    Arminder Singh

  • No repeat option available for the process step in process chain

    If the process chain failed at the ODS activation level, generally the repeat option will be available for activation and to continue the next step. But in some cases the repeat option will not be available for the process step.
    Is there any process to get the repeat option in the process chain?

    You can change this in RSPC > Settings > Maintain process types > Loading (or process of your interest) > put the check mark for Repeatable.

  • Question about repeating in the process chain

    Hello Gurus,
            my DTP is set as "valid records update, no reporting (request red)", and put into a process chain. the process chain goes wrong on this DTP due to some erroneous records.  my questions are:
       (1) based on DTP configuration, all the records are transferred to target successfully except for those erroneous records. is that right?
       (2) after I correct those erroneous records in PSA, I repeat this DTP process in the process chain.  what exact data are transferred by this repeating operation on this DTP?  do we need to take care of all the previously loaded data for this subsequent repeat loading ?
    Many thanks.

    Hi ,
    Please refer my article for your answer, also this has lots of good DTP features.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10339304-7ce5-2c10-f692-fbcd25915c36?quicklink=index&overridelayout=true
    (1) based on DTP configuration, all the records are transferred to target successfully except for those erroneous records. is that right?
    Yes. All the erroneous records go in the error stack and then you can fix the errorneous records there and execute the error DTP.This setting ensures, incorrect/incomplete data is not available for reporting.
    (2) after I correct those erroneous records in PSA, I repeat this DTP process in the process chain. what exact data are transferred by this repeating operation on this DTP? do we need to take care of all the previously loaded data for this subsequent repeat loading ?
    No records are transferred on repeating teh job. We need to manually set the status of request to Green.Yes we need to take care of all the subsequent steps.
    -Vikram

  • Process chain when to repeat  and when th next process starts automatically

    Hi Friends ,
    I want to know when to repeat a subsequent a process  in process chain and when the subsequent process starts automatically?
    Hope   u understand my question.
    Regards, 
    Pavan

    Hi Pavan,
    <i>
    I want to know when to repeat a subsequent a process in process chain and when the subsequent process starts automatically?</i>
    Subsequen process runs automatically .. always the subsequen process waits for the predecessor to finish and the subsequen process starts.. abt the Repeat process chain ...
    When .. when ur loading fails due to some reason.. but u can repeat that Execute IP process type by right clicking on the process type and click on the repeat process and it will ask u to start in how many seconds u can give ur tiem there .. if u want immediatly u can just give 0 seconds..
    check this link too abt PCs
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
    hope it helps
    regards
    CK

  • Process chain--how to schedule the variant even if there is no repeat opt.

    Hello Gurus,
    Can anybody help me out like the issue was...
    when monitoring the process-chain,the variant-load infopackage was successfully completed the status was green,and next to that there was a update from the PSA variant and then to that there is a ATTR.chane run variant,process chain strucked at these two variants.when i look into that there was no repeat option on both the variants.        so how could i schedule that from at that point.
    Thanks in advance for the solution!
    Regards,
    Dilip

    Hi Dilip,
    You have to do the remaining process steps manually.
    If the the failed process step is loading proces step, then make the QM status of that upload to Red and then refresh the process chain.. Some times you will get the repeate option with that.
    Or else end the process as described below:
    When ever the load fails in a process chain we need to check whether its a load error or a non-load error. For load we need to rectifie the error manually nd need to run the program which is given SAP SE38.
    RSPC_PROCESS_FINISH for this we need to pass some parameters.
    like process chain name. variant, instance and the status. Here status we will give as 'G'. so that chain can identify that the previous process has been successful nd run the remaining processes automatically.
    Refer the below Blog
    Blog for this : /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    Assign points if it help you.
    Regards,
    Sreedhar

  • Process chain start variant repaired in production

    Hi
    I took up tasks from our previous Bi team
    I am told we have followed the regular process of DEV --  QA and PROD for all  process  chains
    I see a strange observation in Production for a particular process chain in its start variant
    It is shown to run as immediate in the start variant, in the detail view , but
    it runs scheduled at a certain time every day, I can see the scheduled jobs released
    I see that in production it is attached to a request in repaired status
    process chain works fine and triggers regularly
    I am unable to understand why it shows as immediate in the start variant and however runs on a regular schedule

    Hi
    1) why does the start variant of this META chain show up as immediate, when it is actually running scheduled ?
    are you able to see the chain in green color(scheduled state).
    when you right click on start process chain step and you have option to select display scheduled job?..if yes check the start condition by double click on job.
    2)Does the change directly in production, could have brought in this behavior?
    We can change the start condition of process chain, when right click on start variant and select display variant..here you can see last changed name
    3) If , I re transport the whole META chain from DEV-QA --PRD , will the start variant change or will it cause trouble considering the fact that the start variant was repaired in PROD directly.
    No need to transport again, if you know the start condition of process chain, edit the same in prod and save it.
    Regards,
    Venkatesh

  • How repeat a process step in a process chain automatically after error?

    Hello guys.
    Have some method to repeat automatically a process in a process chain after a error occur ?
    Now, we need to make a manual procedure for repeat the process... We need make it more "fast", one "auto repeat" when failing.

    Hi Leo,
    Auto repeat of a process chain is always not ad visible as in most of the cases we can see the job got finished in SM37 and even spool got generated but unfortunately it will fail if any of the data package is wrong.In these cases we can skip the process chain and make it continue.
    I have written a blog on the same.please go through it.i feel for those scenarios it is good.
    How to override a process block in the process chain and make it force complete ?
    My personal advice is to go and check the job log before repeating any process as the job may fail for n no of cases.it is a complex challenge of adding all those errors tracked.
    Regards,
    Kannan

  • Repeating Process Chain

    Hi,
        What do I need to do  to Re-Schedule the Process of the Process Chain, if it fails and I had rectifieid the error ,but It does not have  Repeat  Menu on its Context Menu ?
    Should I go to its Infopackage and Select the Start there ?
    Can Any One Please Help How to Restart this process?
    Does any one know about the Transaction code to create Background Jobs ?
    Ashish

    Hi,
    if a process type fails,the repeat option is enabled in the next process.
    so after u finish correcting the process type,right click on the next process type and repeat.
    To create background jobs T Code: SM36 to view:SM37
    Regards,
    dhanya.

Maybe you are looking for