Setting of one process chain triggering by other?

Hi Friends,
we are having two process chains, PC1 and PC2.
Daily PC1 triggers PC2.
But i want to know where this setting is done in the system (PC1 triggers PC2)
Can any one please tell me?
Thanks..in advance
Tony

There are several ways to trigger the process chain from the another process chain.
<u><b>Start variant</b></u>,
Maintain the same start variant for all the process chain which u want to be trigerred by dependence, ie on executing the one prcess chain from group, all will be triggered.
<u><b>Local process chain:</b></u>
Insert the (secound) child process chain in a (first )parent chain. by this when u execute the parent process chain the child will be triggered.
<u><b>Event:</b></u>
For all process chain there will be event name. U can write code with this event as a reference so that completion of one process chain will triger  the secound.
More.........

Similar Messages

  • Process Chain Triggered automatically when transported to test system

    Hi All,
    We modified several process chain and transported the process chain to Test system.
    Few Process chain triggered automatically as the varient was set to immediate in development system.
    Now we want to move the process chain to production. Do we need
    1. new transport request with the variant to future date and discard the transport request which created issues
    2. New transport request with the variant to future date and transport the new along with the old transport to production system
    3. Change the start date in Test system and transport the same request to production
    Kindly advice me on the action to be taken.

    >
    > Hi All,
    >
    > We modified several process chain and transported the process chain to Test system.
    > Few Process chain triggered automatically as the varient was set to immediate in development system.
    > Now we want to move the process chain to production. Do we need
    >
    > 1. new transport request with the variant to future date and discard the transport request which created issues
    > 2. New transport request with the variant to future date and transport the new along with the old transport to production system
    > 3. Change the start date in Test system and transport the same request to production
    >
    > Kindly advice me on the action to be taken.
    Regarding 2: When the old transport is imported into production the start will be set to immediately and the process chain will execute. You should not use this option.
    Regarding 3: Changing in Test system will not affect the content of the transport, it will still be the same as released from Dev.
    We have avoided this annoying problem with process chains being executed when transports are imported by creating a "parent" process chain that simply triggers the process chain in question. This "parent" chain should not be transported. You then set the start option for the original process chain to "start by API/Event" then you can transport the original process chain whenever you want without any risk of the process chain being executed.
    Regards,
    Lars

  • Stopping one process chain when another is running

    Hi All,
    We have two process chains which are inter dependent.
    One process chain has to be scheduled hourly & another daily.
    I would like to know the way to stop the hourly running process chain when the daily process chain is running.
    & the daily process chain run time will be varying like 1-2 hours.
    Please help me to solve this problem
    REDDY

    Hi,
    You can do it.
    1.Create one Table with Flag (Values 0 or 1), and give Table maintaince also in SM30.
    2.Craeate one program to check the Table Flag = 0 or 1. If it is 0 then trigger Event then that event will trigger Hourly Process Chain. You need to schedule this Program Hourly. (Your Hourly PC wil work based on Events)
    3. Craete Daily Process Chain, once it will start it will update teh Flag =1 then once it will reach the last node it will turn the flag = 0.
    Start
        |
    Update Flag = 1 in table (Program)
        |
    Load data
        |
    Update Flag = 0 in table (Program)
    4. So every hour your program will run (in Step 2), it will check table Entry and trigger Event.
    The code is like below
    Report1.
    IF Flag = 0 Then
    *Raise Event
    DATA: EVENTID LIKE TBTCJOB-EVENTID.
    DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
          EVENTID = 'ZEVENT1'.
          EVENTPARM = 'ZEVENTPARAM'.
      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.
    ELSE
    Exit
    endif
    Note: It will Work try it. Don't forget to give SE30 access to table, because some time if you want to maintain Flag value manually, you required it.
    Thanks
    Reddy
    Edited by: Surendra Reddy on Mar 9, 2009 11:09 AM

  • One Process Chain but different schedule.

    Hi Experts:
    I have this issue. I need to run one process chain in different schedule. For example:
    From days 28 to 5 of each month I need to run every hour.
    From days 6 to 27 of each month I need to run every four hour.
    I have BW 3.5
    Do you have any idea How I could do that?.
    Thanks in advanced.
    Message was edited by:
            Víctor Olivera

    Hi,
    maintain variant>change selections>after at operation mode if you further check the double arrow button it will leads you to workday/time screen
    check if it works for you coz' it has following option"Do not execute before"
    cheers,
    Swapna.G

  • How to check the status of other process chain from one process chain

    Hi All
    I have a requirement where I need to send an Email after successful completion of 3 process chains.
    all these 3 chains starts at same time.Out of these 3, one chain daily takes more time to complete.
    Is there any way so that in 3rd chain( the one that takes more time to complete) i can check whether the other two chains have completed successfully or not.So that when this chain gets complete I can send the success notification for all the three chains.
    If possible please tell me the step by step procedure for doing this.
    I have no question on sending Email through process chain.
    Regards
    Ashish

    Hi
    The OS Command is used for the following:
    You use this process type to stop a system command in the operating system of an application server.
    In the process maintenance for the operating system command, define:
    The logical name of the operating system command you want to stop.
    A command defined in transaction SM49 is used here. You can also change the command using the Change pushbutton.
    The operating system of the application server on which you want to execute the command.
    Additional parameters, as long as the defined command permits them.
    The application server on which the command is to be executed. If you always want to use the current host, set the corresponding indicator. If you want to use a host other than the current one, enter this in the Target Host field; the system automatically deselects the Current Host.
    After the run, you can find the standard text output by the command on the Process tab page of the log for this process.
    For processes you may have implemented yourself, you can access this log using the CL_RSPC_SYSTEMCOMMAND=>IF_RSPC_GET_LOG~GET_LOG method.
    I have never used the OS command myself, so I am not sure, whether it can be used in your case.
    Check the following link, it might help,
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/096d5a543b11d1898e0000e8322d00/frameset.htm
    Regards
    Shilpa

  • Process Chain - triggering sub chains at set time interval

    Hi all,
    Scenario:
    I want to setup multiple process chains during the day (hourly intervals).  I would like to have a main chain which would then trigger subsequent chains.  the problem is that when i tried to setup the sub-chains to run at say, 10am. 11am etc, they don't fire off at those specified times (because they are part of the meta chain?).  I currently have the individual chains running independently (i.e. first chain at 10am, 2nd chain at 11am...) - but i need to be able to stop the 2nd chain from running if there is a problem on the 1st chain (which is why i want to run them as part of a Meta chain).
    Hope this makes sense - and any help/assistance is much appreciated!  Thanks
    M.

    Do you know how long 1st PC will run ? will it finish before 11 am ?
    If so,  try following proess
    Add Abap Program process(under General Services) to the end of the 1st PC  and use program BTC_EVENT_RAISE and Enter Program variant = event  and activate the PC
    Now go to 2nd PC and schedule at 11 am periodically
    Add another step Interrupt Process (u can find under General Services ) just after start process and enter event and schedule the pc
    When 1st Pc completes sucessfully it will activate the event to trigger 2nd PC , though the event is activated the 2nd pc will start at 11am
    Hope it's clear!

  • Very Urgent-Pls help*Process chain triggered automatically when transported

    Hi All,
    We have got some issue.
    We have a Process chain, started set to immediate becuase its used in meta chain.
    When ever we transport the Chain, its getting triggerred in the Target Client automatically.
    We can prevent this, by keeping the process chain starter as "Event Based". But, as its a local process chain, it must be set to Immediate.
    Please help.
    Cheers,
    Nisha

    Hi Siggi,
    Thanks for this reply.
    Scheduling the Local chain to run in future and then changing it after import, i think, is a work around.
    Iam sure, there must be some thing to stop this trigger.
    And, We have tried Changing the Chains to run Via Meta chain, but, the problem is after the Transport, the local chain can't be triggered on its own using "immediatly". If we try to change it, it'll prompt for a Transport.
    Please help.
    Cheers,
    Nisha

  • Process Chain Triggers Multiple times

    Hi All,
    I have Meta process chain say ZAAA  which has multiple Local Chains example ZBBB , ZCCC and ZDDD. .This Local chain ZCCC trigger multiple times of  in one day . we had a issues today  with deactivation of Transformations and DTP in different levels because of that Local Process chain ZCCC is failed along with other process chains . when I reach to ZCCC started by repeat or repair ,before Local Chain ZCCC finished whole process ,ZCCC triggers second time .
    Now first times  triggered process chain ZCCC is in  yellow , and second time triggered process chain ZCCC gone through all the way to gree ,  and Meta chain showes red.
    what I have do make Meta chain green.
    Regards
    Hari

    Hi Hari,
    I wonder what you mean by below statement:
    one of the sub pc still yellow first time trigger and went to red and second time trigger whole process is green. all Sub PC are green
    For the sub pc mentioned above, you trigger it all over again? Or you repeat/repair the step failed?
    If you trigger it the second times all over again it is a new run and the first run remain fail,ed so the meta chain will never get green, if you want to make the meta chain green, you need to repeat/repair the step failed in first run.
    Regards
    Bill

  • To set delay in process chain using a program

    Hi all,
    We have a requirement in which the loads from nearly 15 sources (DSO) gets loaded into the Cube thro 15 process chains. The source gets loaded from the PI interface. So it might happen that simultaneously 10 loads will be started and reach the cube.
    In the cube we have delete overlapping request, so its gives a deadlock when the chains try to delete the prev. request at the same time.
    What we have planned is if we can write a program that will set a delay depending on the lock entries present for that particular cube. But still we are not sure how far this will help.
    If anyone has faced a similar issue or can anyone suggest on this would be much appreciated.
    Thanks
    Merlin

    I believe in each of your 15 local chains you have the load to Cube process.Why dont you take the load to the Cube out of the local chains and in the meta chain you could sequence the loads from the 15 ODSs so that you can have a parallel processing upto the ODSs ( assuming the rest of the local chain is used to fetch from R3 ) and then sequential to Cube.
    I dont think writing a program will help much here.

  • Process chain triggered twice

    I have a triggeed a process chain twice.
    The flow of the process chain is like this:
    from PSA to ODS full load----
    from ODS to Cube delta load.
    There is selection criteria at infopackage to ODS with createdon.. ie for ex: if we run today, the from date is sy-datum-2 and to-date is sy-datum. We ran the process chain twice on the same day and the selection is same for the full load to ODS.
    Please suggest is there any impact of  this.
    Req

    Hi Swaroop,
    Are you using the BI7.0 flow or BW3.x data flow?
    What is the time duration in which the PC is triggered 2dn time?
    How many times the PC runs in your system per day?
    loading data till DSO with full load will not cause any issue as the DSo will over write the records, comming to delta load from DSO to IC -- first time the delta records will be updated and the next run if at all if there are any delta records then those records will be uploaded or else it will transfer 0 records.
    I don;t thik there is any problem in your case.
    Regards
    KP

  • Canceled Status in Job Detail, Process Chain triggering w/event

    Hi All,
    I have created event, PC and trigger event with SM64 or with ABAP, everything is ok
    if I activate and Schedule PC, I see BI_PROCESS_TRIGGER job with released status, and when I trigger the event nothing  is happened but when I checked the Job detail I see canceled status job.
    I donu2019t understand why this problem occurs ?
    I can trigger the event but before event trigger the PC, scheduled job detail directly turn to the chancel status.
    if any one give me a clue to solve this problem I will appreciate
    Note : No Job log !!!
    Thanks
    Ali

    Ali,
    Check authorizations.
    Try to run process chain with out event(immediate) and check.
    Srini

  • Single Process chain triggers with two different users

    Hello all,
    I have process chain which is  triggering two times with R/3 user at 7 PM and same process chain with 9 PM by BW user. but in rspc i have given only with BW user.
    how second R/3 Chain is triggering?
    R/3 to PSA Full load daily. BI System.
    Thanks,
    Ranga

    Are you using an event to trigger this process chain?
    If yes then check in R/3, whether you are triggering that event in R/3.

  • Process Chain triggers Automatically after the Transport

    Hello There,
    I have a Process chain setup to load Transaction Data and the infopackets are set to "Immediate Start"..
    When I transport these to Test environment, they are getting executed immediately after the transport..
    Just wondering ,, this is what it intended to do.. because I don't want to run them after the transport.. is it something I am missing anything here ??
    Your comments are much appreciated..
    Thanks
    Mavi

    Mavi,
    Once you click delete and save. The schedule is deleted. You could view via Maintain Start Variant -> Direct Scheduling button.
    You will noticed that there is nothing schedule i.e. all tabs (immediate, specific datetime, etc) are not scheduled.
    Answering to your question on modifiable in Test and Production box :
    All you have to do is go to RSA1 -> Transport Connection -> Object Changeability -> Change the Process Chain objects to Changeable -> Save.
    And you are done i.e. you could change the scheduling of the RSPC in Test and Production.
    Remember to assign the point to the solution provided...:-)
    Thanks.
    Regards,
    Lye

  • Set time for process chain

    Hi,
    I have requirement to set maximum time to run the process chain.
    For example:
    Process chain is starting daily at 10 PM and taking time 1hr 30 min to complete process. Some times it is taking 2-3 hours to complete process.
    So I need to set max. time 2 hours to complete process chain. If not completed with in 2 hours (before 12PM), then the process chain should be cancelled.
    Please help me in this regard.
    Thanks,
    Hari

    Hi,
    you can set the varaiant and schedule the max time in the variant for process chain.For the scheduled jobs in SM37, pls chk this link;
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a8009505211d189550000e829fbbd/content.htm
    Hope this helps,
    Regards
    CSM Reddy

  • How to run multiple packages in one process chain

    Hi,
    we want to run a script logic with badi, followed by a standard move function. The BADI will perform a check and generate an error. If no error occurs, the move can continue ...
    We created our own process chain, which is in fact the combination of a script logic and a move. The data package has underlaying syntax.
    Problem is that the data package does not trigger the process chain ... Nothing happens when running it. When checking the status, nothing gets in here ... We assigned the correct process chain and get message a postivie message when running the package... Is this not possible?
    PROMPT(COPYMOVEINPUT,%SELECTION%,%TOSELECTION%,"Selecteer de gegevens waarvoor een omboeking dient te gebeuren","%CATEGORY_DIM%,%ENTITY_DIM%,PRODUCTIEHUIS,PRODUCTIEWIJZE,NET,KWADRANT")
    INFO(%TEMPNO1%,%INCREASENO%)
    INFO(%ACTNO%,%INCREASENO%)
    INFO(%EQU%,=)
    INFO(%TAB%,;)
    TASK(ZBPC_RUN_LOGIC,TAB,%TAB%)
    TASK(ZBPC_RUN_LOGIC,EQU,%EQU%)
    TASK(ZBPC_RUN_LOGIC,SUSER,%USER%)
    TASK(ZBPC_RUN_LOGIC,SAPPSET,%APPSET%)
    TASK(ZBPC_RUN_LOGIC,SAPP,%APP%)
    TASK(ZBPC_RUN_LOGIC,SELECTION,%SELECTION%)
    TASK(ZBPC_RUN_LOGIC,LOGICFILENAME,STOCK.LGF)
    TASK(/CPMB/CM_CONVERT,OUTPUTNO,%TEMPNO1%)
    TASK(/CPMB/CM_CONVERT,ACT_FILE_NO,%ACTNO%)
    TASK(/CPMB/CM_CONVERT,SAPPSET,%APPSET%)
    TASK(/CPMB/CM_CONVERT,SAPP,%APP%)
    TASK(/CPMB/CM_CONVERT,SELECTION,%SELECTION%)
    TASK(/CPMB/CM_CONVERT,TOSELECTION,%TOSELECTION%)
    TASK(/CPMB/CM_CONVERT,CLEARDATA,0)
    TASK(/CPMB/CLEAR_SOURCE_CUBE,CHECKLCK,1)
    TASK(/CPMB/CLEAR_SOURCE_CUBE,SELECTION,%TOSELECTION%)
    TASK(/CPMB/APPEND_LOAD,INPUTNO,%TEMPNO1%)
    TASK(/CPMB/APPEND_LOAD,ACT_FILE_NO,%ACTNO%)
    TASK(/CPMB/APPEND_LOAD,RUNLOGIC,%RUNLOGIC%)
    TASK(/CPMB/APPEND_LOAD,CHECKLCK,1)
    TASK(/CPMB/APPEND_LOAD,CLEARDATA,0)
    TASK(/CPMB/CLEAR_CUBE,CHECKLCK,1)
    TASK(/CPMB/CLEAR_CUBE,ACT_FILE_NO,%ACTNO%)
    TASK(/CPMB/CLEAR_CUBE,SELECTION,%SELECTION%)

    Hi Sheldon,
    we never have issues when we combine standard objects, like a cliear with a load inforprovider, or the master data integration you mentioned in your document. However, from the moment we combine a script logic with a standard package (like a move) it does not work .The data package contains the task needed for the script and for the move. the process chain is called up but always comes in error in the first step (BPC modify dynamically ) ... there is also no log when checking the view status ...
    I can sent you some screenshots if you like ...
    D

Maybe you are looking for

  • Continued problems with Adobe Reader 9.3.1

    Adobe Reader stops at the half-way mark in the progress block when loading a form to print.  Cannot get this fixed. Does anyone out there have a fix for this.  Is Adobe even recognizing that there is a problem with this.  Error message keeps telling

  • Sleep, Passwords, and Scheduled Backups

    Okay, I have a question that I've yet to find an answer to (and I've looked high and low). I would think it would be a common issue, but perhaps not. I downloaded Deja Vu a few days ago to schedule backups for my computer. Ideally I'd like them to ru

  • Where can i download  JDeveloper 9.0.3.8 OA Extension version

    Hi, I googled in metalink but i didn't get any download link relates the OA extension version of Jdeveloper 9.0.3.8. Please tell me where can i download this. Thanks in Advance, SAN

  • Mail invoice/statement to the customer

    Hi gurus i would like to know how we set up in R11 so that the system can automatically sent invoices/statements to the customers,i tried the function of making the customer site a statement site,and setting the statement cycle but when i test it,i g

  • Timesheet Error with custom Line Classifications in Project Server 2013

    We implemented Project Server 2013 last year and began using timesheets.  We are a billable consulting group.  In order manage our billing, we have created three custom line classifications, "Billable Onsite", "Billable Offsite", and "Non-billable".