How to Delay an Event in a Process Chain

Hey,
We have a scenario in which we need to schedule a process chain in such a way that,the main chain contains the DSO load and the local chains contains the Cube load (One for NA and other for EU).
I want to schedule it in such a way that two local chains of the main chain should be triggered at different times.

hi...
I think its getting pretty complex....instead of writing programs..use simle metachain thing which will solve your issue with simple process chain design.
You have :
Main Chain
{Dso load
Local Chain A(Eu) Local Chain B(Na)
Now what you want is on the first run the main chain should trigger and only Local Chain A trigger.
While on second run
Main chain + Local chain B trigger.
the simplest soultion
Create 2 Metachains like below:
PC1.
Main Chain X
{Dso Load
Local Chain A(Eu)
PC2.
Main chain Y
{Dso Load
Local Chain B(Na)
Now create metachain to combine
Main Chain
{PC1
PC2
So PC2 will start only when the PC1 has finished.
Let me know if it is feasible for you.
Regards,
RK

Similar Messages

  • Trigger a job using an event through a process chain

    Hi,
    After the success of 5metachain, I am using AND condition
    My requirement is as follows, it should trigger a job which needs to be after AND condition,
    I have created an event using sm64. Basically the client wants to trigger the job using the event through the process chain. I have tried test scenariou2019s using ABAP program (Process type) in the process chain but it is failing. Is there any other way to trigger a job using an event through a process chain? If ABAP program is the only option, can you please specify what all needs to be filled in the variant?
    Regards.
    Jerry

    Hi,
    Create a program like below,
    CALL FUNCTION 'BP_EVENT_RAISE'
      EXPORTING
        EVENTID = 'EVENT WHICH YOU HAVE CREATED'
    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.
    search and include the program name which you have created above in the "ABAP program" process type which you are going to include in the process chain.
    Include the event which you have created in the start condition of the job.
    Note: No need of give any variant, because here we are calling only one function in this program.
    Regards,
    Sridevi.

  • How to identify who ran the last process chain?

    Hi all,
    How to identify, who ran the last process chain for a PROCESS CHAIN NAME xyz in the production system?
    Thanks

    Hello,
    Go To RSPC1 give your process chain name (Go to  LOG View ) there  you will get Date selectin screen (give This Month and last Month or as per your reqirement) there you can see who ran the process chain with ID.
    Regards,
    Edited by: Subbu_Amar on Oct 13, 2010 5:01 AM

  • How can you configure mail settings in process chains?

    HI Experts,
    please let me know how can you configure mail settings in process chains?

    Dear Suman,
    To initiate the mails we first need to have SMTP connection. To check the same go to so00 and try sending mails to ur ID. If is successful it states that u have the SMTP access.
    To create mails to Process chains:
    Right Click on the Process varient select the Create Message in the context menu.
    Select the type of mail i.e for successful, Error, Anyways.
    Then follow the screens.
    Note: The recipient type should be Via Internet.
    Hope this helps u.
    Regards,
    Kishore.Pulla

  • How do we raise an event to trigger process chain in BI

    Hi Guru's,
    I am having Oracle tables as one of my source systems, I developed the code using DBConnect.
    Now i need to run my Process chain when ever table get data from downstream systems.
    how do we raise an event to trigger the process chain in BI WHEN EVER ORACLE TABLE GET DATA?
    Thanks in Advance,
    Edited by: Naveen Kumar Kencha on Apr 2, 2008 11:21 PM
    Edited by: Naveen Kumar Kencha on Apr 2, 2008 11:27 PM
    Edited by: Naveen Kumar Kencha on Apr 2, 2008 11:27 PM

    Hi Naveen,
    i think we use ABAP program under general services to generate an event.
    searching form gave me following threads which might be helpfull
    1) explains Evenet generation [Event raising procedure]
    other helpfull threads
    [Standard tools for Event raising]
    [Event in Process Chain]
    i could get the process for triggering it weekly,,,it may giv u some help in resolving
    change the Start Process (1st process) in your Process Chain to trigger it to start after the event. To do this, maintain the Start Process of your Process Chain. Select "Direct Scheduling" and click the "Change Selections" icon. This will bring up a Start Time window. Click the "After Event" icon and enter your event name. Also, click the "Periodic Job" (this will insure that all the jobs created for each process in the Process Chain will reschedule themselves after executing the first time). Now save the Start Process, and reactivate and schedule the Process Chain.
    To execute the Process Chain, use transaction SM64 to trigger the event.
    If you want to trigger the event in batch, you will need to create an ABAP program that calls function module BP_EVENT_RAISE (sample ABAP code is available in this forum if you search for "BP_EVENT_RAISE").
    We create batch jobs where we call an external program called SAPEVT, located on the server, and I believe is available on all SAP clients, with the following parameter:
    EVTID('WEEKLY_PROCESS') SID(PU3) NUMBER(00) EVTPARM()
    This will trigger the event WEEKLY_PROCESS.
    See if this helps.
    regards,
    NR

  • How to include Events Concept in Process Chain and how to trigger it

    Hi
    I have Three Process Chains PC1, PC2, PC3 .
    I want to trigger there Process Chains by Events .
    I want PC1 needs to run every day 7:00am . And once it is finished then PC2 needs to start . And once PC2 is finsihed then PC3 needs to execute .
    So please give me step by step process for Process for implementing the Events in this model and give me the steps to include Events concept in my model .
    Thanks Alot
    Regards
    rizwan

    Hi,
    You can do this without event also. Schedule PC1 first and then have PC2 as local to your PC1 and PC3 as local to PC2. In that way, as soon as PC1 is done it will trigger PC2 and as soon as PC2 is done it will in turn trigger PC3.
    If you want it through an event, first create event in SM62 and you can trigger this event in SM64. Then for the PC1 in start variant, click on select conditions, select After Event and give this event name. Now again its better & efficient to trigger this even automatically, for which you need to write an ABAP program in SE38 and define a variant there. This ABAP program can be scheduled as a background job in SM36, click on Click on step on top. Give program name and variant.Click save.Next click on Start Condition and schedule is as your require it to run. So this background job starts automatically and runs your ABAP program which in turn will trigger your event and PC's will get triggered.
    For both the approaches, you have to have PC2 & PC3 as Local chains as I explained above.
    Guru

  • EVENT RAISE IN PROCESS CHAIN

    Hi mates,
    How to Raise events in process chain, for example i want to raise a event like ( Data loaded in ODS) after ODS is loaded.
    thanks

    Hi,
    Look at the threads below. There are very good discussions on this topic :
    Re: Process Chains Events
    events and process chains
    Query on using EVENTS in process chains.
    Cheers,
    Kedar

  • How can I insert the RSCRM_BAPI into Process chain?

    Dear all:
    Now I Use RSCRM_BAPI(RSCRM_REPORT) ,excute a query , Get the result in a table, I use this table as a datasource,and then next steps,upload data. all of this runs well.
    But  I want inset this process into a process chain. now I don't know how to do it.
    who can help me?

    Hi,
    Now I'm using RSCRM_BAPI in Process chains..
    1. I set the report name RSCRM_BAPI  and then in schedule I select EVENT there I given Event is
    'ZE_GR' and parameter is  'ZEP_GR'. and then I created a program and there I given Event and Parameter. And then I inserted this program in Process chain. And I scheduled the Process chain.
    You need to create the event in SM62
    REPORT  ZE_GR_RP.
    DATA: EVENTID LIKE TBTCJOB-EVENTID.
    DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
    EVENTID = 'ZE_GR'.
    EVENTPARM = 'ZEP_GR'.
    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
    Edited by: Surendra Reddy on Dec 2, 2008 5:09 AM

  • Raise event from within process chain

    Is there some way to easily raise an event from within a process chain?  The only way I know to do this is to run an ABAP program that raises the event.

    Hi Shashank,
    sorry for the delay: I didn't notice your question. Try this way.
    1 - define ABAP Report Z_EVENT_RAISER (see sample code below)
    2 - define a variant for this Report (Event Name mandatory)
    3 - Call ABAP Report Z_EVENT_RAISER from within your Proces Chain.
    This should work
    Hope it helps
    GFV
    *====================================================
    *& Report  Z_EVENT_RAISER                                              *
    REPORT  Z_EVENT_RAISER                          .
    selection-screen begin of block parametri with frame.
    parameters:
      EVENT like BTCH1250-EVENTID obligatory,
      PARAM like BTCH1250-PARAMETER.
    selection-screen skip.
    selection-screen end of block parametri.
    CALL FUNCTION 'BP_EVENT_RAISE'
      EXPORTING
        eventid                      = EVENT
        EVENTPARM                    = PARAM
      TARGET_INSTANCE              = ' '
    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.
    *====================================================

  • How to see the installed BI content process chain?

    Hi Expert,
    I've installed a BI content process chain, called 0TCT_MD_C_FULL_P01, but I can not see it in tcode RSPC, also can not use it. Can you tell how to make it available in RSPC?
    Thanks a lot.
    Happy.Bear

    Hi,Check in RSPC under "Not Assigned"
    And also chcek in Tables related to PCs,
    RSEVENTCHAIN Event Chain Processing Event Table
    RSEVENTHEAD Header for the event chain
    RSEVENTHEADT Header for the event chain
    RSPCCHAIN Process chain details
    RSPCCHAINATTR Attributes for a Process Chain
    RSPCCHAINEVENTS Multiple Events with Process Chains
    RSPCCHAINT Texts for Chain
    RSPCCOMMANDLOG System Command Execution Logs (Process Chains)
    RSPCLOGCHAIN Cross-Table Log ID / Chain ID
    RSPCLOGS Application Logs for the Process Chains
    RSPCPROCESSLOG Logs for the Chain Runs
    RSPCRUNVARIABLES Variables for Process Chains for Runtime
    RSPC_MONITOR Monitor individual process chains
    Thanks
    Reddy

  • How to delete  old schedule time of process chain after changing

    I am try to change the schedule time of process chain on production but after changed the old schedule is still working (i.e. every day on 7 am I want change it to 6 am only) ,one process scheduled two time.
    I want only last changed. How to remove the older one?
    Thanks

    hmm wierd...one more thing check if this process chain get trigger by anyother process chain by some abap program or any.
    Check the table rspcchain to know if it has any meta chain or not. IF not follow the below steps :
    make your process chain trigger based upon the event. Follow the below step.
    1.SM64 ---> Create event -
    > come to your process chain -> maintain the start variant -> event base---> give that event name here.Now we will be require to create the job which will trigger this event for  this.
    2.Let us take the below PC as example;
    ZL_TD_HCM_004 -- This PC is running after event u2018START_ZL_TD_HCM_004u2019
    3.Go to T Code: SM36 Here we define the Background job which will be available in SM37 after saving it.
    4.It will ask for ABAP Program to be entered. Give it as Z_START_BI_EVENT and Select Variant from the list. (Based on Process chain, you can select it)
    5.Then select Start Conditions and give the start time of process chain. and select periodicity.
    6.Save the newly created job in SM36.It will be now available in SM37.
    This should solve your problem now .. have  fingure crossed
    Thanks,
    Deepak
    Edited by: Deepak Machal on Dec 14, 2011 8:20 AM

  • How to delete InfoCube data in a Process Chain with restictions?

    Hi Friends!
    My process chain is a full update in the cube 
    I need delete the data everyday except  the last day in the month.
    How can I do this in 7.0 release?
    Thanks!

    Hi,
    Please use the option Delete of overlapp requests process type
    Take the following conditions as :
    1) Only delete request from same DTP
    3) Only Full DTP
    3) Only Delete DTP requests from same souce
    Selections are
    Overlapping
    Request date
    Is in the current month
    based on the month
    Hope this helps out
    Thanks
    PT
    Edited by: PT on Feb 23, 2010 7:18 PM

  • How to delete the error stack in process chain?

    Hi all,
    we just want to do the following:
    - we are loading in FULL daily to our datatarget (data is versionized by 0calday)
    - we want to use the error-stack in order to analyze wrong data
    --> but we now encounter the problem that, if data has once been added to the error stack and has not been handled yet, all data from the next daily load will be sorted out as records with this key do already exist in the error-stack. But that's exactly what we want to avoid.
    with other words: how can we delete the records in the error stack by a report by e.g. using this in a process chain?
    Thanks in advance,
    Best regards,
    bivision
    Edited by: bivision2009 on Jul 6, 2010 12:25 PM

    Dbl click that DTP.... From menu... Extras -> Setting for Error Stack
    Here U can see error stack table name /BIC/B0001234000.
    Using SE38, create simple program "Delete from /BIC/B0001234000"
    In the process chain, add process type "ABAP Program" to add above deletion statement.

  • HOW TO VIEW DATA IN LOG VIEW - PROCESS CHAIN?

    HAI FRIENDS,
    I SIMULTANEOUSLY LOADED DATA INTO ODS AND INFOCUBE....I USED THE PROCESS CHAIN TO LOAD DATA.. BUT AFTER ACTIVATING, I COULD N'T VIEW THE DATA IN THE LOG.AFTER THAT I FOUND OUT DATA IS NOT LOADED INTO THE ODS ..SO I ACTIVATED IT AGAIN.. DID THE PROCESS CHAIN ACTIVATE.. EVEN AFTER THAT I COULD NOT VIEW DATA IN LOG VIEW AND ALSO WHEN I CLICK ON LOAD DATA PROCESS(ODS) NO DATA IS FOUND.. PLS HELP OUT
    WITH REGARDS
    APPU

    Hi,
    Go to the manage screen for that ODS. See teh relevent request and find how many records were transferred and how many added.
    If it is zero added records, then check for any rules.
    Arun
    Assign pts if useful

  • How to include an ABAP program in process Chain

    Hello Gurus,
    I have a situation where I have to go to SE38 and run an ABAP program which fills the active table of ODS2 by taking data from another ODS1.The data from ODS2 is again fed to another ODS3. So my question now is how do I create a process chain which takes care of this scenario.Especially include ABAP program in the process chain.Looking forward to your replies.
    Regards,
    Kalyan

    hi,
    take a look 'how to' ABAP in process chain
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7

Maybe you are looking for

  • XCode won't load more than one application at a time on my iTouch?

    I got the latest SDK, installed the latest firmware, re-generated the provisioning profile. Really, everything works exactly as expected, and xCode installs my application normally, but if I, say, try to install two different sample projects, HelloWo

  • How to create backup dvd of Mac osx

    Hi, i wanna backup my original dvd of mac osx but when i try with toast i see the disc is more then 5 gb. There's another way to backup these dvd ? Thx in advance

  • Help: PL/SQL passing paramter to ORDER BY clause

    I am working on a procedure that using a parameter to pass sorting order. If there parameter, say p_order which is varchar2, can I just use the it directly passing the field name to the order by clause? What I really want to know is that do I have to

  • Title Tools crash on Mac

    Can anyone help me with this? I've been trying to get the Titler applet in Premiere Pro CS5 to work, but no matter what I do it just gives me the beachball of death upon trying to spawn a new title. I did practically everything from removing duplicat

  • Link to photoshop CS5 extended student and teacher

    I could not find the link to download the Photoshop CS5 Extended student and teacher version. I have boght this version a couple of years ago, and have to reinstall this on my computer due to crash on my SSD