Workitem waiting

I've a workitem that's always in waiting status.
It's a synchronous background task that should call a bapi and send an email.
So it never goes out from this state.
Can you help me??
Thanks in advance.
Tony De Vivo

Another tip.
If I test this task with SWUS it works correctly,
then when executed by workflow it goes in waiting.
Can some one other help me?

Similar Messages

  • DMS workitem from outlook to portal

    Hi,
    I have a requirement for DMS.
    Once the status is set to customer review in SAP, workflow should trigger and send the workitem to customer(he does not have SAP) outlook(external mail- this is already configured). Once he clicks in outlook,he needs to take to the portal(view of CV02N).Once he changes the status (like approve or reject), workflow should notify some couple of people.
    My question is how can get the link in SAP which is used to send to customer's outlook or external system for him to review on the portal.
    Thanks
    Ashok

    Hello,
    Extended Notifications are not going to help if he doesn't have SAP. They are mostly used to inform
    users that they have workitems waiting for them to execute.
    regards
    Rick Bakker
    Hanabi Technology

  • Regarding UWL workitems

    Hello Experts,
    We have created Customer workflow in SRM system and was trying to approve the same via Enterprise Portal.
    We have done all the required configurations and we are not getting the workitems waiting for approval in the UWL.
    Unfortunately, tasks which are completed are visible in the Portal UWL.
    When we tried previewing the standard UWL iView from Portal content we are able to see all the In Progress workitems.
    The same is not visible in the UWL assigned to the Portal role.
    We believe this should  be some sort of permission issue.
    Any pointers in this regards is much appreciated.
    Thanks and regards,
    Vivek

    Dear Santosh
    Here's my answer to your questions
    1) For how many days workitems will be present in UWL if no action has been taken?
    90
    2) if we are having an option of increasing the no. of days where we can do it and what parameter we need to check?
    Check this post
    [UWL: Number of Items displayed;
    3) Any consequences if we are doing chages to the standard behaviour ?
    Depends on what type of changes you're referring to. ;o)
    Kind Regards
    /Ricardo Quintas

  • Workitem attachment to be done

    Hi ,
    I have a workitem waiting with approver 2 .Now approver 1 calls and tell he forgot to add an attachement before approval .
    how can we do this so that approver 1 is given an option( Transaction )  so that he can upload another
    attachment and approver 2 also sees it before his approval .
    I dont't want approver2 to add the attachment of approver1 .
    Regards
    Abhilash

    Thanks for the quick reply I will try it out soon .
    I have completed the workitem attachment deletion program . it is working fine now . I will try the addtion .
    REPORT  ZWF_ATTACH_DELETE.
    INCLUDE <CNTN01>.
    TYPE-POOLS: SWLC.
    include <symbol>.
    DATA :
        lv_header        TYPE swr_att_header,
        lv_objsofm       TYPE swotobjid-objtype,
        lv_objtkey       TYPE swotobjid-objkey.
       ls_fitment       TYPE   r_fitment_mstr,
    data :     lv_xstring TYPE xstring,
        att_id type  SWR_ATT_ID,
        lv_return  TYPE sy-subrc.
    data :  bo_sofm TYPE SWC_OBJECT .
    data : att type SWR_ATT_ID.
    data : w_msg type SWR_MSTRUC occurs 0 .
    data : wa_msg type SWR_MSTRUC.
    selection-screen begin of block b1 with frame.
    parameters: WRK_ID  like SWR_STRUCT-WORKITEMID obligatory ,
                zATT_ID like SWR_ATT_ID-DOC_ID obligatory.
    selection-screen end of block b1.
    start-of-selection .
      att-DOC_CAT ='AT'.
      att-DOC_ID = zATT_ID .
      CALL FUNCTION 'SAP_WAPI_ATTACHMENT_DELETE'
        EXPORTING
          WORKITEM_ID          = WRK_ID
          ATT_ID               =  att
         LANGUAGE             = SY-LANGU
         DO_COMMIT            = 'X'
       IMPORTING
         RETURN_CODE          = lv_return
       TABLES
         MESSAGE_LINES        =
        MESSAGE_STRUCT       = w_msg
      write : ' Return code : ' ,  lv_return.
      loop at w_msg into wa_msg.
      write : /5 wa_msg-MSGID,
              15  wa_msg-MSGTY,
              25   wa_msg-MSGNO.
      skip 2 .
       write :/5 'Message details : '.
      write : /5  wa_msg-MSGV1,
              30  wa_msg-MSGV2,
              50  wa_msg-MSGV3,
              60  wa_msg-MSGV4.
      endloop.

  • Report based on particular workflow

    Hi all.
    We made a custom workflow for t code fv60. It has got various levels of approvals and conditions. Now the requirement is to develop a report based on this workflow - similar to swi1. but our purpose of the report is to show various parked and published FI documents and the various users in whose inboxes these document mails are kept in varios approvaql stages. E. G. If today a document is parked by user abc and is approved at first level by user def and now that document is in user ghi's inbox  as a workitem , waiting his approval, the report should show all the users and the statuses of document at each stage.
    Is it possible?.
    if so please give some sample code or example on how to build the report.
    Thanks
    Ribhu

    Hi,
    Yes, it is possible but it will be specific to your workflow only and as Kjetil says making a very general report like this for any workflow will be tough !!
    However i can suggest the following so that you can start continuing on this
    1. First find out the Workflow Template number used and also list all the major user decision steps Task Numbers ( say approval1 - Task1, approval2 - Task2, approval3 - Task 3) used. Lets call it as {Task List}
    2. Given the from date and to date and type of document ( KR/KG etc..) get all the FI Documents parked/created on these dates.
    3. For each FI Invoice No call SAP_WAPI_WORKITEMS_TO_OBJECT  with proper object type ( should be either FIPP or BKPF) , object key ( company code + doc no + fiscal year), fill in the Task Filter with your Task List}
       a. The Table parameter WORKLIST will contain information about the workitems related to your user decision items, loop through them and if completed find the actual agent else find the list of recipients using SAP_WAPI_WORKITEM_RECIPIENTS, you can show this as inprocess.
    4. Infact once you get the WORKLIST you can do whatever you want.
    If you have more than one possible workflows associated with same Invoice , then you have to filter your WORKLIST again based on correct workflow template number using WI_CHCKWI field.
    Good Luck !!
    Regards
    Krishna Mohan

  • Mass Approve in Workflow

    Hello All,
       We are using FI Payment release workflow.
       In Business workplace diffrent workitem create for diffrent release document.
       Is it possible to Release all workitem at one strock?
    Thanks
    Amisha

    Hello,
    I came across your comments as I'm investigating use SAP workflow for one level of approval and both individual and mass approval need to be available with denial at an individual level only.
    When  you say "There is no (standard) solution to apply one approval result (e.g. "approved") to all workitems waiting"; can you advise if this is possible with customizing and how much customization would be involved?
    Also we are still using SAP R/3 Release 4.6.C, is the multiple exectution feature possible in this release? Thanks in advance
    Aisling

  • User does not get email notifications to his outlook

    Hi All,
    A user has reported that he does not get outlook notifications for corresponding work items in his inbox.
    All the settings are in place i.e. correct email address maintained in SU01 as well as in Infotype 0105 subtype 010.
    Not really sure why he alone does not get any outlook notifications.
    I tried sending a new message manually from SAP Inbox to his external mail id and was successful in this (checked SOST).
    What might be wrong? Please suggest.
    BR,
    Hari

    Hello,
    By "outlook notifications" I assume you mean emails telling the user he has workitems waiting for him to action.
    How are you sending these emails, with Extended Notifications?
    In SU01, besides specifying the e-mail address, have you also put "E-mail" in the "Comm. Meth" field?
    Sending an email directly to his external email address from his SAP inbox doesn't prove much, SAP has to be able to deduce the email address itself.
    Is it just happening for one user? Has it worked before?
    regards
    Rick Bakker
    Hanai Technology

  • Workitem not received in SAP inbox(SBWP)- In SOST status is waiting

    Hi Experts,
    After executing workflow , I am not getting the workitem in SAP inbox.
    I am sending mail using BOR Object type SELFITEM and method SENDTASKDESCRIPTION.
    In SOST , status is in waiting  ( Send method - Remote ).
    For Send method - via Internet its working fine . Mail is sent to external mail address. But for Send method Remote send requests are in waiting status.
    SAPCONNECT job also getting executed every 5 mins in back ground.
    SCOT-RML routing exists with Address area * , Node in use check box i, Node supports : connection test, status, trace , Supported address types - R/3 is checked.
    Please let me know any other settings has to be done to send  workitem to SAP inbox.
    Thanks & Regards,
    Priya.

    Hello,
    "After executing workflow , I am not getting the workitem in SAP inbox."
    You are confusing workitems with emails. SENDTASKDESCRIPTION = email.
    regards
    Rick Bakker
    hanabi technology

  • Looking for transaction start Workitems in status "waiting"

    Hi everybody,
    we have to test some workflows. There are several Workitems in the WF in status waiting. So we have to do a lot clicks tu run this workitems.
    Is there a transaction to start all or some selected Workitems ?
    Thanks a lot
    Regards
    Mario

    At least I am not aware of any "mass complete wait" functionality (if this is what you are looking for?).
    You could list the work items with SWIA, and then Ctrl+Shift+F12 (=Display work item from menu) -> Edit -> Change -> Complete wait. After first time you don't need the "Edit -> Change" part, so it will be just few clicks. Of course it's still quite annoying if you have hundreds of work items...
    Regards,
    Karri

  • Workitem is waiting in Test system

    Hi Friends.
    i am new in workflow. i created one workflow for find and lock employee.
    this workflow is working fine in Development system.
    but its not working in Test system.
    can any one suggest me what should i need to do.
    its waiting one step find lock employee.
    your help will very helpful for me.
    thanks

    Hi 
    in this case 
    1. find lock employee if employee is lock in pa30
    2. wait for 5 min/
    3. check lock employee.
    4. completed the process.
    but the test system the
    3. its waiting for lock employee.
    thanks.

  • Workflow error in fork step, process control, wait event

    I am using fork step in workflow which has 2 parallel branches. In 1st branch i have a user decision step followed by a task for posting PO document in case of approval. In the 2nd branch of fork step I have a wait step to wait for an event followed by the same task for posting document with a process control step after that in the end to cancel the workitem(workitem generated by user decision step in the 1st branch of fork). I created the event by using a custom BOR object.
    After the fork step is triggered, i have both a wait event running and workitem generated. When i raise the wait event from SWUE by entering the event, object key etc it works fine i.e., the workitem in the other branch is set of logically deleted and workflow ends.
    But if the wait event is triggered from the program i.e., using FM SWW_WI_CREATE_VIA_EVENT, both get an error message in workflow log(SWIA). The message is: Error when executing the binding between work item 000000XXXXXX and flow item 000000XXXXXX where workitem number is the workitem id of the posting document task and flow item id is the workflow parent id

    hi,
    message is self explanatory.
    Activate the event trace SWELS, then do the event with SWUE and within your program (als please use SAP_WAPI function modules).
    Now compare the 2 events in SWEL to see what the differences are .
    Kind regards, Rob Dielemans

  • How to re-start the workflow for Shopping carts in WAITING status

    Hi
    We are using 1-step approval work flow, and we get some strange issue. We can add approver in the workflow, but after we click order button and back to check status again, sometimes there will be "Ad-hoc agent not found" issue. Do you know how to solve?
    And one workaround for user is to re-add the approval, and sometimes the shopping cart back to normal. But sometimes, after we add the approver, the shopping cart are in waiting status:
    Workflow Item:
    Workitem-ID 000000714642
    Task WS10000276
    Text One-Step Approval: Value limit: Shopping Cart
    1000114698
    Status WAITING
    Statustext Waiting
    Date 13.06.2008
    Time 10:41:22
    So may I ask how to re-trigger the workflow?

    Hi,
    Thx for that. I need to trigger the Approval workflow to go the the approval manager.
    Can u give me the document on this? thx,  kerry.liu [at] ap.effem.com.
    Thx very much
    Kerry

  • Query on Using fork with wait for event

    Hi All,
    I have a scenario in which a fork has two branches and one branch has the multiple steps along the line and also calls a subworkflow in one of the steps.
    The second branch has a single wait for event to complete the workflow in case of a cancel event.
    My understanding is that when the branch one executes and is on a single step decision or have gone inside a subworkflow and wating for user decision on the workitem created
    Whenever the wait event is triggered on the main workflow the second branch gets executed completing the workflow and all the branch one steps and the subworkflow gets logically deleted removing all the workitem from the inbox.
    Do I have to do any specific process control in main workflow to make sure that the subworkflow is deleted .
    Please clarify on this.
    Thanks,
    Charan.

    It should be taken care by itself. No additional steps required.
    Regards, IA

  • PO Approval Items Workitems are not removed from the Universal Worklist UWL

    Hi,
    Certain of our purchase orders require approval, they are sent to the relevant approver via workflow to their SAP inbox (SBWP) and universal worklist.
    When the user executes the workitem (Approve or Reject) The workitem should be removed from the universal worklist and SBWP when refreshed.
    The problem we experiencing is that the Workitems are not removed from the UWL after they have been executed. The SBWP is behaving correctly and the items are removed.
    It is not all the workitems that have this problem, only certain ones - but there is no pattern.
    Thanks for the help.

    Hi,
    The user B approved the PR accessing the transaction SBWP or via PR transaction directly?
    If via PR transaction directly, then your workflow needs a Wait Event step.
    Regards,
    Kleber

  • Workitem is not opening in UWL configuraton

    Hi,
    In my project UWL configuraton has been done newly..
    When my workflow is getting triggered an workitem is generated for user decision task(General) and its coming to sap inbox and working fine for approval/reject.
    But when the same workitem goes to UWL..its appearing there but when users click on the workitem its not opening...just rendering and wait ... I am unable to understand why the WI is not opening in UWL only while its working fine in sap inbox.
    Can anybody what is the reason for that...is it for portal issue? or ADS connection issue or workflow Task issue?
    Any help will be appriciable...
    Thanks,
    Biswajit.

    Please do not cross post the same question in multiple forums.

Maybe you are looking for

  • Is there a way to prevent an end-user from changing their own password?

    All you guru's out there, I need your help. Is there a way to prevent an end-user from changing their own password? Is there a function or procedure I can create or what?

  • SSRS in Sharepoint 2010

    Hello, We have SSRS 2008 r2 add in SharePoint 2010. We have new data warehouse runs SQL Server 2012. Do we need to upgrade add-in to SSRS 2012. If we need to do it, do we need to purchase a separate license? Or can we just upgrade it? Again if we nee

  • Jsp( %@ include file )

    suppose abc.jsp <% ! x=4 ; %> xyz.jsp <%@ include file = "abc.jsp" %> < % x=4; %> < % System.out.println ' x' =+x %> what will happen ?

  • Can anyone tell me how to change my ID/Password in App store sign on from a memorized one?

    I have been trying to install my downloads for weeks and I am unable to sign in with my id and password because the keychain saved my husbands id and password.  How can I sign in again and save my id and password again?

  • Who called a CFC

    is there a way to find out who invoked a CFC? I would like to check and log who the calling .CFM or .CFC file is from within the CFC being invoked. Sort of like back in the Custom Tag days, I need to know which templated called me. I am looking at th