Subject: Continue Process Chain Execution Despite a Process Type Failure

My process chain is made of several process types; process type 1, process type 2, etc.
Generally if a process type fails, e.g., process type 1 failed, subsequent process types are not executed.
1.     Is it possible to continue to execute process type 2 despite errors in type 1.
2.     If process type 2 was an ABAP program, is it possible to get in this program whether process type 1 was success or failure because I want to do certain things only  if process type 1 was a failure,

Hi,
Here are my answers,
1) Is it possible to continue to execute process type 2 despite errors in type 1.
It is possible to execute subsequent process even if the process fails.
when you are developing the process chain, whilee connecting processtype1 and processtype 2, a popup appears with three optionhs "success", "failure", "always".
select "always" in your case.
If you are asking about the process chain already developed, go to edit mode, removelink between process1 and process2 and follow above steps.
*2) If process type 2 was an ABAP program, is it possible to get in this program whether process type 1 was success or failure because I want to do certain things only if process type 1 was a failure *
let me assume that you want to run programA if process1 is succesful and programB if process1 fails.
include programA in process2 and ProgramB in process3
connect process1 to process2(ProgramA) and select "success" n the popup
connect process1 to process3(ProgramB) and select "failure" in the popup.
hope this helps you,
please let me know if you need any more information.
Regards,
Sri...

Similar Messages

  • Help! about process chain execution status

    hi:
    we nearly have one problem about the process chain execution status,
    when error occured during  process chian execution, we fixed it in time,
    however, even the error repaired, its status still showed yellow, and this
    stop the subsequent process to excute.
    Any body who can provide some help to solve this problem? thanks in advance
    and looking forward to one reply.

    Hi ,
    Try this method
    Open the messages of a failed step by right clicking on it and selecting 'display messages'.
    In the opened popup click on the tab 'Chain'.
    In a parallel session goto transaction se16 for table rspcprocesslog and display the entries with the following selections:
    1. copy the variant from the popup to the variante of table rspcprocesslog
    2. copy the instance from the popup to the instance of table rspcprocesslog
    3. copy the start date from the popup to the batchdate of table rspcprocesslog
    Press F8 to display the entries of table rspcprocesslog.
    Now open another session and goto transaction se37. Enter RSPC_PROCESS_FINISH as the name of the function module and run the fm in test mode.
    Now copy the entries of table rspcprocesslog to the input parameters of the function module like
    described as follows:
    1. rspcprocesslog-log_id -> i_logid
    2. rspcprocesslog-type -> i_type
    3. rspcprocesslog-variante -> i_variant
    4. rspcprocesslog-instance -> i_instance
    5. enter 'G' for parameter i_state (sets the status to green).
    Now press F8 to run the fm.
    Now the actual process will be set to green and the following process in the chain will be started and the chain can run to the end.
    Regards,
    Ravi

  • 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...

  • Process chain did not stop at the failure step but continue till the end

    Hi Gurus,
    I have daily process chain which loads sem data
    suddenly the process chain fails with an SEM issue and once i fix and repeat the process, the process completed and completes all processes in the chain but still the chain status is in red which doesn't allow to kick the subsequent chain.
    For the same i again rerun the total local chain to get the PC status as green,
    Can anyone face this issue and help me to know why we are getting this type of issue.

    Hi Naresh,
    You can very well follow this practice to automate the loads. following are the steps.
    1. sa38 --> RSPC_PROCESS_FINISH.
    2. fill in following parameters.
    LOGID = (LOGID of current process chain execution)
    TYPE = (process type of failed step)
    VARIANT = (find value from failed chain step from background)
    INSTANCE = (find value from failed chain step from background)
    STATE = F (to mark it finish)
    3. execute.
    Please look into the below link for further details:
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    Hope this Helps,
    Thanks,
    Amit Kr.

  • How to follow process chain execution history

    Hello All;
       I need to follow all process chain execution history, is there any way to follow a process chain execution for example over a week ?
    Example :
      Day 1 PC failes
      Day 2 PC success
      Day 3 ...
      Day 4 ...
      Day 5 ...
    Regards
    Anis

    Go to tcode RSPC and open your process chain and select log view icon .
    check the logs as follows

  • Avoid Livecache Lock during process chain execution

    Hi All
    I have a situation where the DP  planners in Asia geographies have a lockout in planning books due to process chain exceutions in US evening time.
    Have you come across any such situation where lock out due to process chain execution can be removed/reduced
    It will be really helpful if you can provide some inputs on this

    Hi Vijay,
    Probably you have a program to lock all users. You can contact your ABAP team, to change the code, so that the user group maintained in a table (Z) to be excluded out of locking.
    We have this type of program in our project, but your code might be different from ours.
    Let me know if you want further information...though I cannot share the entire code with you.
    Regards
    JB

  • Scheduling of a process chain in two meta process chains

    Hi,
    ( Meta process chains - X, Z
      X - runs at 2 a.m. daily
      Z - runs after every two hours daily from 9 a.m. to 10.30 p.m
    Process chain - Y is to be included in X & Z)
    There is a Meta process chain X which is scheduled for 2 a.m. daily. This meta process chain contains another
    process chain Y.
    I want to schedule another Meta process chain Z which executes after every two hours daily. Now I want to include process chain Y in Z, with the condition that if system time is 11 a.m. or later than it only then it should be scheduled.
    Since this process chain  is contained in Meta process chain X, its start variant
    has Immediate Start selected. I don't want to change this start variant.
    Is there any option or event through which this can be achieved?
    Thanks & Regards,
    Manisha

    You need a program to trigger event (using function module BP_EVENT_RAISE). You can include this program and variant only in the process chain as a ABAP process type.
    The program will have a condition based on the time (you can use parameters to make it dynamic), when ever the specified time condition will be satisfied, it will trigger the event.
    So whenever you will execute the process chain X, everytime ABAP process type will also be executed. But the event will be raised only at a specific time, so is it process chain Y. Therefore it will not affect process chain X execution.

  • Process chain failed at  AND process type ?

    hi all .
    Process chain failed at  AND process type ?
    and it is giving  message      Job cancelled after system exception ERROR_MESSAGE     .
    what is the reason & solution .
    regards ,
    srinivas ,

    Hi,
    That depends on the system behaviour... There is no issue in that... You can repeate the process.. If there is no repeat option available then you can on the detail view.. there is a chance that you will get a repeat option there.. If not then copy the chain.. remove the loaded process and add one starter chain an continue the chain in immediate mode...
    Regards
    Sajid khan

  • Is it possible to run process chain from the certain process/point?

    Hello
    Is it possible to run process chain from the certain process?
    How?
    Thanks

    Hello,
    yes it possible! use the following steps.
    1. Goto the process which you want the chain to start from.Goto display messages>> Chain tab. In the generated instance note the variant and instance.
    2. Goto table RSPROCESSLOG and give variant and instance and get logid details.
    3. t codese37>> run FM RSPROCESSFINISH.
    4. give the deatils u have got in RSPROCESSLOG table here and say execute.
    This will solve ur problem.
    Hope this helps!
    Reg
    Deepmala

  • Process chain: scenario on Interupt process

    Hello,
    currently I'm exploring a BI in NW2004s.
    In the area of process chain I found a process type
    called Interrupt process.
    Can someone give we a scenario on that process type?
    Regards & Thanks,
    Guido

    Hi...
    go to RSPC and now click Process Types button--under General Services node is interrupt process
    Application scenario:"
    Apply multiple start conditions in a process chain
    With the process type Interrupt, you can interrupt the processing of a process chain until a given condition has been satisfied. In this way you can, for example, define conditions that need to be satisfied in addition to the start condition defined in the start process so that the entire process chain or parts of it can be processed."
    refer thread:
    http://help.sap.com/saphelp_nw70/helpdata/en/58/9c6c4251e4c153e10000000a1550b0/frameset.htm

  • Error in Process chain execution.

    Pls, i'm getting the following error with my process chain.
    Error TEXT : *************** From HERE ***********
    WARNING 914 ***  EEWO0914W An internal error has occurred. Either the joblog or the job protocol for the following job does not exist:
    Job name: !1
    Job ID: !2.
    +++ EEWO1016I The Process Chain has been stopped:
    Error Text :  *************** Till HERE ***********
    What is process chain doing :  The process loads data from legacy (oracle db)  into ODS and then splits data into 2 cubes, with ODS activation, drop indexes, create indexes, delete PSA at proper places.  The PC is called from a maestro job (TWS Agent : Tivoli Work Scheduler agent).  The TWSA simply calls the PC with no processing at it's end.
    Fyi, When i look at the BW logs, the PC is a success (green), with all data loaded successfully.  In the last step of the PC, i'm creating a txt file (0 byte file) on the server. Even this file is created with correct time stamp (as per log).
    However the TWS reports back the above mentioned error.
    The last message, just before the error is :
    07/24/2010 17/46/37 RSM1                 797Start InfoPackage ZPAK_3XYD134H7BSESPB0MRTCGHNOE  
    For the past few loadings, this behaviour has been consistent.  Could anybody give some lead on this.
    Regards,
    Nagendra.

    Hi,
    Please implement the following two notes to your system:
    1460640 Correction: Synchronous run turns red during log refresh
    1396417 Correction: Status "Red" if request does not exist yet
    As the execution of the chain goes well on the backend, and the issue
    is only reported by the 3rd party program, please get in contact with
    the supplier of the TWS. Normally the external schedulers like uc4 using the
    rspc_api_chain_start to start the process chains, and the function
    module RSPC_API_CHAIN_GET_STATUS to receive the current status
    information about the corresponding runs.
    Thanks & Regards,
    Vipin

  • Process chain execution using program

    hi,
    i want to run process chain 10 times using a program.
    can any one tell me how to write a program in pc in order to run the chain 10 times.
    any example of running the process chin using program .any nice code will be really useful
    please suggest me.
    i will assign points

    Hi Venkat,
    Go to SE37 input CHAIN  F4 then you will get various function module that can be used for process chain.
    IN you program call the function module RSPC_CHAIN_EXECUTE_REMOTE pass the required parameters and exceute.
    Test throughly in DEV system before moving to PRD. I have not used this earlier.
    Hope this helps.
    PV

  • Raising an alert at the end of process chain execution

    Hello ,
      I have a requirement, where I have to raise an
    alert(not an e-mail) in Alert Server at the end of data loading process through a process chain.
    Is there solution for above requirement?.
    Regards
    MB

    Hi ,
    Thank you for taking time and answering my question.
    I have found a solution to raise the alert at the end of loading a target through process chain.
    Solution :
    There is no out of the box option to raise the alert from process chain.
    SAP has given a SALRT_CREATE_API function to raise the alert. We have used this function with "ABAP process type" in process chain to raise the alert.
    Madhukar

  • Suspending process chains execution

    Hi All,
    How do we suspend process chains running for a given period of time.
    We have some process chains scheduled to run daily and some only on weekends.
    Is there a way to suspend the process chains for sometime and then resume then. I do not want to unschedule them and reschedule them which is painful. Is there a simple way of suspending and resuming the process chains. Please clarify.
    Thanks
    Karen

    Hi just create a programm using RSPC_API_CHAIN_SCHEDULE FM and schedule process chain as per your requiremnt.
    or... use this way which is copied from this forum..
    Schedule process chain
                 Your problem can be solved by creating the factory calender ID mentioning only saturday and sunday in the tcode SCAL. Im not sure whether you will have access to this tcode. You can create it with the help of Basis team if you dont have authorization.
    Steps for creating factory calender ID mentioning sat and sunday only
    1. Goto SCAL Tcode
    2. Select Factory Calender and then click on change
    3. Click on create to create new factory calender id
    4. Give Factory Calender ID (EX : ZS) and give description
    5. Select Holiday calender ID
    6. Uncheck all days expect saturday and sunday.
    You can make use of this factory calender id in the process chain scheduling job.
    Steps:
    1. Open the start variant of the process chain
    2. Click on define scheduling details
    3. Select other period option from period values in the start variant of the process chain and define every 30 mins.
    4. Click on Restriction and Give the factory calender id (ZS) which you created in the scal so that the process chain can be executed only on saturday and sunday

  • Process Chain hangs on AND process

    Help Super gurus!
    I've tried several versions of a chain that loads multiple InfoPackages serially then multiple DTP in parallel using filtering from the PSA to a DSO. All load successfully. Then I have the DTPs all meet at an 'AND' process before processing should continue to a cube.
    The 'AND' process also shows green but it does not continue to the next process step. It just stops there, no more jobs running, no yellow, nothing. It thinks it's all done, everything after that is still blue.
    Why does it hang there and what can I do to get it to continue?
    Thanks,
    Al
    Points available.

    Hi,
    Not sure what is the root cause in your case.
    Try this. It may work. Normally this is done after a step turns red and no repeat is available.
    Method 1 (when it fails in a step/request)
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    How is it possible to restart a process chain at a failed step/request?
    Sometimes, it doesn't help to just set a request to green status in order to run the process chain from that step on to the end.
    You need to set the failed request/step to green in the database as well as you need to raise the event that will force the process chain to run to the end from the next request/step on.
    Therefore you need to open the messages of a failed step by right clicking on it and selecting 'display messages'.
    In the opened popup click on the tab 'Chain'.
    In a parallel session goto transaction se16 for table rspcprocesslog and display the entries with the following selections:
    1. copy the variant from the popup to the variante of table rspcprocesslog
    2. copy the instance from the popup to the instance of table rspcprocesslog
    3. copy the start date from the popup to the batchdate of table rspcprocesslog
    Press F8 to display the entries of table rspcprocesslog.
    Now open another session and goto transaction se37. Enter RSPC_PROCESS_FINISH as the name of the function module and run the fm in test mode.
    Now copy the entries of table rspcprocesslog to the input parameters of the function module like described as follows:
    1. rspcprocesslog-log_id -> i_logid
    2. rspcprocesslog-type -> i_type
    3. rspcprocesslog-variante -> i_variant
    4. rspcprocesslog-instance -> i_instance
    5. enter 'G' for parameter i_state (sets the status to green).
    Now press F8 to run the fm.
    Now the actual process will be set to green and the following process in the chain will be started and the chain can run to the end.
    Of course you can also set the state of a specific step in the chain to any other possible value like 'R' = ended with errors, 'F' = finished, 'X' = cancelled ....
    Check out the value help on field rspcprocesslog-state in transaction se16 for the possible values.
    Thanks,
    JituK

Maybe you are looking for

  • Help with Kernel Panic log

    I've been troubleshooting intermittent kernel panics that have been happening on my late 2013 27" iMac. I had upgraded the stock RAM with 32 GB of RAM from Crucial and in the past the only time I have had similar issues was because of faulty RAM. So

  • When I try to put a PNG watermark that I made myself into a "Picture in Picture" it just gives a black screen instead of the watermark

    My channel is partnered with TGN. And they gave me a watermark. When I put the TGN watermark in it's fine, but when i put my custom watermark in I get a black screen. Please help me. I am using Imovie 9.0.8 Macbook pro OS X 10.8.3

  • Cannot open prores 422 in AE or Premier CS5.5

    I have provided footage to colleagues in India. The footage is  ProRes 422 files. They work on PCs using windows 7. They say that they cannot get the clips to open in Aftereffects or Premiere 5.5. (Sorry I do not know the exact version of 5.5) I too

  • KM Document iView Vs URL iView

    Hi,   We have uploaded the content(publishing html pages and documents) to the KM folders. Now we have to proceed further by creating iViews.   We are in a confusion to select type of iView<b>(either KM Document iView or URL iView)</b> to create, whi

  • Sqlplus and asmcmd

    Ello What are the default connect strings used by sqlplus and asmcmd when connecting to asm instance ? Is it "/ as sysasm" for asmcmd and operating system authentication for sqlplus or operating system authentication for asmcmd and none for sqlplus ?