Trigger a process chain(PC) after successfull completion of two other PCs

Hi All,
My requirement is to trigger a Process Chain only after successfull completion of two other process chain which are already scheduled to run at different times.
Please tell me how to achieve this into SAP-BW 3.5
Thanks
Jharna

Hi
It is very simple, I'm doing the same.
Insert Remote Process Chain at the end of the actual process chain and call the other process chain, here you need to give source , destination and process chain name in Remote process chain.
try it, it will work.
Thanks
Reddy

Similar Messages

  • How to trigger a process chain after R 3 job

    Hi All,
    We have a requirement to trigger a process chain immediately after the completion of R 3 job.
    could you please give me your input in this regard.
    rama

    Try to Search first.  This has been discussed a lot in this forum.
    Try these:
    Triggering a Process Chain From R/3 pgm
    There is even an OSS Note on how to do this:
    Trigger process chain using event

  • R3 job completion trigger a process chain to run on BW

    Hello,
    I was wondering how I can trigger a process chain to run on BW 3.5 after a SM37 job completes on R3?
    I have been searching the forums and the web, but I haven't found what I am looking for.
    Thanks,
    Nick

    Hello Pramod,
    I would need a more detailed suggestion to implement, but thanks for starting the discussion.
    I thought it would be as easy as this
    1. Create an event in BW
    2. Have a process chain that starts when that event is raised.
    Having implemented and successfully tested steps 1 and 2, the rest should be simple (I was able to raise the event on BW locally and the chain did run as expected)
    3. On R3, create a small ABAP program that calls the BP_EVENT_RAISED Function Module on R3.
    4. Pass that Function Module the following parameters
            A. My BW system name, and
            B. The event name that I created on my BW system
    5. Add that ABAP program to the end of the job on R3.
    It doesn't work though! The event i created on BW, doesn't seem to exist from R3's perspective.  I was hoping it was as easy as that.  Hopefully I am missing something simple, but so far R3 does not want to cause the event on BW to be raised.
    Thanks,
    Nick
    Edited by: Nick Bertz on Oct 13, 2008 12:19 PM
    Edited by: Nick Bertz on Oct 13, 2008 12:23 PM

  • How to Trigger a Process Chain through ABAP Program

    Hi
    I have a Requirement to trigger a process Chain on 1st, 2nd and 3rd day of the month for 2 times in a Day.
    Can any one give me any idea, how i can do it by writing a ABAP program and triggering the Process chain.
    If anyone can share the Logic for ABAP program means, that will be helpful for me, as i dont have much expertise on writing ABAP program.
    Regards,
    Muruganand.K

    Hi,
    you can achieve this in a following way.
    DATA : v_date type sy-datum,
    v_day(2) type c.
    v_date = sy-datum.
    v_day = v_date6(2).+
    if v_day = '01' or
       v_day = '02" or
       v_day = '03".
    CALL FUNCTION RSPC_API_CHAIN_START.
    pass the name of the chain to this function module.
    hope this wil help.

  • How-to trigger a process chain using ABAP?

    Does anybody know how to trigger a process chain using ABAP code?
    Any help would be appreciated!
    Thanks
    Ioan

    Hi Ioan,
    try this in your ABAP:
        CALL FUNCTION 'BP_EVENT_RAISE'
          EXPORTING
            eventid         = 'Your Event'
            eventparm       = 'START'
            target_instance = ' '
          EXCEPTIONS
            OTHERS          = 01.
    and schedule your process chain, waiting for 'Your Event'.
    regards
    Siggi

  • Trigger a process chain when user clicks on save button in web interface

    Hi All,
    This is a issue I'm facing with the BW BPS web interface.
    BPS web interface generates a BSP application so thought posting this question in BSP forum might get some responses.
    The issue is I have to trigger a process chain when the user clicks on the save button on the web interface.
    I have no clue how BSP works. So if anybody has any ideas or suggestions I would greatly appreciate it.
    Thanks,
    Harini

    Hi Dhanya,
    This is the code i have in the ABAP program in the process chain. I just included the API_SEMBPS_POST part, but still it doesn't work. Please give me your email address so that i can send some screenshots.
    REPORT  ZHTEST.
    DATA: l_subrc TYPE sy-subrc.
    DATA: ls_return TYPE bapiret2.
    CALL FUNCTION 'API_SEMBPS_POST'
    IMPORTING
       E_SUBRC         = l_subrc
       ES_RETURN       = ls_return.
    CALL FUNCTION 'RSAPO_CLOSE_TRANS_REQUEST'
      EXPORTING
        I_INFOCUBE               = 'ZMAP_TAB'
    EXCEPTIONS
      ILLEGAL_INPUT            = 1
      REQUEST_NOT_CLOSED       = 2
      INHERITED_ERROR          = 3
      OTHERS                   = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • BSP to trigger a Process Chain in BW

    Hi ,
      I have a requirement to develop a BSP Application in the BW System where the BSP Application have to get some input parameter and in the back ground trigger a process chain.
    Can any one tell me how to trigger the process chain in BW System from BSP. I have not worked on the BSP / BW combination ..
    It would be helpfull if there are some documents which would help me ..

    from your bsp application simply call FM RSPC_API_CHAIN_START to trigger process chain.
    Regards
    Raja
    reward points/close your previous threads
    Re: BSP Pages-  Icon not appearing
    BSP for pop up

  • How to trigger a process chain using external scheduler ?

    Hi all,
             we have a requirement wherein we need to trigger the process chains from an external scheduler used by client rather than directly scheduling it through BW scheduler.So any pointers on this will be heplful.

    Hi we have had a same scenario like this. You can schedule it using schedulers like autosys. Speak to your basis team and see if you have the autosys software installed or some thing similar to that. You have to write a program which calls the function RSPC_CHAIN_START. When you excute this program, it willl ask for a variant to execute. this variant will be the start variant of the process chain you want to trigger.
    the flow will be like the basis team will schedule the autosys or the scheduler to run the program and this program will in turn trigger the process chain.
    regards,
    Satish.

  • How to trigger a process chain through

    Hi All,
    Can any one send me the steps to trigger a process chain through a job in sm37.
    Thanx
    Kishore

    Just a trigger ?
    Best way I can suggest is to call the function module 'RSPC_API_CHAIN_START'...
    So, create an ABAP Program, call the function in the program. You can add parameters and a selection screen to make the program generic and add variants to it.
    Once you are done with this, schedule a job with this program and whichever variant you're lookin for and you should be done.
    - Aditya
    Assign points if helpful

  • Process Chain Message for Run completion

    Dear experts,
    In our system the Process chains and as they complete processes, there are some messages, such as completion of run for master data or hierarchies...
    Then when I run the PC, if I don't click to confirm the messages, the PC sometimes times out...
    I would like to NOT display thoses messages.
    How can I change the settings for that???
    Alice

    Dear Pravender,
    What do you mean by block?
    The start event or the attrib. change box?
    if i right-click on them both I see:
    "Display Variant...
    Exchange variant...
    Display all jobs
    Create message...
    Debug Loop...
    Remove process"
    I don't see "maintain message."
    I think you mean that I should I click "create message..." and change successful to error.
    If that correct?
    Alice

  • How to trigger the Process Chains in BI from ECC

    HI Friends,
    Can let me know  How to trigger the Process Chains in BI from ECC. Please let me know.........

    Hi,
    1) Define a Custom ABAP Program (eg : Z_EVENT_RAISE)..........call the FM : BP_EVENT_RAISE or RSSM_EVENT_RAISE..........and trigger an event towards BW .........specify BW as RFC destination...........
    2) Create a R/3 Job in SM36>> use the Program Z_EVENT_RAISE ......
    3) In BW schedule the PC..........and in the Start variant use this Event..........
    http://sapbiwtutorials.blogspot.com/2009/03/how-to-trigger-process-chains-in-bw.html
    It can be help full
    Regards,
    Edited by: subba2010 on Aug 19, 2010 6:51 AM

  • To trigger the same Gp process once again after the completion of one

    Hi
    I have aGP process implemented in Webdynpro.
    After the completion of this process, itshould automatically trigger the same GP process once again.
    It should happen from the webdynpro coding.
    Can anybody help me.
    thnaks
    Smitha

    Hi Siva,
    Thanks for the reply.
    But How can I give process name ?
    There can be more than 1 process with the same name.
    Procees ID is the unique one what we can use.
    Still that too we can't use as method.
    we can give it as a parameter.
    what I tried is,
    IWDClientUser wdUser = WDClientUser.getCurrentUser();
    IUser user1 = wdUser.getSAPUser();
    IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(user1);
    IGPProcess process = GPProcessFactory.getDesigntimeManager().getActiveTemplate("EB0B28E08B6011DBB1BE00145EB416E0",userContext);
    EB0B28E08B6011DBB1BE00145EB416E0 is the process ID.
    This code I have tried by  giving before and after the completion of the previous  process(process9executionContext.processingComplete();)
    And I tried URL navigation also, by creating an outbound plug in the interfaceview. in the outbound plug I have called the process instantiation URL. But it is giving the error: "can not navigte :non-existent outbound plug"
    Please help me out.
    Thanks
    smitha

  • Job to trigger a process chain

    Hi Gurus,
    I have to create a job in SM37 which triggers a process chain every day at 2 am.This job has to run after the completion of another job.Please let me know the procedure.I searched the forums but did not find anything suiting my requirement.
    Thanks,
    Sai.

    hi Sai,
    if you want to run the second chain after the successful execution of first chain,
    create two Process chains and link the two chains, while u looking both chains the system will ask you successful, (or)error (or) always; there u can choose successful;
    that means the second chain will start only after the successfull execution of PC1
    Regards
    ReddY A

  • Trigger a Process chain

    Hi All,
    After a long time, approaching SDN for a help. At first i thank all the contributors.
    I had a requirement, my client wants a process chain in event based triggering.
    Scenario: There is a process chain, lets say: ZTEST_PC. This pulls GL data, I need to run this process chain every 1st week and 4th week of the month and then i need to run the process chain on event based like if the first instance of process chain completes then the second one should start.
    Summ: The same process chain has to run 2 times in a month at 1st week of the month and 4th week of the month and then to run on that week repeatedly.
    Please guide me how to do this.
    Thanks a ton in advance.
    Regards,
    Ravi Kanth.

    Hi Ravi,
    I need one clarification from you. in the first week and 4th week, should the PC run recursively, even thought it means it is running more than once a day.
    If the answer is yes, you may follow the steps as listed below, else, slight chnages in the code will be required.
    1. Create a Z program, say Z_TEST_EVENT_RAISE
    And add the below code
    DATA: DD(2) TYPE N,
          WK(1) TYPE C.
    CLEAR DD.
    CLEAR WK.
    DD = sy-datum+6(2).
    IF ( DD >= 01 and DD <= 07 ) or ( DD >= 22 and DD <= 28 ).    "Checking if it is the first week of the month or the 4th week of the month.
      WK ='Y'.
    ELSE.
      WK ='N'.
    ENDIF.
    IF WK ='Y'.
      Call function 'RSSM_EVENT_RAISE'
        DESTINATION 'LC200BI'
        EXPORTING
          i_eventid              = 'Z_EVENT1'        " Created this event in sm64
          i_eventparam           = 'Z_EVNT_PARAM'    " Give this parameter in the Process Chain
        EXCEPTIONS
          bad_eventid            = 1
          eventid_does_not_exist = 2
          eventid_missing        = 3
          raise_failed           = 4
          OTHERS                 = 5.
    ENDIF.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    2. Now create the event 'Z_EVENT1' in sm64.
    3. Add the step ABAP Program at the end of the PC.
    And give the program name Z_TEST_EVENT_RAISE.
    Also, for scheduling the process chain, you will have to maintain 3 jobs
    a) Event based, in which you will mention the event id and parameter as mentioned in th code above
    b) Create a monthly job for 1st of (month) and maintain periodic value monthly.
    c) Create a monthly job for 22nd (start of 4th week) of the month and maintain periodic value monthly.
    Hope this will resolve your issue.
    Shilpa

  • 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

Maybe you are looking for

  • Is my CPU really overloaded....why all the crashes?

    I'm on a quad core G5 with oodles of RAM running 10 or so tracks of pretty big multilayered Audio Instruments. My monitors say I've plenty of RAM left and plenty of CPU power to spare. In fact only 3 of the 4 processors seem to be being used. But I k

  • Hp pavilion 21 will not boot

    One day, the computer booted up so slow it never eventually came up. Then upon reboot, it never got past the beginning screen (black with blue circle rotating). We have no ability to get onto the computer anymore. This is a replacement of an original

  • Error occurred while executing niRFSG Arbitrary Waveform Generator

    Hi, I am trying to execute the niRFSG Arbitrary Waveform Generator.vi. The inputs at the front panel are as follows - Resource name : PXI1 Slot2 Center frequency : 1GHz Power level : -20dBm Selected waveform : Double Sideband IQ rate : 1M NI PXI 5652

  • On Program Start Initial Folder Appears on Desktop ?

    Windows 7, i install itunes and run it, i get a my music folder appear on the desktop, inside it has itunes folder, then inside that album artwork folder, itunes media folder and 4 files libary extras, libary genius, libary and music libary. i cannot

  • Platforms supported by JMS adapter

    Hi ,   Can anybody tell which platform/OS the JMS adapter supports ?   Regards,   Tarang