Execute Background Work Item using Deadline Monitoring

Hi All,
I want to execute a Background Task using Requested Start. The status of Work Item is Waiting. But it is not executing after Deadline reaches and in graphic log it displays no agent. As per my knowledge Background work item is executed by Workflow system itself.

Hi Bikash
check if the deadline monitoring job is running or not. SM37-> Check for job SWWDHEX
if not then schedule it from SWU3.
This is the job which actually picks up the waiting items (waiting for deadlines).
regards,
Modak

Similar Messages

  • Don't want Background Work Item as run as a tRFC

    I have a purchase requisition approval workflow.  My problem is that the purchase requisition is showing WF-BATCH as the user-id that did the release of the PR. 
    My workflow has a sync dialog user-decision step for the approve or reject.  If the user approves the PR then it calls a background synchronous release step.  I have the "Advance with dialog" check box on the background task. 
    When I look at the workflow log the background task starts with the dialog user-id, however it then creates a tRFC entry so the work item actually finishes under the WF-BATCH user-id.
    What setting(s) do I have to change so that the background work item doesn't execute as a tRFC?
    Thanks,
    Jeff

    Hi Jeff,
    I presume you are using the custom workflow and not the std one.
    If so, in your workflow, is the user who is approving the PR is supposed to release he PR or it is different authority who will release PR ?
    If it the same authority who acts on user decision and who should release the PR, I could not get the purpose of not using the step <i>Overall Release</i> similar to std PR release workflow as against using the decision and background release step.
    Because, in this step of std workflow, user will have to act and release the PR and then you will have his name under workflow log.
    As Glauco indicated, for background steps, you will always have name of WF-BATCH.
    Regards,
    Akshay Bhagwat

  • Error when executing a work item (cannot execute a method, biding problem?)

    Hello,
    I created a specific workflow, triggered by an event, from a class I also created.
    From this event, I get some data about a Document (CV01/02/03N...).
    The first step is a task which refer to a method (from the same class above).
    The binding Task <=> Method is the data about the Document and the Workflow ID.
    After I start the workflow, I execute the work item in SWI1, with a breakpoint in the method.
    I can't go in debug, and the work item is in error (in Workflow log) :
    - "Work item 000000590208: Object ZCL_SA3_WF_GED_RECL_FOURN method UPDATE_FID cannot be executed"
    - "EXECUTE_METHOD_OBJECT_SYNC : Dereferencing of the NULL reference".
    Note: The task is not in background processing, in the aim of debugging the source code.
    I did SWU_OBUF and quit/relog SAP.
    Do you have any ideas to solve this problem ?
    I think it's a biding problem, because I can' t even go in debug mode...
    Thanks.
    Regards
    (sap version: ECC 6.0)

    Hi
    Looking at the error message I feel like there is something wrong in the task object and object method. You are using a class in the task make sure that class has the IF_WORKFLOW. Mak sure the task is enabled with synchronous task method check box.
    Regards
    Pavan

  • Transaction/Report to process background work items which r in READY state

    HI,
    Can somebody kindly tell me the transaction/report program to process background work items which are in ready state. SM59 configuration was missing and hence, workflows failed to execute after being started successfully. Now, I want to comeplete these operations.
    Thanks a lot,
    Max

    Hi Max,
    Did you check transaction SWPC? If the workflows are in there you can start them through in a proper way.
    Regards,
    Martin

  • Executing Batch work Item: Transaction brackets of the workflow has been da

    Hi,
    I am integrating workflow with the HR Processes and Forms using HCM.
    The process is new hiring and in configuration I have given the workflow name which is copy of the standard workflow(WS18900008). The event used is draft_created.
    When I execute the process and press the Save Draft, everything goes fine, the workflow gets completed but for the step Save Form Data(WS17900260) throws the following error:
    Executing Batch work Item: Transaction brackets of the workflow has been damaged.
    The task is TS17900108.
    Not able to understand what is this error and to which it is related.
    Pls help.

    Look for SAP Notes as this is SAP standard code.
    Short Text
    Transaction brackets of the workflow has been damaged
    Diagnosis
    When executing the workflow with the ID , the transaction brackets were destroyed by a commit command ('C') or a rollback work command ('R'). This command ('') was stopped from the implementation program of the object type. Access takes place, for example, when a condition is evaluated or when the container operation is executed. Access may only have a read character which is why a commit or rollback work command is not necessary.
    System Response
    The system has written a log entry. Uncontrolled commit or rollback work commands can affect the restart function of the workflow system. This restart function is only necessary in the case of errors. The current workflow instance is executed further.
    Procedure
    Check the implementation program of the object types and remove the corresponding ABAP instructions.

  • Forwarding 'Wait Step'work items using SWIA

    Hi,
    I need to forward work items of one user A to another user B urgently, using SWIA.
    The work items are in executed state. This is after a fork step in the workflow, where the executed work item is one branch of the fork.
    As these items are executed, we will have to forward the work items that are in ready state.
    The work item for the other branch of the fork is in ready state. However this is a wait step, and hence I am not able to forward this item.
    Kindly advise as to how should I forward these items.
    Best Regards,
    Smruthi.

    Hi Smruthi,
    Dont confuse with the wait for events and dialog work item. There is no direct link between the wait for events and the work item.
    Only dialog work items needs the user action and dialog work item's only can be forwarded to other user's.
    For this, the work item should have the status of 'Ready'. If the work item has the status 'In process' that means, the user opened the work item and still he didnt take ant action on it.
    In this case, using SWIA you can manually change the status as 'Ready' and then you can forward the work item to the other user's.
    To forward the work item use the function module 'SAP_WAPI_FORWARD_WORKITEM' or use the SWIA transaction.
    Thanks,
    Viji.

  • MSS PORTAL -  RUN TIME ERROR WHEN EXECUTING A WORK ITEM IN UWL

    Hi all,
    I've a requirement wherein I need to have a custom screen in place of 'standard user decision' task in the UWL of MSS portal. I've developed a custom screen with Approve and Reject buttons and it works fine if I execute the work item from SAP inbox whereas in portal (UWL), it gives a run time error stating,
    Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 10:56_12/05/08_0020_509163550.
    I'm sure that this error is due to missing configuration between the dynpro and the Portal. All inputs in this regard will be of great help and will be valuable to me.
    Thanks in advance,
    Bharathi.

    Hi
    Looking at the error message I feel like there is something wrong in the task object and object method. You are using a class in the task make sure that class has the IF_WORKFLOW. Mak sure the task is enabled with synchronous task method check box.
    Regards
    Pavan

  • "Workflow Template Create" screen  appears while executing the work item.

    Hi,
       I am learning the workflow. I have created a test workflow in which there is a user decision step and 2 mail sending steps for the outcomes of the user decision.The workflow is activated properly . When I excute the workflow the screen for "Workflow Template Create" opens everytime. When I go to the Business workpkace a mail is there in my inbox with the title as given in the user decision step. Again when i am trying to execute the work item in the inbox again the same screen for "Workflow Template create " is opening. I am totaly confused with this problem . Pls suggest what might be the reason..?

    I think the Wflow Template Creation screen is not opening but your current session is getting closed so the previous session which is Wflow Create one which you have already opened is appearing. Please check your template design and act accordingly.
    Thanks
    Arghadip

  • Urgent - How to get a pop up after executing a work item?

    Hi Gurus,
    I am working on a PO Approval workflow which is designed to approve multilevel POs depending upon its amount.
    Now the requirement is that I need to provide a pop up with list of second level approvers to the user immediately when the user executes the work item of first level approval in his/her SAP Inbox.
    Waiting for responses ASAP. Let me know if scenario needs to be clarified in more depth.

    Hi Shaurya
    You can create a method to send a second workitem to the agent with a list of agents for the second level, and pass the selection back to your workflow container.  Set the new task as "Advance with Dialog" and you should be fine.
    Alternately you could set your new method as a secondary method AFTER workitem execution call, but don't forget to check the result of the first approval so the popup is only involed if they have approved the first step.
    Regards

  • Will the reserved work item triggers deadline?

    hi,
    im working on DMS workflow for the transaction CV02N.
    when i got the work item , i have double clicked and it has taken me to cv02n  transaction.
    i did not do any thing in the transaction  and came to my business workplace with out saving any thing .
    now the work item status is RESERVED.
    are these kind of reserved work items are able to trigger deadlines if i mention simple deadline for the work item?
    Raghu

    Hi Agardeep,
    i  have to use deadline with latest end tab for my scenario.
    so,  do this reserved work items are able to trigger deadlines for latest end?
    please suggest
    Raghu

  • Collections Work Item (Processing deadline)

    Hello Colleagues,
    I am trying to determine how the Processing deadline works for Collections Work Items in IS-U.
    If I assign a Work Item Category a Processing deadline of 7 days,  (Mandatory = Blank) and I trigger a Work Item today,  I can see that the Run Date on the header table DFKKWL is set to 7 days past the creation date of the Worklist.
    However, when I do run dunning with Issue date 7 days later, the Work Item is not closed (Still Open). This is not an enforcement work item.
    If you have successfully worked with Processing Deadlines before, I'd really appreciate it if you could share your experiences.
    Thanks a lot.
    Regards,
    Ivor Martin

    Hi William,
    in my project we want to use processing deadlines to automatically close work items when run date is past for work items (mandatory= blank and enforcement= blank) which are still open (statuts New or In process). This should be done before dunning is launched each day.
    I understood that the processing deadline is informational and has no functionality in dunning.
    But I was hoping that a standard way would exist do it? (in function module FKK_0350_WLI_CREATE_AND_CLOSE, or other standard program to launch)
    I didn't find anything about that and any help would be appreciated.
    Thanks a lot.
    Regards,
    Emilie

  • Workflow loop, return the work item to the inbox, instead of automatically executing the work item

    Hello all,
    Within a workflow I have a loop. Inside that a foreground step is executed. Then a condition step is executed to decide if the workflow should continue, stop, or return the work item to the inbox.
    This new workflow was modeled after an existing workflow that is doing just that. Unfortunately, this new workflow is not returning the work item to the inbox. Instead, it just keeps displaying the screen that is called by the function module that is called by the business object method that is executed when the foreground task runs.
    I've included a Word document with further detail in a number of screen prints. Hopefully this is something that will experience workflow developer may have seen before and know how to correct.
    Unfortunately I have done very little workflow development and don't have a clue what might be causing this problem.
    Any help would be greatly appreciated.
    Bruce
    I could not attach a Word file, so I added 3 jpg files.  I would have added another 3, but it seems that posts are limited to 3 files.

    Hi Bruce,
    As per your design, If you are approving or returning, the workflow loops back to the step "Approver - stat key approve".
    Suppose you are one of the approver for this step ""Approver - stat key approve" and if you click on approve or return, then it will try to create a new workitem for "Approver - stat key approve" step.
    As you are one of the approver again, the window opens immediately instead of reaching the inbox of all other approvers.
    Include a dummy activity step in the "approve & return" condition outcome.
    Active the workflow & refresh the buffer SWU_OBUF.
    After this, when you click on return it will not open the same screen again. Instead it will be reaching all the approvers' SAP inbox.
    Thanks,
    Karthikeyan

  • Display not working after using external monitor

    I was using my Macbook Air last night to watch via my external monitor displayed to a tv.  After I was done, I put my macbook Air in "Sleep" mode via the external display.  This morning when I startup my Macbook, I have a blank screen.  My suspicians are it's still in the "External display" mode.  Anyone experienced this before and found a way to switch back to normal display via key sequence or something?

    Reset the NVRAM:
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the third time.
    Release the keys.

  • Speakers not working when using external monitor

    I'm using an HP Envy laptop and HP Pavilion 25bw external moniter connected via HDMI cable. Using Windows 8.1. When the laptop lid is closed the sound is turned off. If I open the lid I get sound for about 2 seconds then it goes off. If I remove the HDMI cable, the sound comes on. How can I get the sound to work with the 25bw connected and the lid closed?
    This question was solved.
    View Solution.

    Hi,
    Please try to diable HDMI sound from Playback devices
      Right click the speaker icon,
      Select Playback devices
      Right click HDMI sound
      Disable it.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Work Item: Is it possible to re-execute a work item ?

    Hello all,
    Once a W.I. has completed, is it possible to re-execute it ?
    Thanks.
    José

    Hi Rick,
    Wel... at first, I was simply double-clicking on the WI in the Business WP and it seemed to me like it was not executing it but after some deeper analysis, I realized that I had a problem with my code and that it was actually re-executing it everytime I was doubli-clicking on it. 
    In conclusion, we can re-execute a WI as long as its status is not "Completed" i.e if the status is "Executed", we can re-execute it no problem.
    José

Maybe you are looking for

  • WHERE IS ADOBE INCOPY????

    I am trying to download inCopy as a trial before purchasing. I click the Download Now button to downoad Adobe Download Assistant. I install ADA on my desktop. When it opens, I login. THEN WHAT? Nothing happens. No downloads. I search through all of t

  • My ibook is too big to be sent???

    When I try to send the book I have just finished, I get the message that it is too big to be sent. What can I do??? Have used a lot of time to finish this book......

  • ICloud/iPhone 4S Photo Stream question

    How do I delete individual photos in Photo Stream album which were taken by my iPhone 4S (with iCloud switched on)?

  • Online tutorial not working?

    Does anyone else get the "?" over the Quicktime icon when they try to watch the Final Cut Tutorial with Shake? I'm dying to see this tutorial! Here's the link... http://www.apple.com/finalcutstudio/quicktours/

  • NLS_LANG PARAMETER

    I WANT TO VIEW WESTERN EURPOE AS WELL AS JAPANESE LANGUAGE CHARACTER FROM MY APPLICATION ...SO WHAT SHOULD BE THE STRING FOR NLS_LANG PARAMETER... I CAN SEE JAPANESE ON JAPANESE REGIONAL SETTINGS & I CAN VIEW GERMAN IN GERMANY REGIONAL SETTING AT OS