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

Similar Messages

  • 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

  • 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

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

  • How to Trigger the process chain using Excel Files?

    Hi All,
    We have 9 excel files(4 master data attributes and text files and 1 transaction file).
    Everyday new records will be added into the excel sheets and we need to trigger all these files into the bw server through process chain automatically . As we have all these Excel files in the desktop.
    Please suggest how to achieve this task?
    Thanks
    Gowtham

    Hi,
    You cannot load flat files to BW automatically using process chains.
    You have to upload them to Apllication server and point your Infopackage to the directory path of the flat file in application server. then process chains can load it.
    How to guide for loading flat file to application server.
    Program to load CSV file from local desktop to Application server(For flat file Data extraction)
    -Sriram

  • Trigger Process Chain through the Web

    Hi,
    I am trying to allow the users to control when they trigger a process chain through the web.
    The users have a number of integrated planning sheets, which they access and input, once they are happy with the inputs, then they want to trigger the process chain to carry out additional loads.
    I am using function module RSPC_CHAIN_ACTIVATE_REMOTE to trigger the process chain, when I test this with the chain set to direct scheduling it works fine.
    I have set a planning function to call RSPC_CHAIN_ACTIVATE_REMOTE, with the process chain in question.  Now when I run it with the chain set to direct scheduling it repeatedly calls the process chain over and over again, like it is in an endless loop.
    When I try setting the chain to Meta Chain or API nothing happens.
    Does anyone have any ideas why I can't get this to work through the web?
    Thanks
    D

    CALL FUNCTION 'RSPC_API_CHAIN_START'
        EXPORTING
          i_chain       = 'YOUR PROCESS CHAIN NAME'
        EXCEPTIONS
          error_message = 1.
       IF sy-subrc <> 0.
          CALL FUNCTION 'BALW_BAPIRETURN_GET1'
           EXPORTING
            type             = sy-msgty
            cl               = sy-msgid
            number           = sy-msgno
            par1             = sy-msgv1
            par2             = sy-msgv2
            par3             = sy-msgv3
            par4             = sy-msgv4
           IMPORTING
            bapireturn       = p_return.
          RAISE STREAM_FAIL.
       ELSE.
         RAISE STREAM_SUCCES.
         RETURN.
       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 task on IT Resource process form

    Hi,
    I want to know how to trigger a process task on IT resource process form using OIM API.For Example:- If a task ilike an e-mail is to be sent on the departure date of a user.So,how can it be done using API?
    Thanks.

    This would typically be done through a scheduled task. Write your code to query for the departure date. If someone meets your criteria for an action to occur, you can either use the addProcessTaskInstance which has an adapter attached to it to send the email, or in your code, send the email.
    The details that need to be considered though is where the departure date is stored. Is it on a process form, or is it on the user's OIM profile. Do you want to disable the user or revoke the object instance at this departure date? You could use the notification tab of these existing tasks if so.
    -Kevin

  • 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

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

  • 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

  • How to debug completed Process chain

    Hi Experts,
    Can you please let me know how to debug completed Process chain.
    In my Process Chain, we have one ABAP step to update Z-Table entries.
    But it was updated wrong entry into Z-Table.
    Now i want to debug ABAP step in Process chain which was completed successfully (This is Monthly load).
    I have tried to debug the back ground job but it throws an error message in middle of the debugging.
    Could you please tell me how to debug ABAP step in completed Process Chain.
    Thanks
    Shaik

    http://help.sap.com/saphelp_nw04s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0afcd90-0201-0010-b297-9184845346ca
    http://help.sap.com/saphelp_nw70/helpdata/en/21/15843b74f7be0fe10000000a114084/frameset.htm
    /people/vishvesh.bahirat/blog/2006/11/29/bw-process-chain-design
    http://help.sap.com/saphelp_nw70/helpdata/en/21/15843b74f7be0fe10000000a114084/frameset.htm
    1.Go to RSPC to view all the chains.
    2.There click on any chain which you want to run/view.
    3.Click on the log view(shift+F1) to view all the previous runs of the chain and whether they have failed or successful(here you can select 1 day,week ,month etc in the display range)
    4.If you want to modify the chain /add a process type /change the variant then click (Ctrl+F9) and do the changes.
    Even you can change the start variant in change mode for manual scheduling>right click on start process typeselect display variant--now select start Direct Scheduling/ API or Metachain
    under direct scheuling option you can trigger it by setting start immediately /Date-time/After job/event whatever you want to do
    Else you can make it part of a Metachain consisting of different such small local process chains.
    Now Click on Schedule (F8) to run this chain manually.
    5.For Monitoring use Tcodes SM37/RSPCM/SM50
    Also you can use BWCCMS.
    I usually prefer sm37 to view all the background jobs but SM50 is also useful.
    6.debug loop can be used to debug a process chain.(you have to specify here the gap between one event been triggered and the next subsequent process starting)
    to capture process in debugger go to SM37(job overview) or to SM50(process overview)
    Hope this would help you.

  • How to identify the Process chain for infopackage in 3.5?

    Hi all,
    I am currently working on bw 3.5? I can see couple of info packages created in the production scheduled through process chain.
    How to identify which process chain is scheduling those infopackages?
    for instance :
    customer master is loaded through a process chain.
    I knew the info package name but i dunno what process chain is scheduling that customer master?
    Can anyone help me on this!!
    Thanks
    Pooja

    Hi,
    There are two ways:
    1. When you open that info-package on the top you'll see an icon for Process Chain Maintenance, just click on that and it will take you to the process chain.
    2.Goto table -> RSPCCHAIN and enter the info package name in process variant ,  then it will show you all the process chains used under the IP
    Hope this helps.
    thanks,
    rahul

Maybe you are looking for

  • My external mic is detected in garageband but won't input any sound

    I have a US-144 midi interface and a compressor mic I'm trying to record with. They record fine on iMovie and are inputing just fine into the computer. However, in Garageband, though it detects one midi-input and lets me choose the US-144 as the inpu

  • A J2ME and MIDP 2 question

    2 Questions 1. If I have a sprite on a layer but the layer manager is only showing a part of the layer and the sprite is not on that part of the screen are any resources being taken up by the sprite? If so what would be a good way to manage sprites (

  • WRT54G2V1 Need Open NAT for Destiny PS3

    I currently have a Linksys WRT54G2V router. My Playstation3 has a wired connection to my router. With my current settings when I play Destiny on my PS3 I have a moderate NAT, and would like an open NAT. My ISP is Charter Communications. I do get a pu

  • Technical support staff

    If you pay peanuts etc... 7 phone calls 7 different solutions, none of which helped. Finally engineer arrives,then after he leaves remote doesn't work. Phoned yet again and told remote is broken and sending new one. Checked on internet, re-set remote

  • I have some problems with my battery of macbook pro 13", the mac doesnt work, what can i do to solve this?

    My mac does not work, i have problems with the battery, what can i do to solve this, can it run without battery?