Browse Work items assigned to a user.

Hi experts,
is there any table or somewhere where i can get the relation between a workitem and a user when it is assigned to him?  I am looking for a list of workitems assigned to a user that have not been yet processed or something like this.
Than-you very much,
Artur.
Edited by: Artur Rodriguez Coma on Jan 26, 2010 12:37 PM

Hello Artur,
you should find those in the
Table: SWWUSERWI
Depending on your requirements, you could also use the
Function module: SAP_WAPI_CREATE_WORKLIST
which offers a bite more filtering options, takes substitution into account and will probably cope with assignments through the organizational model better.
However, for a quick-view or so, you can be well with that table already.
Best wishes,
Florin

Similar Messages

  • Accessing Work Items assigned to other users from end user page

    Hello Experts,
    We are using Sun IDM 6.0 SP1 at our client place. Most of the applications integrated with IDM are manually provisioned, in the sense, once after all the necessary approvals are received the request will be assigned to a group of provisioners, they will manually connect to the requested application and create the account in native system. There are more than 100 such provisioners in the organization.
    Current design is to assign a work item to all the provisioners (like Multi approval) and once a provisioner assigns the request to himself then the corresponding work item will be taken out from other provisioners approval queue. These provisioners login to end user page of Sun IDM to access their approval queue as only the end user page is SSO enabled.
    Because of the large number of requests in the system (more than 50k) and each request having 100 work items, the number of work items in the system is huge and thus the performance of the system is very poor so we are working to change the design to bring down the number of work items in the system.
    Customer is not convinced to have a dedicated person who can get all these work items in his queue and assign it to the appropriate provisioner, they are looking to have a solution something similar to the current one in which all the provisioner can see all the requests in the system and they can pick from it and assign to them.
    So we are thinking to create a generic id in the system and assign all the work items to that id, and make changes to the “end user work items list” file so that all the provisioner can see the work items that are assigned to them as well as that generic id.
    But for some reason I’m not getting the work items assigned to other users in the end users page. I have tried assigning all the capabilities to logged in user and tried some code changes in “end user work item list” page.
    Please share if you have any sample code which can list the work items assigned to other users in end user page. Also please let me know if there is any better alternate to this problem.

    Hi,
    There is a option to find and get other user's workitems. Please check the attestation and remediation tab. Use the form portion from attestation page and add it in the Work item list form. This will enable to the user to search for another user's workiteams and assign it to him/her manually. (The user needs to be assigned proper admin rights)
    To get all the workitems, in the system, you will need to query the repository for all the workitems.... but not sure it will be a good idea in your case as the volume is very high.
    Hope it helps
    Regards
    Arjun

  • Browse work item on WAS

    Hi,
    I would like to know how to browse work item through browser where WAS only installed in non-production environment.
    We deployed custom travel management application which was developed by using WD Java. Once user submits a trip request, work flow will be triggered in R3 and displayed in his Managers UWL inbox. This functionality only works in Prod environment as Portal installed.
    Is there any way to browse work item ..
    http://abcd.in.com:59100/webdynpro/dispatcher/mytrak.com/dc~travel/ApprovalApp?app.claims=n&app.wi_id= workitem_id
    Appreciate your inputs.
    Thank you,
    Ajay

    Hi Girish,
    I understood your problem.
    A method can be Synchronous or ASynchronous. You can check this by double clicking on the method in your business object (a check box for Synchronous ).
    If the method your calling is synchronous then inspite of creation or cancellation or any kind of action you take the workitem will be gone since its an Synchronous method.
    If the method is ASynchronous, the work item will be gone only when some conditions are satisfied.
    Now the question is how to set those conditions.
    1. Create your method as ASynchronous (Remove the check box).
    2. Go the your workflow and create an activity with task having this ASynchronous method. There is a tab in your task called "Termination Events" Give the events for which you want your workitem to get terminated.
    Please check what is the event available for Posting/Parking the document and use that event in the termination tab of Task.
    if there is no event then you need to create an event and trigger it manually in some user exits when the document is parked.
    Hope i have clearly explained you. If you didnt understand anything, revert back to me.
    Regards,
    Gautham Paspala

  • How to retain the work item in inbox of user if user press the icon cancel?

    HI,
    we  are using a text editor in approval section of workflow where the user needs to enter the reason for apporval or rejection.
    the requirement is how to retain the work item in inbox of user if user press the icon cancel? there are two icons in editor,one is ok(tick marg) and cancel(cross mark).
    so when user dont enter any text in the editor and press on cancel icon,then approval/rejection should not authorize and work item will remain in the user's inbox .unless and untill he enters the text.
    i have tried   LEAVE TO TRANSACTION 'SBWP'.leave program etc but nothing is working.
    please guide me.
    thanks
    prsahu

    Hi,
    Go with Sangvir Singh suggestion.
    It also looks neater from a Business Process Modeling perspective. You continue the process flow only when a change has occurred.
    Kind regards, Rob Dielemans

  • WORKS ITEM 565556 LOCKED BY USER (ENQUEUE)

    Hi
    Im having a problem with workflow,
    message appearing as follows, i dont know which user it is?
    WORKS ITEM 565556 LOCKED BY USER (ENQUEUE)

    Hi,
    Check in SM04 Trxn code whisch user has locked/using.
    Reg,
    Ashok

  • Work item for an only user

    Hi guys,
    my problem is this:I have a wf structure for invoices blocked----->at a certain point I enter a simple condition:if account assign category of PO is Q I have two  'containers' which set Organization unit,Rule number tasks for Purchasing group and then he send mail nodes which send  an e-mail to different Purchasers and the inbox of these Purchasers are obviously filled...if account category is P I have decided that it is noot important the Purch Group and so I have entered only a 'send e-mail' node which sens an e-mail to an user and no other.When the flow closes itself I have entered an activity node which display the invoices blocked(task TS90000030).
    Now the problem is that even when the flow follows the way to send a simple e-mail to a fixed user all the other users(those associated to a PO account category Q and in Organizational Structure)receive in their inbox the communication of invoice blocked with PO account assign category P which instead it should gone only in inbox of fixed user..This fixed user is not in organizational structure but I should want that in inbox the other users obviously don't find the work items not for them..
    Thanks in advance for attention
    Bye
    Massimiliano

    Hi.
    Why are you using two ways of geting the users ? Organization unit and Rule number tasks for Purchasing group ?
    Why don't you use only to one kind ? OR HR or only by MM ?
    Is your WF a standard one ?
    But in your design it is getting always ALL users independently of your scenario. Why don't you divide it in two different work items. Put a condition before and folow a way when it's type Org. unit and another way to Rule ?
    Why don't you use release strategy configuration to get users by release code configuration like in PO/PR WF's ? ASk to your MM functional to configure in SPRO, strategies type 9 (EXIT). In this EXIT, you find users by role (basis role by release code) ?
    best regards.
    Glauco

  • Administrator Check work item displayed to all users.

    Dear All,
    Following Workitem which is created from Leave workflow is appearing commonly to all users.
    there approx. 200 Workitems as HR Administrator: Check Request Data with R/3 Data
    As SAP suggested , we have removed the binding in Administrator Check Task. wast that  the problem ?
    When I check the table SWWUSERWI, all these workitems are not there.
    From where system picking up these administrator Check workitems and what will be the solution ?
    Thanks in advance.
    Regards,
    Kamal Rawal

    Hi Surjit,
    SAP is suggesting to apply the Note - 779075.
    Note says-
    The application "LeaveRequestAdmin" is not released. Use transaction
    SWFVISU to delete the following entry:
    TS12300104 WebDynpro Java
    APPLICATION LeaveRequestAdmin
    PACKAGE sap.com/ess~lea
    You must then register the work items again. For more information about
    registering work items, see the UWL documentation.
    Rule binding for 60100010   HRA dmin is removed. But Terminate if RUle Resolution wiout result is ticked.
    How to Register the workitem again ?
    Regards,
    Kamal  Rawal
    Edited by: Kamal Rawal on May 11, 2009 6:33 PM

  • Agent not receiving work item assigned to him

    Dear gurus,
    we're using SRM server 550 with SP08. We are using n-step workflow for contract change version. The approvers are being determined by reading from a table. In total there are 8 approvers determined. We then add one more approver manually. Then we do the approval. The approver1 manage to approve the contract successfully. However the problem come when approver2 want to approve, in which the contract not appear in his inbox.
    When we check the contract again, we still see the approver as approver2, with slight difference in which there is no information "In approval since xxxx".
    Can anyone suggest how can we prevent this to happen? And what can we do if such case happens?
    Best regards,
    John

    Hi,
    Why do you want to add the approver manually?
    where do you add the approver? as second approver?
    In the N-step badi , system will always retrieve the approver based on the coding in the BADI.
    In the Badi you will be specifying the index for each of the approver involved in the approval chain.
    looks like in your case , system is not able to identify the correct approver and so the work item is not send out.
    is the approval flow working correctly without an added approver?
    regards

  • API to get Work Item and Attached Information

    Dearl all,
    Is there any API to get the work items assigned to specific users and their attached information during runtime?
    Thanks, Jerome

    HI Jerome,
    This code will help you: API FM is " 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    DATA : w_name TYPE sos04-l_adr_name.
    SELECT-OPTIONS :
    Recipient address
      s_name FOR w_name DEFAULT sy-uname NO INTERVALS.
    START-OF-SELECTION.
    E-mail Abap report
      PERFORM f_send_mail.
    Form f_send_mail
    FORM f_send_mail.
    Data Declaration
      DATA:
        l_datum(10),
        ls_docdata    TYPE sodocchgi1,
        lt_objpack    TYPE TABLE OF sopcklsti1 WITH HEADER LINE,
        lt_objhead    TYPE TABLE OF solisti1   WITH HEADER LINE,
        lt_objtxt     TYPE TABLE OF solisti1   WITH HEADER LINE,
        lt_objbin     TYPE TABLE OF solisti1   WITH HEADER LINE,
        lt_reclist    TYPE TABLE OF somlreci1  WITH HEADER LINE,
        lt_listobject TYPE TABLE OF abaplist   WITH HEADER LINE,
        l_tab_lines TYPE i,
        l_att_type  LIKE soodk-objtp.
      WRITE sy-datum TO l_datum.
    List of Users According to Logon Date and Password Change
    NOTE: Create ALI/OTF Document in Spool
        MESSAGE ID 'ZWF' TYPE 'I' NUMBER '001'.
      SUBMIT ZMM_MIR_RPT_FOR_WORKFLOW VIA SELECTION-SCREEN WITH valid = 'X'
                      WITH notvalid = space
                      WITH unlocked = 'X'
                      WITH locked = space
                 EXPORTING LIST TO MEMORY AND RETURN.
                 IF sy-subrc = 0.
      ENDIF.
    MESSAGE ID 'ZWF' TYPE 'I' NUMBER '000'.
    Read list from memory into table
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          listobject = lt_listobject
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.
      IF sy-subrc <> 0.
      Error in function module &1
        MESSAGE ID '61' TYPE 'E' NUMBER '731'
           WITH 'LIST_FROM_MEMORY'.
      ENDIF.
    IF sy-subrc = 0.
      CALL FUNCTION 'WRITE_LIST'
        TABLES
          listobject = lt_listobject.
    ENDIF.
    IF sy-subrc = 0.
    endif.
    Because listobject is of size RAW(1000)
    and objbin is of size CHAR(255) we make this table copy
      CALL FUNCTION 'TABLE_COMPRESS'
        TABLES
          in             = lt_listobject
          out            = lt_objbin
        EXCEPTIONS
          compress_error = 1
          OTHERS         = 2.
      IF sy-subrc <> 0.
      Error in function module &1
        MESSAGE ID '61' TYPE 'E' NUMBER '731'
           WITH 'TABLE_COMPRESS'.
      ENDIF.
    NOTE: Creation of attachment is finished yet.
    For your report, the attachment should be placed into table
    objtxt for plain text or
    objbin for binary content.
    Now create the message and send the document.
    Create Message Body
    Title and Description
      ls_docdata-obj_name = 'Outstanding MIR'.
      CONCATENATE 'Outstanding MI-Report sent by' sy-uname l_datum                                     "#EC *
            INTO ls_docdata-obj_descr SEPARATED BY space.
    Main Text
      lt_objtxt = 'Outstanding MIR Report' &
                  'List of Outstanding Goods Receipts under inspection 103 movement'.                       "#EC *
      APPEND lt_objtxt.
    Write Packing List (Main)
      DESCRIBE TABLE lt_objtxt LINES l_tab_lines.
      READ TABLE lt_objtxt INDEX l_tab_lines.
      ls_docdata-doc_size = ( l_tab_lines - 1 ) * 255 + STRLEN( lt_objtxt ).
      lt_objpack-transf_bin = 1. " If u want to CLEAR inbox evrytime
      lt_objpack-head_start = 1.
      lt_objpack-head_num = 0.
      lt_objpack-body_start = 1.
      lt_objpack-body_num = l_tab_lines.
      lt_objpack-doc_type = 'RAW'.
      APPEND lt_objpack.
    Create Message Attachment
    Write Packing List (Attachment)
      l_att_type = 'ALI'.
      DESCRIBE TABLE lt_objbin LINES l_tab_lines.
      READ TABLE lt_objbin INDEX l_tab_lines.
      lt_objpack-doc_size = ( l_tab_lines - 1 ) * 255 + STRLEN( lt_objbin ).
      lt_objpack-transf_bin = 'X'.
      lt_objpack-head_start = 1.
      lt_objpack-head_num = 0.
      lt_objpack-body_start = 1.
      lt_objpack-body_num = l_tab_lines.
      lt_objpack-doc_type = l_att_type.
      lt_objpack-obj_name = 'ATTACHMENT'.
      lt_objpack-obj_descr = 'Outstanding MIR'.                   "#EC *
      APPEND lt_objpack.
    Create receiver list
      LOOP AT s_name.
        lt_reclist-receiver = s_name-low.
        lt_reclist-rec_type = 'B'.
        APPEND lt_reclist.
      ENDLOOP.
    Send Message
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = ls_docdata
          put_in_outbox              = ''
        TABLES
          packing_list               = lt_objpack
          object_header              = lt_objhead
          contents_bin               = lt_objbin
          contents_txt               = lt_objtxt
          receivers                  = lt_reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc = 0.
      Document sent
        MESSAGE ID 'ZWF' TYPE 'S' NUMBER '002'.
      ELSE.
      Document <&> could not be sent
        MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
           WITH ls_docdata-obj_name.
      ENDIF.
    ENDFORM.
    Thanks and Regards,
    Prabhakar Dharmala

  • Retain work item in user's inbox

    HI ,
    I have a DMS approval workflow in which we have a requirement for text dialog box/editor to enter the approver's comment.
    which is working fine but if i click on cancel or dont enter any values in the body of the dialog box/editor.in that case the work item is vanishing from user's inbox.
    it should remain in user's inbox unless and until u provide a proper comment in the editor.could you please guide me?
    Regards
    prsahu

    Hi prsahu,
    In the Task, there is a option called 'Confirm End Processing'. When the approver's close the work item, one pop up will come and ask the user to complete the work item.
    Try to make use of it.
    Thanks,
    Viji.

  • How to forward a work item from user inbox

    Hello,
    We are trying to find a way to remove work items from a users inbox. the workitem has not been opened
    and also it is possible that the work item is in more than 1 users inbox.
    we want to remove the work item from only the 1 user and leave the work item in the other user's inbox.
    Regards
    Gaurav Maini

    Hi ,
    U can see the workitem of the user by the table SWWUSERWI giving user id.
    select the workitem id.
    Go to the transcation SWIA.
    Forward the workitem to your inbox.
    This will not appear in user inbox anymore
    Regards
    Pranab

  • How to stop workitem complete or how to keep work item in inbox based on conditions even if it completed

    Hi,
    my requirement is to call webdyn pro screen from workflow..
    i am calling webdynpro screen by using FM :CALL_BROWSER from workflow.
    when webdyn pro screen is called user will enter some values . if user closed webdyn pro screen with out entering any values we need show this workitem in his inbox. so that user can again open it and enter values in the webdyn pro screen.
    Please help how to stop work item complete based on conditions.
    Thanks,
    phani

    Hi,
    As per my understanding, this is not a proper approach toy call web dynpro using FM CALL_BROWSER. is the web dynpro screen being called when user clicks on the work item from portal UWL OR from SAP SBWP ?
    if you are calling web dynpro screen from portal UWL when user clicks on work item link, better you achieve it using SWFVISU tcode. in SWFVISU tcode you can maintain which web dynpro. application to call when particualr work item task come in user's inbox. in your web dynpro code, then you can write your buisiness logic when user clicks for example SUBMIT/SAVE button. on action submit/save button you can use FM SAP_WAPI_WORKITEM_COMPLETE to complete the worktiem once the user clicks on final submit/save button. in this way the workitem will get removed from user inbox only upon clicking on submit/save button.
    You can refer below link for web dynpro for workitem:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70648e99-4cc1-2c10-879d-9c61003c69d6?QuickLink=index&…

  • Transaltion in work item title not working consistently

    Hi,
    I am seeing a strange behaviour in SAP business workfplace with respect to the work item title (subject line) translation........................
    - Some prelimenary info : All work item translations for title (subject) and work item body are completly maintained
    - System : SAP ECC 6.0
    Problem being faced
    1. Workflow is trigerred by an user with English login and this generates a work item to the another users
    2. The work item receipent logs in in different langiage say german...................he then starts SBPW to check this work item
    3. The title of the work item appears in english while the same title which appears in the work item body also is shown in German (User log on language)..................
    4. The user displays (not execute) the work item........................The work item title is shown in in German.
    5. The user returns to the inbox and then the work item title changes to German language.........................
    Has any one encountered this problem.......................I looked for SAP notes but could not find any note suitable for this..........................
    I assume it is more a SBWP bug but want to gather some experience from this group
    Thanks
    Kiran

    Hi,
    This may happen due to the problem in language translation. Please maintain the language translation properly then test it agian.
    Pleae check the table HRS1206 where OTYPE = 'TS' and OBJID= 99000031 ( task number ) whether the multiple language translation is maintained or not. If not thenyou need to maintain through transaction SE63.
    Please visit below link for more details.
    http://wiki.sdn.sap.com/wiki/display/ABAP/TranslatingTaskDescriptionusingSE63
    Thanks and regards,
    SNJY

  • How to Edit work item in Workflow

    Hi all,
    I have a requirement like this .....
    I have to process the Error Idoc  to the respective Sap Business workplace based on the Position assgigned.
    Now my question is...I am able to send the IDOC to the Business workplace as work item. But the USER wants to Edit the Idoc and process it further...Please guide me how to approch it.
    Thanks in advance
    Chakri

    Hi,
    I am after processing the Idoc to Work item...
    Double click on the work item which in turn takes to the "Display Record"...in the screen itself..Menu bar
    we have EDIT --> Foreground Processing   ---> Visible
                                 Foreground from Error    ---> Visible
                                 Background Processing  ---> Visible
                                 Set delete Indicator          ---> Visible
                                 End process                                    ---> Disable
                                 Continue Despite syntax error        ---> Disable(Want this to show in Visible )   
    Please help me on this case.
    Thanks in advance
    Chakri

  • Enqueue for work item n deleted by called application

    Hi All
    We upgraded from 4.6C till ECC6.0 and from then we receive occasionaly messages in SM21: Enqueue for work item 000001198539 deleted by called application.
    This results in problems when 2 dialog task are executes after each other. Somethimes the second taks is not executed. I find in the log the following errors:
    - Temporary error in result processing of work item 000001199739
    - Error when loading component: Work item 000001198388 locked
    - Work item 000001198388 locked by user WF-BATCH (enqueue error)
    This is the head of the WF that's locked..
    We implemented all relevant OSS notes regarding the message, but still we receive those messages (notes 1040693 - 1050793 etc) We are on support package SAPKB70012.
    I have checked the code in our custom WF and in some background task we use a DEQUEUE_ALL. Can this be the problem? The WF worked perfectly in 4.6C.
      CALL FUNCTION 'ENQUEUE_EFBKPF'
       EXPORTING
    *   MODE_BKPF            = 'E'
    *   MANDT                = SY-MANDT
         bukrs                = i_bukrs
         belnr                = i_belnr
         gjahr                = i_gjahr
    *   X_BUKRS              = ' '
    *   X_BELNR              = ' '
    *   X_GJAHR              = ' '
    *   _SCOPE               = '2'
         _wait                = 'X'
    *   _COLLECT             = ' '
       EXCEPTIONS
         foreign_lock         = 1
         system_failure       = 2
         OTHERS               = 3
      IF sy-subrc <> 0.
        RAISE locked.
      ENDIF.
      UPDATE vbsegk SET zlspr = i_zlspr
                    WHERE ausbk = i_bukrs
                      AND belnr = i_belnr
                      AND gjahr = i_gjahr.
    *                and ( zlspr = 'A' or zlspr = 'Y' ) .
      COMMIT WORK AND WAIT.
      CALL FUNCTION 'DEQUEUE_ALL'
           EXPORTING
                _synchron = 'X'.
    Any help appriciated
    Kristof

    The entries we have solved by removing the DEQUEUE_ALL function in a method.
    Still we receive somethimes errors in the workflow log
    Temporary error in result processing of work item <n>
    Message no. SWP030
    Error when loading component: Work item <n> locked
    Message no. SWP034
    Work item <n> locked by user WF-BATCH (enqueue error)
    Message no. WL605

Maybe you are looking for

  • Two SAP system in one host and one oracle software

    Hi SAP Gurus, We want to install Two SAP system (PR1 & PP1) in one host(Prdb05) and one database (Oracle). I dont want to do MCOD. I am very confuse about what changes i need to make before start the install of PP1. Actually i do not required to inst

  • Why i cannot open my skype account

    Why tell me

  • Problems with catalog etc in Lightroom 5

    I`ve got a pc with Windows 7 and Lightroom 5. Earlier today I imported a few houndred photos into Lightroom and it was successful. Then I had to go to the store and i closed Lightroom and turned off the computer. When I started  it again now and sat

  • CC App shows LR5 not installed even though it's installed and working

    I subscribe to the Photography CC Plan and I went to the CC App today looking for the LR 5.7.1 update.  The CC App showed LR5 as being up to date even though LR5 shows its version as 5.7.  I quit the CC App to see if that would force it to show the u

  • Elements 12 save for the web not working

    The save for the web function has stopped working in my copy of photoshop elements 12.  I get this message, " The operation could not be completed.  The system cannot find the path specified" Resetting preferences did not fix.  Windows 7 64 bit is th