How to stop a workflow after appraisal is deleted / BUS7026

Hello dear workflow experts,
I want to automatically stop a workflow for business object BUS7026 after the appraisal is deleted with  transaction PA30. For this i created a new event but although I put the entry in the table with  transaction SWEHR3 it is not picked up. I only put a breakpoint in the function module to see if it comes that far. But tests are negative. Does anyone has experience with this which object and infotype to use in the table?
Any help is welcome!
Thx Richard

Hello thanks for the replies,
I have created an event in the SWO1 for the business object because this object does not have an event to handle this. Only the event COMPLETEDAPPRAISAL exists. Therefore it is not displayed in the SWEL automatically. I have to force this. My question how.....
I tried to add the event in SWEHR3 for the deletion of object type BA but this does not trigger the workflow. My question now is does anyone have an idea how to trigger the event.
Off course I understand that after the event is raised you can model a parallel branch but this is not my problem. Getting the deletion event raised is my problem.
Regards,
Richard

Similar Messages

  • How to stop a Workflow

    Hi ,
    I initiated a purchase requisition from DTS form of Oracle Project Contracts.
    This process initiated a Workflow "OKEDTS"
    However, the workflow was not able to complete because of some functional issues.
    Now it is struck somewhere in between and triggering notification to user every minute notifying Failure.
    How to stop this workflow ??
    i waited for 3 days for timeout, but its still runing.

    Hi,
    You can cancel the workflow in the workflow details page in the worfklow administrator resp. You can see the link below.
    http://download.oracle.com/docs/cd/B13789_01/workflow.101/b10283/admmon07.htm
    Hope this helps!
    Thanks,
    Sathish Raju
    www.projectsaccounting.com

  • Payroll area locked.How to Stop the workflow during this period ?

    Dear experts,
    In the travel workflows, after all the approvals, there is a standard task(Custom) with a custom method(BUS2089 Enhanced).
    This method updates the infotype 2002 (Attendances). This works fine for the whole month except during the  payroll run which will be for 3-4 days after 20th of every month.
    We have maintained the exception for this when the control record is in the status '1' or '4', by passing a temporary error to the workflow.
    SELECT SINGLE * FROM t569v WHERE abkrs = 'Z0'.
    IF sy-subrc EQ 0 AND ( t569v-state EQ '1' OR
                           t569v-state EQ '4' ).
      return-message_v1 = 'Employee Master data locked for Payroll'.
      exit_return 1001 return-message_v1 return-message_v2
                       return-message_v3 return-message_v4.
    As i understand the workflows can be restarted after solving the temporary errors.But this Temp error will only be solved after the payroll record is becomes 'Exit Payroll'.
    The system attempts for 3 times in the period of 30 minutes and then the tempoarry error becomes a permanent error and this way the workflows goes into a permanent error which cannot be restarted even after the payroll is exit.Due to this may workflows are unable to update the Infotyp 2002 however their trips are approved at all levels.
    This counter of 3 times and 30 minutes, I belive the system is taking from the error monitoring program (RSWWERRE / SWWERRE) in SWU3.
    I am thinking of putting the workflow into 'Wait' state till the period when the Payroll is locked. This way , we can avoid the workflow even from going into temporary error.
    Can anyone help in this regard ? Do we need to add a WAIT step in the WF Definition or control in the method code itself ?
    Does WAIT UNTIL (ABAP Keyword) works for 3-4 days of payroll run if we implement in the method code itself?
    -Anwar
    Edited by: Sameer Anwar on Aug 20, 2011 9:44 AM
    Edited by: Sameer Anwar on Aug 20, 2011 9:45 AM

    Hi Sameer,
    But , Can you pls put some more information on why we need to avoid WAIT UNTIL in Tthe ABAP ?
    Wait Steps are only used where you have 1 event which the workflow would expect ...moreover this would require more effort in terms of implementation...( you will have to create an event manually after your payroll is open).
    I would suggest create an virtual attrubute of the BO  which will populate a whetherr the Payroll is locked or unlocked... then use this attribute as a start condition in the conditions tab of your step. this would stop the workflow until the payrol is open...
    Regards
    Gautam
    Edited by: gautam maini on Aug 20, 2011 2:34 PM
    Edited by: gautam maini on Aug 20, 2011 2:35 PM

  • How to triger SAP workflow after save in t-code RMWB

    Dear friends,
    After execute t-code RMWB, I could click save button to save it. but my requirement is to triger the SAP workflow to send an email.
    My question is, how to triger this SAP workflow after clicking save in t-code RMWB?
    Thanks a lot!

    Use this function module in a Exit or BADI or Enhancement spot during SAVE
    SAP_WAPI_START_WORKFLOW
    I THINK IT CAN BE DONE BY CREATING A SPOT IN "CALL METHOD GO_APPL->MO_RMWB->SAVE" IN PROGRAM OF RMWB

  • How to stop the workflow

    Hi. i want to know the process of how to cancel the workflow, stop the workflow.
    i know ho to reject the workflow once it is initiated.
    regards
    Arifuddin

    Hi Arifuddin,
    Are you trying to cancel the workflow using PL/SQL, if so make use of API 'WF_ENGINE.ABORTPROCESS' to cancel any active workflow.
    You can pass parameters as, 'ITEMTYPE', 'ITEMKEY', 'PROCESS NAME' and 'WF_ENGINE.ENG_FORCE'.
    Hope this helps.
    Regards,
    pP.

  • How to stop refreshing jsp after a period of time

    Dear all,
    Anyone has idea of how to stop jsp page refreshing after I get result from Backend?
    I am using META tag to do refreshing in jsp: HTTP-EQUIV="Refresh" CONTENT="60
    After I got the result from back end, say after there's a "status" bean property changed from "processing" to
    "successful".The refreshing activity is disabled?Any good way to do that?

    Why don't you use listener to listen to changed events within your application and set you refresh status flag up when changes occur

  • How to automatic complete workflow after 3 weeks ago ?

    Hi all,
    I have one problem about workflow in SAP.
    I have the workflow that have one agent to assigned.
    How can I setup workflow to automatic complete if agent don't process task within 3 weeks ?

    Hi,
    Check whether the background job SWWDHEX is configured and its running for each 3 minutes.
    Also if you set the deadline as 3 minutes's, then you have to wait for some more 3 mins. Once the deadline reached the background job will execute the step with in three minutes. Check transaction SWWA. Here you can set the time interval for deadline job SWWDHEX.
    Then in the Activity step once the deadline is set, then select the modeled deadline in the action field. So that it will create a new
    branch in the wok flow template.
    For testing purpose, Just create a send mail step in the new branch and wait for ten minutes. Deadline will be reached and the mail will send to the inbox.
    Thanks.

  • How to continue the workflow after a block?

    Hello,
    I'm trying to make continue the workflow after a block. The CompleteActivity procedure doesn't give an error, but the workflow doesn't continue.
    Anybody a good idea?
    Robby

    CompleteActivity is the correct API, see the Workflow Guide for details,
    procedure CompleteActivity
    (itemtype in varchar2,
    itemkey in varchar2,
    activity in varchar2,
    result_code in varchar2);
    where:
    itemtype A valid item type.
    itemkey A string generated from the application object's primary key. The string uniquely identifies the item within an item type. The item type and key together identify the process.
    activity The name of the activity node that is completed. Provide the activity node's label name. If the activity node label name does not uniquely identify the subprocess you can precede the label name with the internal name of its parent process. For example, <parent_process_internal_name>:<label_name>. This activity node must be marked as a 'Start' activity.
    result_code An optional activity completion result. Possible values are determined by the process activity's Result Type, or one of the engine standard results. See: AbortProcess.
    Hello,
    I'm trying to make continue the workflow after a block. The CompleteActivity procedure doesn't give an error, but the workflow doesn't continue.
    Anybody a good idea?
    Robby

  • Approval Workflow - How to stop Approval Process after one Approve?

    I currently have a approval workflow for announcements. There are two approvers assigned to the workflow with the serial setting. How do I end the approval work process after one of the two persons approve? Currently, if one person approves, I have a "In
    Progress" status under the status column.
    Here is the text-based editor view of my workflow:
    f Current Item:Body not equals Current Item:PriorBody
    Start Approval process on Current Item with User1; User2
    Else if Current Item:PriorWorkflow equals Approved
    Set workflow status to Approved
    If Current Item:PriorWorkflow equals Rejected
    Set workflow status to Rejected
    Any tips are welcomed. I have found that Nintex released a workflow that addresses this, but I would like to work around that if possible.

    Hi David,
    Yes, I created the workflow based on SharePoint  2013 Workflow platform. You can have a look at the screenshoot:
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to stop subscription emails after Unsubscribe

    Hi.
    This is APEX 4.2.2.00.11.
    We exported an application from instance A that included four saved subscriptions, then imported it to a test environment B.
    We received the emailed IR subscriptions from instance B, as expected.  Then clicked the Unsubscribe link in the emails, were directed to the proper page 4155:200 on instance B, clicked the Unsubscribe button, and APEX presented the green check mark confirmation. 
    Tha problem is the emails continue.
    Looking at two closely, both are from Primary Reports.  One was daily and the other weekly frequency.  The attached Report.htm files are 0K bytes.  Given the nature of the queries, they were expected not to find data in the test environment. 
    Although there were two email recipients on the subscriptions, when I unsubscribed, it removed the subscription for both of us, which would be a problem if you have wide subscription distribution.  You wouldn't want one recipient in the group to blow away the subscription for everyone.
    The one that was to be weekly email is sent 5 times every half hour, two with a complete and proper unsubscribe URL, and 3 that don't only have the request path, starting at f?p.
    The other that was to be daily email is sent 8 times every half hour.  Some half hours have 6 on the 00 or 30 minute mark, and then the remaining 2 at 05 or 35 minutes after the hour.  2 of the 8 have the proper URL, the other 6 only have the request path.
    APEX Listener is configured to support multiple databases, with a path prefix identifying instance B.  We see this in the Unsubscribe URL in the emails, which is what leads me to suspect instance B is where the problem is coming from. 
    The ORACLE_APEX_WS_NOTIFICATIONS job runs minutely at 0,30.  the ORACLE_APEX_MAIL_QUEUE job runs minutely every 5 minutes.
    Since this is happening at a customer site, where I have limited access to the APEX environment, I don't have a lot of information about how they have configured APEX mail support.  I have verified you cannot see any IR subscriptions in the workspace, and have verified that the APEX notifications job is running periodically and there are no records in wwv_flow_worksheet_notify.
    I'm looking for ideas:
    How do we stop them?
    How do we identify the process sending the emails and the subscription from/to/report title data that's driving the process?
    Thanks.
    Skip

    To stop your emails you need to do two things.  First, go to Your Stuff - Profile- Manage Email Notifications (in the upper right hand Actions box) - either check individual threads to remove or click in the top box which will check all the threads and then click on Remove Email Notifications.
    Second, also in Your Stuff but go to Preferences this time and then Email Notification Preferences.  Check no for each of the notifications you want stopped. 
    That should stop all the emails from ASC.
    laverne's mom

  • How to stop thread permanatly after start?

    hello,
    i am using one thread . that thread start with time delay 10 seconds as follow,
    class tableUpdateThread implements Runnable
        Thread thread;
        int i,j;
        tableUpdateThread()
            thread = new Thread (this, "Table updation");
            thread.start();
        public void run()
            System.out.println (" Update thread starts........");
    try
                      System.out.println (" Update thread starts 4........");
                      Thread.sleep(10000);
                  } catch(InterruptedException ee)
                      System.out.println ("");
    }but, in one point in program, i stopped the thread by,
    tableUpdateThread.thread.stop();but, the thread again started after 10 seconds.
    Whhen I go to another panel, I need to stop the thread permanatly.
    But, in panel 1 I need the thread update the JTable every 10 seconds.
    but in panel 2 I need to stop the thread completely.
    how can I do it.
    please help me.

    Thread.stop has been depracated as unsafe.
    The legitimate way for a thread to stop is for it to return from the run() method.
    Typically you do this by interrupting the thread. If the thread is in sleep or wait this will trigger an InterruptedException. If not, it sets a flag, which the thread should check when it does a loop.
    (If a thread calls sleep or wait after being interrupted, it throws InterruptedException immediately.)

  • How to stop automatic downloads after launching itunes...

    Itunes sucked 10 years ago, and it still does today....
    Here is the solution to that nagging problem of Itunes automatically downloading an app, music, book, etc everytime you launch it, even after you uncheck the settings for automatic downloads, and even after you try to pause and/or delete the specific download:
    1.) Complete any downloads that you actually want itunes to download.
    2.) Delete any downloads that you do not want.
    3.) Close Itunes or make sure that it is already closed.
    4.) Open the folder on your harddrive (or SSD) that contains the Itunes Media folder location.*
    5.) Inside of that folder, open the folder named "Downloads".
    6.) Select everything inside that folder and delete it. Those items will either go to your recycling bin or (depending on your Windows settings) if the file sizes are too great, they will be deleted off the drive.
    7.) Restart Itunes and nothing should start to download.
    *If you do not know where that folder is located click Edit--->Preferences...--->Advanced. The exact location to the folder is listed in the box titled Itunes Media folder location. Feel free to change it. I changed mine to d:\itunes. My d: drive is my harddrive. I refuse to put on my main C: drive because my main C: drive is an SSD, and everytime you write on an SSD you reduce its life span. Also, SSD's are limited in space.

    I would like to know how to purchase something and not have it download at the time of purchase.

  • How to stop a process after it was started with Process.Start

    I want my program to run other programs, but I also want the User to be able to stop the running program from within my program. How do you keep track of what program Process.Start has run?
    Robert Homes

    I want my program to run other programs, but I also want the User to be able to stop the running program from within my program. How do you keep track of what program Process.Start has run?
    The Start(String...) or Start(StartInfo) methods of the Process class are functions that return a Process object that you can then use to manage the process that you started, for instance to stop it with .Kill.
    https://msdn.microsoft.com/en-us/library/system.diagnostics.process(v=vs.110).aspx

  • How to stop MR8M  reversal after  paying tax (TDS ) on that document

    Hello experts ,
    As Miro document can be reversed (MR8M)  after paying tax on , like TDS  and our requirement is ones we paid the tax on that particular document  it should not be reversed .
    like in transaction FB08 first we have to reset  cleared items ,then only system will allow to reverse .
    same thing we are expecting for transaction MR8M.
    how this can be achieved  ?
    thanks in advance
    Sachin

    Thanks alex for your quick reply
    But i am not able to relate BTE 1050 to restrict MR8M , can you please elaborate it in detail .
    As i want to do this work without taking help of ABAPer   please help .
    thanks
    sachin

  • How to stop the counter after getting maximum amplitude from a waveform graph?

    I am using accelerometer, optical encoder and daq card (PCI MIO 16XE10) for my tyre balancing project. Basically i am trying to stop my edges count from the optical encoder to get the position for putting the mass for correcting the balancing. Could anyone please help me by telling me how i can achieve it or is there any other ways to get the position using the daq card? One more thing, could anyone tell me how to change the waveform graph to frequency domain instead of time domain?

    Time to Freq is easy. 1/time = freq. example. 1 msec period = 1000 hertz (1kHz).
    I guessing you are attempting to design a new spin balancer for tires. I would record the entire "spin cycle with index count" then search the resulting waveform for the max amplitutes. Correlate the indexes and that should give you the high point and location. You might want to count the number of revolutions, then grab that 60% of that number of peaks.

Maybe you are looking for

  • Battery life about 2 hours from a full charge

    I ran an EtreCheck and see a lot of problems but am not sure how to deal with them. Any help would be appreciated! Hardware Information:           MacBook Air (13-inch, Mid 2012)           MacBook Air - model: MacBookAir5,2           1 1.8 GHz Intel

  • Purchase order item level messages EDI o/p control

    Hello, I need to create Item level message proposal...but when I tried to navigate from me22 Item->Morefunctions->Messages...It is disabled...How can I enable the messages @ item level...?How can I propose messages @ item level... Thanks, Larry

  • Firefox doesn't detect that it is installed...?

    I can't download any add-ons because it says I don't have firefox installed. When I click 'download now' it says: "To install this add-on and thousands more, get Firefox, a free and open web browser from Mozilla. Learn more about Firefox or download

  • Job details and batch monitor

    hi ,for a process chain,each process depends on background job,but what is spool  and release in job monitor while seeing display messages for a process chain

  • Storage Spaces Slab Enumeration Fails

    I'm trying to optimize my volumes, and slab enumeration fails consistently at 72%. The space is healthy, and I've tried everything I can think of. If I just ReTrim, no error comes up. I should mention that I'm on Windows 8.1, not Server 2012, but I u