Help in Event that  start process chain

Hi,
i use the Fm Below to start process chain but its not working What can be the problem?
Regards
CALL FUNCTION 'BP_EVENT_RAISE'
  EXPORTING
    EVENTID                     = 'ZIST_SSO'
   EVENTPARM                    = '1'
  TARGET_INSTANCE              = ' '
EXCEPTIONS
   BAD_EVENTID                  = 1
   EVENTID_DOES_NOT_EXIST       = 2
   EVENTID_MISSING              = 3
   RAISE_FAILED                 = 4
   OTHERS                       = 5

Hi,
may be you should check your authority. May be you are not allowed to run/schedule a program/chain in background.
regards
Siggi
PS: do a new activation and scheduling of the chain. goto sm37 afterwards and check the processes BI_PROCESS_TRIGGER. There must be at least one waiting for your event.

Similar Messages

  • Raise event to trigger process chain

    I have to raise the event to trigger the process chain, but I don't have authorizations to sm64, se37 to triger form fm bp_event_raise, can any body please help me in triggering the process chain.
    [email protected]

    Hi,
    Execute FM bp_event_raise in se37.
    give input parameters:
    EVENTID: *******  ( Mandetory , it is in process chain's event)
    EVENTPARM:  ( Optional)
    TARGET_INSTANCE  : (Optional).
    Then press F8.
    that all you need to do.
    Hope this will help.
    Manju

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

  • Changing the event that starts JTree cell editor

    I've implemented a JTree that uses a custom cell renderer and editor. Everything is going well except for a look and feel issue. When I double click on a JTree entry or single click on a node that has already been selected, the cell editor starts immediately. This is way to generous, and I'm finding I'm often editing cells when I just want to navigate the tree.
    I'd much prefer to have the edit event be something harder to do like a right click or a triple left click. Is there a way to change the event that starts the JTree cell editor?

    DefaultCellEditor provides a method boolean isCellEditable(EventObject anEvent), by default it always returns true. Override that method in your cell editor to only return true if the event is a right click, or whatever you want.

  • Error occured when starting process chain

    When we want to start a process chain via SAP_BW_ProcessChainRun we get the following error log:
    Failed to start process chain /NSN/C_DSP_TR_GLOBAL_II. No logid was returned by the BW-SCH API.
    com.redwood.scheduler.connector.sap.rfc.connection.exception.SapBapiException: BAPI exception while calling RSPC_API_CHAIN_START: E RSPC 022 Processes with Error
    BAPI exception while calling RSPC_API_CHAIN_START: E RSPC 022 Processes with Error
         at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.ClientConnectionImpl.checkBapiReturnCode(ClientConnectionImpl.java:789)
         at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.ClientConnectionImpl.handleRscpApiErrors(ClientConnectionImpl.java:808)
         at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.ClientConnectionImpl.call(ClientConnectionImpl.java:505)
         at com.redwood.scheduler.connector.sap.rfc.connection.AbstractRfcConnection$4.doPerform(AbstractRfcConnection.java:296)
         at com.redwood.scheduler.connector.sap.rfc.connection.RemoteFunctionCall.perform(RemoteFunctionCall.java:120)
         at com.redwood.scheduler.connector.sap.rfc.connection.AbstractRfcConnection.perform(AbstractRfcConnection.java:461)
         at com.redwood.scheduler.connector.sap.rfc.connection.AbstractRfcConnection.execute(AbstractRfcConnection.java:289)
         at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.SapFunctionModuleWrapper.execute(SapFunctionModuleWrapper.java:200)
         at com.redwood.scheduler.connector.sap.rfc.jco.AbstractSapFunctionModule.execute(AbstractSapFunctionModule.java:109)
         at com.redwood.scheduler.connector.sap.rfc.command.impl.BwProcessChainCommand.execute(BwProcessChainCommand.java:98)
         at com.redwood.scheduler.connector.sap.rfc.command.AbstractXbpCommand.doExecute(AbstractXbpCommand.java:86)
         at com.redwood.scheduler.connector.sap.rfc.command.AbstractCommand.execute(AbstractCommand.java:56)
         at com.redwood.scheduler.connector.sap.rfc.service.operation.RunJobOperation.doWork(RunJobOperation.java:103)
         at com.redwood.scheduler.connector.sap.rfc.service.SapJobWork.doWork(SapJobWork.java:38)
         at com.redwood.scheduler.infrastructure.workqueue.Worker.run(Worker.java:74)
         at java.lang.Thread.run(Thread.java:579)
    What could be the reason?
    Thanks
    Br
    Günter

    O.K. I can answer the question by myself: Is an authorisation issue. The rfc user who starts the PCs didn't have enough rights.
    Br
    Günter

  • How to identify whether that particular process chain is active or not?

    Hi all,
    How to identify whether that particular process chain is active or not ?
    thanxs
    haritha

    If see the process chain then it will not be greyed out if it is active. Or else check in these tables.
    RSPCCHAIN
    RSPCCHAINT
    to check the logs
    RSPCLOGS               
    RSPCPROCESSLOG
    Give the chain name and check in the object version.
    Khaja

  • Help me to Create this Process Chain

    Hi Gurus,
    We have 3 Process chains,
    1) Region 1
    2) Region 2
    3) Region 3
    These three process chains were start at differt times and end time will depends upon the load of data. Now i want to do some manual calculations after the successful execution of this chains. So i have written three ABAP programs to do that calculations for 3 chains.
    My scenerio is to create a new chain only so I have created a new chain with Start variant -> Decision variant -> 3 Program variants (For 3 chains)
    Now i want to write the condition in decision variant to attach the respective program variants below it. ie,
    Start -> Decision (Condition for successful execution of Chain Region 1) -> Program Variant 1
                 Decision (Condition for successful execution of Chain Region 2) -> Program Variant 2
                 Decision (Condition for successful execution of Chain Region 3) -> Program Variant 3
    So i don know what exact logic to write in Decision variant...Please help me here...
    Thanks & Regards,
    Balaji.S
    Edited by: sbalajigupta85 on Aug 26, 2010 7:47 AM

    HAI ,
    A process chain is a sequence of processes that are scheduled to wait in the background for an event. Some of these processes trigger a separate event that can, in turn, start other processes. It looks similar to a flow chart. You define the list of Infopackages / DTPs that is needed to load the data, say delta or Full load. Then you schedule the Process chain as hourly, daily, monthly, etc, depending on the requirement 
    process chains for which info providers ?? i mean to say... for cube or? DSO?
    ok now below i explained for DSO... try it out it will work.. 100%
    Step 1: Go to RSPC transaction. Click on Create. Give Process chain name and Description.  
    Step 2:  Give the Start process name and description and click on Enter  
    Note: Each process chain should start with a Start Process  
    Step 3: The next screen will show the Scheduling options.  
    There are two options:
    Direct Scheduling:
    Start Using Meta Chain or API  
    In my example I have chosen Direct Scheduling as I am processing only one chain i.e DSO. Click on u201CChange Selectionsu201D  
    In the below screen shot, you can give the scheduling details i.e the Immediate, Date& time etc. and click on SAVE  
    The Screen shot below indicates that we have started the process. 
    Step 4:
    Click on the icon process types as shown in the below figure. You will get a list of options.
    In my example I am scheduling for DSO. To process we need to have InfoPackage, DTPu2019s for the corresponding DSO
    Open the tree Load Process and Post Processing, We need to drag and drop u201CExecute InfoPackageu201D  
    Step 5: Once you drag and drop the u201CExecute infopackageu201D we get the below Popup. We need to keyin the Infopackage name. To do this click on F4 and chose your Infopackage and click on ENTER
    Step 6: Save + Activate and Execute the Process.

  • 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

  • Error while starting process chain

    Hi BW Gurus,
    I am facing a different error while trying to start a process chain in BW.
    Error message below:
    Job started                                                                               
    Step 001 started (program RSPROCESS, variant &0000000000306, user ID BWBATCHJOB)                      
    NO_MORE_SPACE: Can not create MTE: no more space: no more MESSAGE_CONTAINER slots available           
    Process CHAIN, variant ZSD_ORDER is not scheduled waiting for event RSPROCESS 3W6KED9SDRAN457HSX3XR22W2
    Job cancelled                                                                               
    Please help.
    Thanks and Regards
    Chakri

    Hi Girish mandli,
    The process chain are scheduled from Basis side, i have checked with him, he told that, it scheduled with date and time.
    It is daily load, should trigger at 2:00 am in morning, but from last 2 days it not scheduling.
    Cause: there was unexpected DB shutdown, due to which all the jobs where canceled.
    next day all the jobs got scheduled once DB was Up, due to which some jobs failed and manually scheduled failed jobs from BW side.
    All the chains are triggering fine,  but got only problem with this chain.
    Please help to rectified this error.
    Thanks and Regards
    Chakri
    Edited by: gopathi chakradhar on Jun 3, 2011 11:30 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 start process chain without sapall rigths...

    Hi everybody,
    I got the following problem:
    A (normal) user without sapall rights should be able to start a process chain by clicking a button in a bsp application. This works so far.
    The process chain is started by invoking the function module RSPC_API_CHAIN_START. The authority check in the fm throws an error because the user does not have the proper rights/roles to plan a batch job for the ALEREMOTE user.
    Does anybody has a solution for this? It's really urgent!!!
    Thanks in advance,
    Joerg

    Hi Joerg,
    You might opt to change the scheduling of the start step of your process chain so that it is triggered by an event. Here are the steps:
    1) Define an event in SM62
    2) Change your process chain so that it is triggered by the event you created in step 1.
    3) Change your ABAP code (that responds to the button in your BSP application...the planning function i think). You can then use the function module BP_EVENT_RAISE to trigger the event you created in #1.
    Advantage:
    The users don't need the extra authorizations.
    Disadvantage:
    In contrast to using the RSPC_API_CHAIN_START function module, you won't immediately know whether the process chain was started successfully (you might have to call another FM to check the status).
    If you can't change the trigger for the process chain, then the longer solution would be to construct an ABAP program that will execute the RSPC_API_CHAIN_START, schedule the program in a background job (to run under a powerful user id),  set the background to be triggered by an event, trigger the event when the user clicks the button.

  • 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

  • Help required for Creation of process chain for Open hub destination(table)

    Hi Experts,
    I am working on creating process chain for the open hub destination which is targeting data transfer into Table. Which is then push to SAP PI.
    2.) Steps to create a process chain for OHD????? Not knowing and even after that
    3.) What are the steps for Pushing it to PI (I mean we have generated client proxy also) But need to know ABAP related to trigger process chain
    please need your expertise and knowledge. Well atleast with the point 2 I need BI experts help...
    Regards,
    [Gaurav Patwari|http://gauravpatwari.wordpress.com]

    Hi Gaurav,
    Creating Process chain for OHD.
    1. Go to RSPC-> Create a astart variant.
    2. Click on process typesin the menu. Fourth from the left. Under this go to LOAD PROCESSES AND POST PROCESSING option.
    3. The fifth option is "DATA EXPORT INTO EXTERNAL SYSTEMS". Click on that.
    4. Click on F4 and choose your infospoke name.
    5. Press the RIGHT button.(if it asks for variant, create a new variant in the same small window besideswritting bar).
    6. Join the START process and the 2nd process via dragging.
    7. Now add your required other processes.
    The general process chain processes are :
    1. Start.
    2. Delete Indexes (if data loaded to cube).
    3. Load process.
    4. Delete duplicate request (if it is a full load in cube).
    5. Create Indexes.
    Hope it helps.
    Preet

  • Need help to terminate the local process chain

    hi
    Master DATA attribute local process chain was triggered twice in our daily master process chain. it is showing twice in the logs.
    Can any one help us to terminate the one replica of the running master data attribute local process chain.
    Thanks much in advance
    Raj
    Edited by: Gangaraju Eegu on Dec 10, 2008 3:03 PM

    Hi,
    Please check in execution selection any periodic job is running twice, so remove there.Double click on first node i.e. start and > Chamge Selections> Periodic Values.
    Or
    Find any event is triggering twice in a day?. and tehn cancle it.
    Thanks
    Reddy

  • Event to trigger Process Chain

    Hello Experts,
    I need your suggestions to write an event to trigger a process chains after user put text file to server,
    but the PC is not run.
    here the step what I have done.
    a. define an event SM62 "ZEV_PC_START"
    b. create abap code to check the file if exist raise the event ZEV_PC_START with BP_EVENT_RAISE.
    c. create Process chain.
    d. schedule PC after event "ZEV_PC_START"
    Could any one tell me the steps in brief. Pointers to any documentation would be highly appreciated.
    thanks
    supriatna

    Hi expert,
    I need create the abap code to check the file if exist raise the event ZEV_PC_START with BP_EVENT_RAISE.
    I don't know ABAP, could you help me with the code?
    Could you give me examples, please?
    Thanks,
    Best Regards.

Maybe you are looking for