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

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

  • 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

  • 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

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

  • 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

  • Process Chain remote execution locks up (All Dialog Processes used up)

    Hi,
    We have the following task at hand. We kick in BW process chain execution via RFC from our R/3 system using the function described below. What happens is that the process chain does get kicked in the remote BW system, but it quickly locks up. System monitor  says that all dialog process have been utilized. So, basically it gets stuck in the beginning of the process chain. Is there anything I can do to prevent this from happening?
    Here is the function call:
    This function triggers execution of process chain
    (on the remote BW system)
      CALL FUNCTION 'RSPC_API_CHAIN_START' DESTINATION p_rdest
        EXPORTING
          i_chain             = p_pchain
      I_T_VARIABLES       =
          i_synchronous       = 'X'
      I_SIMULATE          =
      I_NOPLAN            =
        IMPORTING
          E_LOGID             = gv_pchain_logid
        EXCEPTIONS
         failed              = 1
         OTHERS              = 2
    Thank you,
    AG
    Message was edited by:
            AG

    How many work process did you configured in SOLMAN, what is the action that CSMUSER is busy with?
    I think CSMREG is a communicatino user to satellite agents and check the RZ21--> AGENT status.
    Regards
    SM

  • Process chain to trigger automatically after file arrives in AL11.

    Hi All,
    There is a text file(.txt) which comes from mainframes team every Sunday between 11 AM to 6 PM and gets placed in AL11 inbound directory following which we manually trigger a process chain which uses this file.
    The requirement is that this chain should trigger automatically after the file arrives in AL11 in BW.
    Is it necessary for the mainframe team to send another control file or some other file in addition to the text file to trigger this process chain..?
    Is there any other way the process chain can be triggered in BW without any changes required from the mainframe team.
    Additional information:
    Also I came to know that this can happen through some system command statements using SM49 we can schedule this chain.
    Else can some ABAP Program code be used to make this process automatic?
    Please help me.

    Hi,
    You can do the following, in your process chain change the start variant and make it event dependent. Now you can do the following,
    1) Create a table in SE11 which will have fields like Process chain name and execution date as primary fields. This table will be used further for checking purpose.
    2) Now create a ABAP program as shown in below given article, in this program in addition to raising an event you will have to read the file from app server.
    3) If program can read file from app server means you will raise an event and make entry in above table for preventing further execution of process chain. If program can't read file from app server then program will simply end without doing anything.
    4) Now you can schedule this program after every hour or 30 min. as per your requirement, the program will first check if the process chain execution entry exists in the above 'Z' table or not. If entry exists means the process chain has been already executed and the program will be terminated.
    5) You can use FM to read data from app server. You need to be careful while placing file on app server, because it has to be different naming convention or something else to identify that the current day file is available.
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a01cc44a-5aac-2d10-3eaa-a3bbf645d25c?QuickLink=index&overridelayout=true]
    Regards,
    Durgesh.

  • Incorrect data after activating the request through Process chain.

    Dear SDN chaps.
    Today morning. I encountered a strange issue in DSO..
    I have DSO which is updating from the AL11(application server) flat file.
    While i am loading it to PSA there were no issues and after loading it to the DSO there is no issue and its passing through the routine and the data is populating properly in NEW data Table .But after successful activation of  the request through process i am getting the wrong records in active data table.
    Then i deleted the request and reran it manually i mean triggered the DTP and ran the manual activation surprisingly accurate records are coming through manual process..
    I am just wondering why it is not working through process chain and why it is showing incorrect records through process chain execution and how it is showing accurate records through manual uploading process..'
    Could some one please help to come out from this..By the way mine is SAP BI 7 SP20 &SP05 for BW 7.01
    Thanks
    K M R
      

    Hi Pra
    Thanks for your response..
    We are doing PSA deletion and then we are uploading the data to PSA as well as DSO.
    Now the issue is not in the part of loading we are facing the issue in Actiation of request if i am executing the activation through process chain it is sucess but the values are incorrect. If i am doing the manual activation it sucess with correct data.
    Even i tried with a new chain but still i am facing the issue.
    Surprise thing is in new data table the data is perfect in both the ways like manual upate and Process chain update only during activation i am getting incorrect record in the active data table..
    Appreciate your help on this....
    Thanks
    K M R
    Edited by: K M R on Jul 9, 2010 11:09 AM

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

  • Error in process chain - AND

    Hi Experts,
    I am facing problem in process chain execution in the AND node. The error is
    This AND process is not waiting for event RSPROCESS, parameter 4941U4Q6QKIR8RFKMAZWYP5JB
    I checked the log in ST22 but there is nothing , also no error msg in display msg or maintain variant.
    is there any solution?

    Hi Soniya.....
    The problem is due to the successor process is not activated, again try to
    activate the process chain and schedule it.........
    As a work around.........if instance and variant is already generated........then continue the process chain using the program : RSPC_PROCESS_FINISH.......
    otherwise copy the rest of the chain and execute............To do this open the chain using RSPC1>> in the top where we write tcode.........there write COPY.........Give a name to the new chain.....remove all the processes till AND process...........then create a new Start process..........make the start condition as immediate..........and schedule the chain...
    Hope this helps......
    Regards,
    Debjani.......

  • How to Trigger an Alert from a Process Chain

    Hi BW-Experts,
    i have implementated a custom process type. Then i choose my alert and activate the process chain. After this i make a double click on my process type, there is always a standard alert deposited (RNIF_ALERTS), but not my alert. What is my error? Thanks!

    Hi,
    See if the discussion in the following threads help :
    Raising an alert at the end of process chain execution
    Emails from Process Chains :
    Email from process chain
    Cheers,
    Kedar

Maybe you are looking for

  • Can I encrypt a string with RSA encryption using DBMS_CRYPTO?

    We have an web application that does a redirect thru a database package to a 3rd party site. They would like us to encrypt the querystring that is passed using RSA encryption. The example that they've given us (below) uses the RSA cryptographic servi

  • Biztalk custom File Adapter

    Hi, Recently i have faced this below issue. please guide me if any one already faced similar issue. i am using Biztalk server 2013 "Could not stop the BizTalk Service BizTalk Group : BizTalkServerApplication  service on Local Computer.  Error 1053: T

  • Dynamic code instrumentation with AspectJ...is it possible ?

    Hi All, Im trying to build a GUI that will allow me to instrument an application using aspectJ. What i would like to ideally do is to upload a .java file and an associated aspect and to be able to run this in my GUI, observing the results.. Any ideas

  • Default redo log 100mb???????

    hi all my database is runing in archive mode (database oracle 9i rel 2) when i issue SQL> SELECT * FROM V$LOG; GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM 1 1 59 104857600 1 NO CURRENT 3519698 20-FEB-04 2 1 57 104857600

  • SD (quote) Adobe Forms Missing

    Hello, We have a need to issue output from SD Quote and would like to use Adobe forms for this. However, I can not find any interface or form related to SD quotes or orders. Is there a patch we need to load? If not, what is the names for such forms.