Process chain doesn't trigger an action with an incorrect event.

Hello everybody,
I have a problem with process chains. I connected two process, process two must run if process one fails, and i must receive a message that inform the failure of process one.
When i execute my process chain, the jobs are launched. The job for process one is canceled due to the failure, so the job for process two must be launched, but this doesn't occur.
Could you help me with this problem please?
I really appreciate your help.

Hi,
Try this post:
How-to trigger a process chain using ABAP?
Check these links:
Docs in sdn
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
Process Chains
Steps for Creating Process chain!
http://help.sap.com/saphelp_nw04/helpdata/en/67/13843b74f7be0fe10000000a114084/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/using%20process%20chains%20in%20sap%20business%20information%20warehouse
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
Hope the following links will give u a clear idea about process chains and clear ur doubts.
Business Intelligence Old Forum (Read Only Archive)
http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
****Assign Points If Helpful****
Regards,
Ravikanth

Similar Messages

  • Process chain doesn't trigger the failed process untill we manually do it.

    Hi,
    We have set up the process chain send a successful and error messages to our cell id and emails. Some time the process chain fails but does not triggers the error message unless we manually go into the logs (next day) and trigger it. Was wondering if any one had faced a similar kind of issue?
    Any way to fix this?
    Regards,
    Hima
    Edited by: Hima Chowdary on Sep 24, 2008 8:12 PM

    Sorry posted it in the wrong area.

  • Process chain to run every other Thursday (with exception of 53rd week)

    Hello Friends,
    I am trying to find a way to set up my Process chain to run every other Thursday (with exception of 53rd week).
    I am hoping that I can perform this via Decision variant.
    Any advice would be very much helpful.
    Regards,
    Vinoth V

    Hello Shankar,
    Thank You for the valuable comment. So you mean I would need to create a decision variant as shown below?
    DATE_WEEKDAY1( Current Date ) = 4 for running this every Thursday and DATE_TO_WEEK formula to meet the requirement of restricting the chain not to run on 53rd week?
    How can I make the chain to run on alternate Thursdays?
    Kindly advice.
    Regards,
    Vinoth V

  • Process chain doesn't even with errors in bacrground processes

    Hi experts,
    I need your help again.
    My client is using a process chain to automate the consolidation process in SEM-BCS. This is done using variants of programs UCBATCH01 and UCBATCH11.
    The problem now is that the process chain doesnu2019t stop even though the steps have errors. The validation tasks are the best example.
    Do you know a way to make the process chain stop?
    Best regards
    João Arvanas,

    Hi Marsy,
    I'm having the same issue as discussed in this thread and since I am still very new in BCS I have some additional question
    1. Is the status table for task that you are referring to = /1SEM/UCS001USV1 ?
    2. I read in another source that status table only store the latest run log ? not historical ? is that true or would you might be aware of a historical table ?
    3. The table split cons area task run status into each of the cons unit, so if one of them has error, basically the task error
    Thank You,

  • Process chain doens't trigger the next chain

    Hi All,
    I have a process chain and it has 5 local chains in it. Even though 3rd one runs with no problem and turns to green, it doesn't trigger the next local chain. Any idea?
    Thanks

    Hi mike,
    go in display messages of the chain process type angd then go in display messages --->>> chain tab -->> general insatance and end
    1.)if end is registered saying "successfully completed " then there is a problem like whether the local chain is active or not.
    2.) if you find only "complete" then go to transaction YBW05-->> copy the generated intance and parameters here and set staatus to g then execute .
    now refresh your chain then it should trigger the next process type.
    Hope it solves,
    Regards,
    Supriya

  • UTF-8 file via process chain doesn't load

    Hello all!
    I've a big problem. I try to load a UTF-8 file via process chain. I have a script which generate the correct name and the process chain will load the file daily. The file format is UTF-8. I've created a info package with the adapter OPEN_DS load text type file from application server and the character set is 4110 (Unicode UTF-8) but it doesn't work. I try it directly - not via routine - and it works perfect but I can't load with the adapter GUI-UPLOAD load text type file from local workstation via process chain.
    I switched the code page back to 1100 sap internal ISO 8859-1 but with this settings I have a lot strange chars in my texts. Any solutions?
    Regards, Thomas

    Hi,
    no solution?
    Regards, Thomas

  • Failed ABAP process in process chain does not trigger subsequent process

    Hello,
    I have a issue in my process chain with the abap process type.
    When this abap process gets failed due to some reason; it is not trigerring subsequent step in the chain.
    Any ideas on how it can be solved or any work-around?
    I searched the forum and got to know that we can create a copy of abap process type, and can change possible events to
    "success or fail".
    Please let me know your views on it or if someone has ever encountered similar issue.
    Thanks alot for your help,
    Anuj

    Hi Anuj,
       My guess is that you have your the link between the ABAP process type and the subsequent step to trigger on success. You can check this, Go to RSPC -> process chain and check the design. If the link has a green light on it, then it will trigger only on success of the abap process. You need to check with your design and confirm whether this need to be like this, (maybe the abap process is doing something which is required for the subsequent loads??)
    If no then you can change the link type to either success of failure and activate the chain. This would resolve your problem.
    If you cant change your chain, then i would suggest you correct the failure and then use the program RSPC_PROCESS_FINISH to push the chain further. Just search for this on the forums, there are plenty of blogs/threads on  this.
    Regards.

  • Process Chain: what does the variant do with "Delelte changelog"

    We have a process chain developed by a consulting firm that inside the process chain, there is a variant with the description of "Delelte changelog older than 3 months".  Double click this variant to open this variant interface, 1st column titled "Object" shows all rows are ODS picture icons, 2nd column titled "Object Type" shows all rows are "Change Log Table", 3rd column titled "Object Name" shows all rows starting with "8ZXXXXXXXXXX".  What kind of this variant function in Process Chain as "Delete changelog"?
    Thanks and we are looking forward to seeing your answer soon!

    Hi
    DSO contains 3 tables. New data table, change log table and active data table.
    New data table: When the data was loaded, first the data goes to new data table.
    change log table: When you activate the data in DSO, it goes to change log table and active data table. Change log table contains the changes happened like before image,after image.
    Active data: Reporting is done out of this table.
    Over a period of time the change log table grows in size and it needs to be periodically cleaned to reduce the size of the table.
    The variant used to delete the change log entries if it is older than 3 months automatically using the process type "delete change log" in process chains.
    Hope it helps.
    Regards
    Sadeesh

  • Process chain doesn't start

    Hello everyone!
    I have a process chain for loading of master + transactional data:
    Start --> Master Data subchain --> Transactional Data subchain
    Although the start process is correctly scheduled and runs successfully every day, sometimes the master data subchain does not run.
    There's no short dump involved.
    The log says the job ended with 'Canceled' status. I didn't cancel it, that's for sure
    My client says this happens about once a month.
    Anyone knows any reason why this happens?
    Any help would be greatly appreciated!

    Hi Luis,
    There must be some place where the details of the cancelled job would be mailtained. Either in sm37 or in the details analysis of the process chains step. May be that will help you out.
    Another thing is that doest this kind of situation happend on the same day each month. Is there a monthly job which doesnt allows this thing to start.
    Kindly check.
    Hope this helps.
    Regards
    Dennis
    §§ Assign some Points if found Helpful §§

  • Deleting PSA data  using process chain doesn't delete records from psatable

    Dear All,
    We have an issue where by the process chain runs and deletes the PSA records and upon checking that's what we thought it had done from the monitor but it didn't actually delete the records from the PSA Tables!
    Does anyone have any clues about this ?
    Thanks
    Craig

    Chetan,
    Yes you read correctly the actual table content for the PSA records are not physically removed.
    By monitor I meant the entry in the requests for PSA.
    It's a strange one for sure.
    Cheers
    Craig

  • Process Chains with Event Trigger

    Hi Experts,
    Happy Valentine day.
    I have a requirement to run a Process Chain using Event IDs. Now these Evenrt ID should be triggered by a Program which raises this Eovent. Then this Program should be scheduled in BAckground to run periodically. Has anyone done this before. If yes, could you please shower some light on this topic with details on the steps.
    Thanks
    DV

    Hi,
    1)You can make the process chain to be trigered by an event.
    You create user events in SM62. In SM62, next to "User even names", click on Maintain and press Enter. Click on the Create icon to create a new event (let's call it ZEVENT).
    Next, in your process chain, change the Start variant to be scheduled "After event", and put in ZEVENT for the event name. Also, click on the "Periodic job" at the bottom. This will automatically reschedule the jobs for the process chain after it executes.
    Next, create an ABAP program (let's call it Z_EVENT_RAISE) to call the function module BP_EVENT_RAISE. You're code can look like this:
    codeREPORT Z_EVENT_RAISE.
    PARAMETERS: P_EVENT LIKE TBTCO-EVENTID.
    CALL FUNCTION 'BP_EVENT_RAISE'
    EXPORTING
    EVENTID = P_EVENT.
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.[/code]
    This ABAP program will prompt for an event name, so you will need to create a variant (let's call it ZEVENT) which will save the value of the event name (also ZEVENT). You will need the variant name to be able to trigger the event in a batch job.
    Now all you need is the batch job. Use tcode SM36 to create a batch job where you call the ABAP program (Z_EVENT_RAISE) using the variant (ZEVENT).
    Note, SM64 only triggers an event manually.
    and you can copy this job to schedule it three times a day.
    2)In the Start process of your process chain, select Direct Scheduling and then click the Change Selections icon. This will bring you to the Start Time window where you can put in the Date/Time you want to start your process chain. At the bottom of this window, click on the Periodic job box and you will notice another icon way at the bottom called Period Values. Click this to determine what frequency the job should be rescheduled (ie. daily, weekly, etc.).
    3)you can do this by right-clicking on the start process, selection "Maintain Variant", choose "Direct Scheduling". Next select "Change Selections", pick your date and time, set your period values and you're done.
    Thanks,
    JituK

  • Trigger process chain using event

    Hi all,
    I’d like to know if someone ever faced this kind of situation.
    I have a process in R/3 and it must run every day, and when it’s finished I have to start a process chain in BW.
    I thought to do this using events. So, I created a Job that executes this process and added a step( an ABAP program ) that generates an event in a target system, BW.
    The program is this one:
    PARAMETERS:
        p_eventi   TYPE btceventid,
        p_eventp   TYPE btcevtparm,
        p_server   TYPE btcserver.
    Obligatory parameter: EventID.
    EventID should be an existing event already defined in transaction
    SM64 or using CREATE method of class CL_BATCH_EVENT:
    p_eventi   = 'SAP_TEST'.
    Optional parameters: event parameter and target server.
    p_eventp = 'Event parameter'.
    p_server    = ''.
      CALL METHOD cl_batch_event=>raise
        EXPORTING
          i_eventparm                    = p_eventp
          i_server                       = p_server
          i_eventid                      = p_eventi
        EXCEPTIONS
          excpt_raise_failed             = 1
          excpt_server_accepts_no_events = 2
          excpt_raise_forbidden          = 3
          excpt_unknown_event            = 4
          excpt_no_authority             = 5
          OTHERS                         = 6.
      CASE sy-subrc.
        WHEN 0.
          EXIT.
        WHEN 1 OR 2 OR 3.
    Raise failed.
        WHEN 4.
    Event does not exist.
        WHEN OTHERS.
    Raised failed due to unknown reason.
      ENDCASE.
    The execution of the job appears to be OK, but I checked the log at SM62 and couldn’t find any entrie, and the process chain didn’t start too.
    I created the event at BW and R/3 side,  informed the variant with event / server in R/3, etc.
    I’m missing some step??
    Best Regards,
    Tomas

    This is what this note does.  From R/3, it will trigger an event in BW.
    You can also read this post:
    Triggering a Process Chain From R/3 pgm
    Hope this helps.

  • Submit button from Adobe form doesn't trigger action???

    Hi all,
    the submit button within Adobe form doesn't trigger any action that i wrote. it happens to my machine, but it doesn't happen on some of my colleague's machines.
    i am using Adobe reader 8, when the first time i use IE to display the app, it prompts me to install some kind of activeX plug in, and after it installed, it told me that some setting is not correct, and it mentioned about adobe reader 6 or 7.
    will downgrade to 6 or 7 solve this problem? is there any other walkaround for it?
    thank you!

    If you are on Netweaver 2004s SP9 or higher, you could change the displayType property of InteractiveForm UI element to "Web Dynpro Native" and use the submit button from "Native" tab.
    If you are any other lower version, you dont have a choice but to use "activeX" which requires Active Component Framework (ACF) to communicate with server. You need to use button from "Web Dynpro ActiveX" tab. You need to install the right version of ACF (SAP Note 766191). Better if you use Adobe Reader 8.1.2.
    Thanks
    Ram

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

  • Monitoring BI PROCESS CHAIN with Solution Manager BPMON

    Hello,
    I'm trying to setup the monitoring of BI process chain using the BPMON
    I setup the process chain monitoring using  BPmon application monitoring "BI Process Chain Monitoring" (BOBIPCMO)
    but than I'm not able to read the process chain names,steps,and variant from satellite system
    On other systems,using different application monitor (like PI MONITOR) is working fine
    i'm using the latest plug-in ST-A/PI 01L_BCO700 on entire landscape
    My bi system is 7.01 EHP1 sp4
    solution Manager is 7.01 EHP1 SP20
    Any suggestiions?
    Thanks
    Marco

    Hello Marco,
    the problem is that the Process Chain monitor is not yet available with ST-A/PI 01L*. Unfortunately the empty hull that you see during the setup was shipped without the proper content. The Process Chain monitor will be properly shipped with the next ST-PI and ST-A/PI combination in Q2/2010.
    Sorry for any inconvenience caused.
    If you want to have this monitor earlier on it could be implemented via Customer Exit in case that you have some MaxAttention or Safeguarding engagement.
    Best Regards
    Volker

Maybe you are looking for