Open work items to keep in inbox

Hi Experts,
I am executing work item from sap inbox  it will calls the z modulepool screen. Hear I have 3 options. Approve, reject and cancel.
If I want press cancel I want keep the work item in inbox in same user.
For that what can I do .
If I use the FM u2026SAP_WAPI_PUT_BACK_WORKITEM how do get the work item ID into z screen (zprog).
Or if I redesign the workflow with loop to same use. How can set the loop.
Please suggest.

You can pass the workitem through binding and execute the FM you have mentioned.
&_WORKINGWI.WORK ITEM ID&.
If this container is not available you can get the Instance Id which you will surely get and go to
SWWWIHEAD Table
Provide the Instance Id as TOP_WI_ID
WI_RH_TASK will be the activity task that calls module pool
WI_STAT as <> COMPLETED
Thanks
Arghadip

Similar Messages

  • Can I report on the AGE of open Work Items? How? Group into Buckets?

    Is there a way to report on the age of open work items?
    Perhaps a bar graph that has several buckets.
    a.    Over 364
    b.    180 to 364
    c.    90 to 179
    d.    1 to 89
    And then a COUNT in each bucket. 
    For example, if a Work Item is open longer than 364 day, it would appear in bucket "a" as a count of 1.  Say there are a total of 45 Work Items that were opened older than 364 days, then "45" would appear in column "a" now say that there are 100 work items open that are 1 to 89 days old, then 100 would appear in the "d" bucket.
    Make sense?  How can I report like this?

    Hi mrpeepers,
    You can use following MDX script when you create this report that uses TfsOlapReportDS
    with
    member [Measures].[Age]
    As
    IIF([Measures].[Current Work Item Count]>0,DateDiff("d",cdate([System_CreatedDate].[Date].CurrentMember .name),Now()),null)
    member [Measures].[AgeRange]
    as
    case
    when [Measures].[Age] >70 then 70
    when [Measures].[Age] >60 then 60
    when [Measures].[Age] >50 then 50
    when [Measures].[Age] >40 then 40
    when [Measures].[Age] >30 then 30
    when [Measures].[Age] >20 then 20
    when [Measures].[Age] >10 then 10
    when [Measures].[Age] >0 then 0
    when [Measures].[Age] <0 then -1
    else null
    end
     SELECT
     non empty
     {[Measures].[Current Work Item Count],[Measures].[Age] ,[Measures].[AgeRange]}
     ON COLUMNS,
     [System_CreatedDate].[Date].[Date].AllMembers on Rows
     FROM [Current Work Item]
    And then, drop a Chart to report designer, select “Current_Work_Item_Count” as datafield,  AgeRange as category field.
    Best Regards,
    Ruiz
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Sincerely,
    Ruiz Yi

  • Viewing ALL Open Work Items and Corresponding Approvers in System

    Is there a workflow report in ECC that displays ALL open work items in the system at any given time and their approvers that need to take action?

    Hi ,
    SWIA -  You can give a status of the workitem ( Ready , Inprocess ...........), workitem type (dialog....)
    in the selection criteria and also the time then you can find all the open workitems.
    And also you can check Header table SWWIHEAD it includes all the information related to workflows
    but this is a lenghty process need to process object type and need to refer so many attributes.
    best way is need to create one report make use of it.

  • Approval Work Item still appears in inbox after approval

    Hello, We have an issue in SRM 7.0 UWL when an approval work item at a specific level finds more than 1 approver.
    1) When there is more than 1 agent at a specifc approval level, after the item is approved the work item still stays in the Inbox of the approver. However, the approval tab on the document in SRM shows that approval is now at next level. The workflow log does not show any updates based on the approval that was done.
    2) However, if the work item in UWL is clicked on twice, and approval is done from the webdynpro launced the second time, then it behaves correctly. Workflow logs get updated, next approval is routed correctly, and work item is removed from inbox.
    Note: This only happens when an approval level has more than 1 agent. If there is only 1 agent, the behavior is correct.
    Appreciate any help!
    Zack

    Hi,
    Is this a standard solution or modified solution?
    You could have faced a bug in the standard work item completion code. I have seen this a few times (not with SRM though). Coul you check that what is the actual status of the work item after you have tried to approve the work item for the first time. You can check the status in transaction SWI1 (or table SWWWWIHEAD). Is the status COMMITTED? And after you try approve it second time, does it get status COMPLETED? IF this is the case (the status is COMMITTED after first approval), there is a bug in the code somewhere. You might find a solution for this from OSS. IF you have some kind of customized solution, you need to talk with a WF consultant - basically you need to call the work item completion function two times in a row.
    Regards,
    Karri

  • Forwarding of Work Item from Approver's Inbox

    Hi All,
    We are in SRM 5.0 SP07 Classic Scenario.
    We have a requirement of restricting forwarding of work items from approver's inbox to users who do not have a approver's role. Presently, when the system takes in a user ID who is having a requisitioner role or for that matter any role. The requistioner receives a work item but the requsitioner is not be able to approve/reject the workitem.
    We would like to ensure only the approvers are selected in search and other users are not even displayed for selection.
    Is there a way to achieve this?
    With Regards
    Sathya

    Hi,
    As per the config guide,when you try to assign the User,using the FIND button,you will get to see all the users with the role "SAP_BBP_STAL_MANAGER" who can approve.
    Else you can filter the possible selection with the BADI BBP_CHNG_AGNT_GET.
    See the foll thread for more pointers:
    Re: Selection of approvers for Bid
    BR,
    Disha.

  • Incomplete Approval Work Item Removed from Agent Inbox

    Dear All WF Experts,
    I noticed this strange scenario:
    Let say Agent A and Agent B are sent a work item.
    If Agent A has executed the work item in SBWP previously, the work item is removed from Agent B's inbox (And the status is changed to 'STARTED'). However, the work item is not processed yet.
    Is there anyway to make the work item stays in the inbox until either agent approved the work item?
    Thanks in all advances.
    Regards,
    YL

    Thanks Arghadip for your response. Sorry for my blunt question.
    Actually, the Agent A and Agent B are the approvers for PR approval by position (Agent A and Agent B are the users in the mentioned position).
    Thus, when a PR is raised, both Agent A and Agent B received the same PR work item.
    If Agent A execute the work item but does not release the PR, the work item still remains in Agent A's inbox as there is no terminating event. So, based on the logic, in Agent B's inbox, the work item should still be there because the work item is not fully processed yet (no terminating event takes place).
    But, now, from what I saw, as long as any of the responsible agents executed (started) the work item, even if they do not release it, the work item is removed from all other agents' inbox and only remain in the inbox of the agent who first executed the work item.
    I interpreted this as there is at least one agent already view the work item and know the existence of the PR to be approved, thus the other agents do not need to bother about the PR anymore. But, is my interpretation correct? And is there anyway to make the work item stay in the inbox of all approvers until there is one terminating event?
    Thank you so much.
    Regards,
    YL

  • Error while opening work item in Inbox sbwp for verifcaion of right invoice

    Hi,
    I am working on SAP workflow with IXOS.
    I faced  a problem in opening the workitem when it came into the inbox.
    In nomal scenario when i click on the workitem under workflow folder in my inbox, it opens the attached document in document viewer, i can see the attached document ,and after verifying it ,i can furher process it.
    But now when i click on the work item in my inbox it directly takes me to the next processing window, without opening the attached document for my verification, so i am unable to check that i am processing the right invoice.
    Please help.

    Yes, it was working fine before.
    And also the problem generally rise in afternoon.

  • Could not open work Item having form with approve option

    Hi all
    I am using a form step in my work flow.
    Display form is working well.
    But when I use approve form, work item is reaching the correct inbox, but while opening the work item, it is showing the message as below instead of showing the form.
    Form cannot be executed (parameters incorrect)
    Message no. SWY_TASK_FORM029
    I could not able to find out, why this message is coming. Also In my work flow no errors are there.
    Can any one help me to solve this issue.
    Regards,
    Avinash.

    Thanks for the reply.
    The below three elements are binded correctly,
    &FORMPROGRAM&
    &FORMDYNPRO&
    &FORMCONTAINERELEMENT&
    In display form below container element is also created, For this element I have binded manually.
    &FORMWORKITEMID&.  Whizard didnot created the biding for this element in Display Form
    But in Approve form container element &FORMWORKITEMID& is not at all created while creating through whizard.
    Does this is causing the Issue?
    Regards,
    Avinash.

  • Auto-open work item

    Hi!
    I'am a beginner at AL BPM and I have a basic question about working with work items.
    I'm trying to design a process model where on the first step end-user should fill a request form. So my process model has a global creation activity that creates a process instanse and the first interactive activity is "Create request". Within this interactive activity end-user fills and submits a request form.
    When user starts the process in the Workspace a new task "Create request" appears in his Work Items pane. To execute the task user must click the task. Fron the point of view of end-user it would be more comfortable if the request form opens when he starts the process.
    Is it possible to open the first task automatically after starting the process without any manual operations?
    p.s. Possbly I could add an appropriate screenflow to a global creation activity, but in this case I have no opportunity to specify parameters to a global activity in simulation model. It is critical to evaluate the "Create Request" activity within simulation, that's why I've added an interactive activity "Create Request".
    Thank you in advance.

    (sorry - I did not see that Ruben had also posted an answer)
    Hi,
    Yes, you can have the same participant automatically invoke the screenflow for the next Interactive activity without going back to the Inbox. One caveat to doing this - if you make this change, it effects every participant using the Workspace. Some end users may not like this functionality.
    The "workspace.properties" file in the <Studio or Enterprise home directory>\webapps\workspace\WEB-INF directory has a "fuego.workspace.execution.performNextActivity" property. The default for this is false. If you change this to true, the currently logged on participant will continue to execute Interactive activity screenflows for a work item instance without having to click the Inbox.
    For this to work, the participant would just need to be authorized to perform the activities (assigned to the roles) that the work item instance flows through. Once the instance reaches an Interactive activity in a role that the participant is not assigned, they no longer would automatically invoke the Interactive activity screenflows.
    Hope this helps,
    Dan
    Edited by: Daniel Atwood on Sep 21, 2009 11:45 AM

  • HCM Forms&Process :Authorization error while opening work item in the UWL

    Hi,
    The process has been started successfully and the work item was appeared in the  UWL of MSS.
    But when I try to open the work item  , I got the following errors:
    "User XXXX doesnot have authorization on pernr 8000123"
    "You are not authorized to process this process"
    When I checked, the User XXXX has the required roles for authorization such as SAP_ASR_MANAGER and SAP_ASR_EMPLOYEE and the authorization object P_ASRCONT has been assigned to it as well.
    Still why these errors are coming?
    Does anybody know about it?
    Thanks & regards,
    Lek

    Hi,
    I have had exactly the same error. Make sure you have read the help.sap.com documentation carefully:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/43/3d8f8118391bcbe10000000a1553f7/frameset.htm. The minimum requirement is access to one infotype (it does not matter whether there is data in the infotype and it does not matter which infotype you choose) via CHECK_MIN_PERNR_AUTHORIZATION of BAdI HRPAD00AUTH_CHECK. More specifically, we solved it be providing access to infotype 0002 to all employees.
    Furthermore, check what level of authorizations you have set in the config for the activities.
    IMG->Personnel Management->HR Administrative Services->Authorizations->Define Authorization Method for Activities (All Processes) or Define Authorization Methods for Activities (for Each Process Group).
    This should help you solve your problem.

  • Workflow - passing work item automatically from one inbox to the next one

    Hi,
       We have a pretty customized work flow and SAP is configured to start the workflow after creation of PO. For some POs created by a user, we want the POs / work item to be sent automatically  / by background job from that user's inbox to his /her manager's inbox for approval without manually executing the work item.
    I looked at the FM SWU_PROCESS_MANUEL_DECISION, but could be called only by dialog. I checked the transaction SWIA, but need manual input.
    We are in 4.6b, can anyone tell me how to do the same?
    BTW, I tried to create a custom FM based on above, but lots of issues on that as well.
    If I can change the workflow, all I want is, check the initiator and PO types then based on that either forward directly to next approver or just leave it in the inbox of the initiator so that the initiator can approve manually after verifying the PO.
    Regards,
    Sundar.

    Moderator note: As per comments, IA's answer was accepted as correct, thus marked accordingly.
    Please note that even if you found the answer before someone posted the same, it is still a good idea to mark an answer as correct:
    Firstly they did make the effort to help you, and - more importantly - it shows someone else reading this thread later on what the correct answer is.

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

  • Purchase Requisition Work -item disappering from SAP inbox

    Hi,
    My users are forwarding  Purchase requisition work item from SAP inbox which is disappearing from agent inbox as well from forwarded inbox also.Please guide me
    Abhijit Bagade

    Hi Abhijit
    Please refer to SAP not 1308276 .Which tell about the work items.
    1308276 - WF: Forwarded work items are not displayed in the inbox
    Hope this will solve your problem
    Regards,
    Nitin Amritkar

  • Work item stucked on SAP inbox

    Hi Gurus,
    I have a problem on workflow items that are stucked on our approver's SAP inbox even after the PR or PO has already been approved/released. When I check the log, the status is still "In Process". This does not happen always and not for all our PR/PO docs.
    Can you help/guide me on where to look for the root cause so i'll know where to correct.
    Thanks,
    Marianne

    Hi MM,
    how is the PR/PO done for these workitems that are stuck?
    I mean was it sent to users SAP Inbox and he released it from his Inbox, or is it that though he got a workitem in his SAP Inbox, he released it thru ME54N/ME28N.
    Because in the later case, you have to define your WF such that if user directly releases them from the T-codes, it should terminate that WF so that it deletes from users SAP Inbox.
    Hope it helps.
    Aditya

  • Problem while opening work item in SRM-portal from universal work item list

    hi all ,
    when i am trying to execute a workitem present in the UWL its giving following error
    - i cant give a screen shot here so i have copied the text.
    - i think the service which the SRM is using is different
    - suggest me which function module should i use to get the service which is compatible with the existing version of the SRM.
    What has happened?
    The URL http://128.246.24.144:8004/sap/bc/gui/sap/its/BWWI_EXECUTE/! was not called due to an error.
    Note
    The following error text was processed in the system D04 : Templateinterpretation abgebrochen, Template nicht vorhanden.
    The error occurred on the application server sapdev04_D04_04 and in the work process 2 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
          SYSTEM-EXIT of program SAPLSMTR_NAVIGATION
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system D04 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server sapdev04_D04_04 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 2 in transaction ST11 on the application server sapdev04_D04_04 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http-c:100-u:DESHPSN1 -l:E-s:D04-i:sapdev04_D04_04 -w:2-d:20070508-t:080552-v: RABAX_STATE-e:ITS_TEMPLATE_NOT_FOUND
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    thanks in advance
    Naval Bhatt

    Dear Naval Bhatt,
    Please go through OSS Notes 568528 and 827005. This should resolve your problem.
    Reward points if this is helpful.
    Regards,
    Naveen.

Maybe you are looking for

  • FCP - Voice Over problem

    I have a FCP system set up which includes an AJA Kona LHe card. Audio inputs are via the AJA. This includes audio from a video deck as well as other audio inputs, such as a studio condenser mic connected for voice overs. I monitor the output from FCP

  • External drive for iTunes library and backing up via time machine

    Hi, I currently have an 320gb external drive plugged into usb port of my imac for time machine back up, but my itunes library is 500gb and currently excluded from time machine back up, I would like to buy a 2 or 3tb external drive and then move my it

  • Adobe Media Encoder Debug Event (when exporting audio)

    I do alot of vj'ing... I have a good pipeline for exporting short film clips, optimized for the vj software I use. I export photojpg at 75 quality, at 640x480, with no audio. However, i'm now trying to export some of the same clips, but with the audi

  • DVD-Rs not reading on Sony DW-Q28A

    Hi eveyone, I've got a Dual 2Ghz G5 running 10.4.8 with a Sony DW-Q28a Superdrive that is refusing to mount a couple of Verbatim DVD-R 8x data discs from our photo archive. The discs will spin for a bit, then be regarded by OS X as blank discs. Howev

  • Windows 8.1 shutdown options re: Bios

    Am aware that 8 and its relation to Bios is different than other Windows versions.  If I shutdown or restart from Win8 interface, the intro has a nice screen for selection of operating system to my dual-boot.  If shut down through command, it appears