UWL workitems not deleted

Hi,
not dealt with UWL workitems before.
Client has a PR WF in the system and workitems go to UWL for Approvals.
Instead of releasing the PR from UWL, the user has released it from ME54N.
So now, though the PR is released, it still shows workitems in UWL.
My question is are there any settings (in SAP, Portal) which could handle this, so that whenever user releases a PR thru ME54N, the workitem in UWL gets deleted.
Other question, now since the workitems (for which PR was released from ME54N) are there in UWL, what happens if the user again db-clicks the workitem, will it throw an error?
Last question, what can I do to remove those workitems for which PR was released from ME54N. How can I delete them.
Thanks,
Aditya

Hi Aditya,
As Workitem behaviour is dependent on Status, set the Workitem status to complete using any one of the following FM
   SAP_WAPI_SET_WORKITEM_COMPLETD
   SAP_WAPI_WORKITEM_COMPLETE
   SWU_COMPLETE_R3F_WORKITEM
I dont know the exact one... so kindly check the Documentation of them and choose the best.
As far as i know second one would set the status to complete
Hope this would Solve your issue.
Regards
N.N.

Similar Messages

  • UWL workitems not visible

    Hi Champs,
    In our landscape there are many ECC systems (HR, SRM, ERec) and UWL is configured on a consumer portal which connects to these ECC systems and extracts the workitems. Now workitems from HR and ERec system are visible but no SRM workitems are visible in portal. It was working fine earlier.
    We have done the following checks:
    1. UWL configuration.
    2. Re-registered the system.
    3. Checked the RFC destinations and the connection is successful.
    4. Workitems are present in SRM system.
    5. Connection status doesnt not show any error.
    It was working fine until we changed the timeout parameter and restrated the SRM system.
    ps: the user has more than 700 workitems in his inbox, would that cause any problem?
    Regards,
    Piyush.

    Hi Piyush,
    Check this thread out,
    /message/7415415#7415415 [original link is broken]
    Regards,

  • UWL WorkItem Not able to execute

    Hello friends,
    when i am trying to execute the workitems of my Z webdynpro applications i am able to see the workitem in the in box but i am getting a screen of R/3 and only statement coming as close window.
    In Tcode SWFVISU every thing is maintain. the systems are register in UWL.
    i am also getting following error in log files
    #1.5#00145E9C67C20063000002C90009C04800045105AB7B32BF#1214984700506#com.sap.work                                                                             flow#sap.com/irj#com.sap.workflow#Guest#0####6b21b320448611ddadcc00145e9c67c2#Th                                                                             read[ThreadPool.Worker5,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error                                                                             #1#/Applications/Workflow/General#Plain###TaskSchedulerDeadline.run()#
    #1.5#00145E9C67C20063000002CA0009C04800045105AB7B33A4#1214984700507#com.sap.work                                                                             flow#sap.com/irj#com.sap.workflow.#Guest#0####6b21b320448611ddadcc00145e9c67c2#T                                                                             hread[ThreadPool.Worker5,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Erro                                                                             r##Plain###LockConfigException: Cannot lock configuration object "config://local                                                                             /com.sap.workflow/scheduler/task" without a valid user ID.
            at com.sapportals.config.fwk.data.ConfigLockManager.lock(ConfigLockManag                                                                             er.java:516)
    Please help.   Points will be awarded surely.
    Regards,
    Umesh Chaudhari.

    Check SAP Note: 1153955
    http://service.sap.com/sap/support/notes/1153955

  • Workitem not getting deleted from SAP inbox

    Hi ,
    I have a scenario in workflows , in which when a user creates a timesheet , a mail goes to approver , when the timesheet is approved the mail should get automatically deleted .
    We have created a standard task for this purpose ( a copy of TS31000007)  .
    The business Object is CATS , terminating event is COMPLETED , method is APPROVE . There is no triggereing event a FM is being used .
    The standard task is copied in two test environments , from first system the mail gets automatically deleted , but from the second one it is not getting deleted .
    Also the workflow log in SWEL doesnt show any rows in the second system .
    In the first system , there are 4 steps  in the workflow log :
    Dialog work item created
    Background process started
    terminating event received
    work item processing complete
    Though the workitem has deleted , but the status of the workflow is in Progress
    while the second has only two steps in workflow log
    Dialog work item created
    Background process started
    and the workflow status is "Ready"
    I guess the terminating event in the second case is not getting received .
    but ,I have  checked sweinst and found that the instance linkage is activated .
    Also when the workitem is approved , it does not get delete , and if we try to re execute it again , the gives a msg " NO data found "
    Can someone help me to find why the mail is stuck in the inbox and  correct this problem.
    Thanks
    Sheetal

    Unless and until the Terminating event is triggered the workitem will not disappear. Check how the Event is getting triggered in other system. I feel it is getting triggered by standard means. Check whether there is proper settings in SWEHR3.
    It means that you are not doing any special configuration for event triggering or coding. Please check what is missing in the system you are having problem.  Check SWU3 setting is fine or not.
    <b>Please close thread when issue resolved</b>
    Thanks
    Arghadip
    Message was edited by:
            Arghadip Kar

  • Workflow task on UWL does not open in new window

    Hi,
    Some of the workflow tasks in my UWL do not open up in a new window when i click on them. I notice that these tasks are not even hyperlinked (underlined). Instead, when i click on the line, a small pop up shows to options: Forward and Resubmit. Therefore i am not able to approve / reject these workitems.
    Whereas there are some other work items which open up in a new window on click.
    Is this problem related to workflow configuarion (perhaps enabling the WF for portal) or is it something to do with UWL configuration?
    Appreciate your help.
    thanks
    zubair

    Hi Paul,
    I face the same problem, any findings so far?
    Thanks!
    Best regards,
    Sandra

  • UWL workitems become non clickabl/executable

    Hi,
    We have a huge problem with UWL workitems that become non-clickable/executable overnight.
    This problem only applies to the Workitems that use the Webflow principles (BIT603, so using xHandlerLauncher in UWL config file)
    In the portal logging, we sometimes see the following errors/warnings when this problem occurs:
    warning 2009-05-20 12:48:28:840 com.sap.netweaver.bc.uwl.UWLException: Wed May 20 12:48:28 CEST 2009
    (Connector) Invalid argument or value or null used
    /uwl/ui com.sap.netweaver.bc.uwl.ui.creators.TableColumnCreator sap.com/tcwddispwda euax419-zep Server 1 2_33229
    Full Message Text
    com.sap.netweaver.bc.uwl.UWLException: Wed May 20 12:48:28 CEST 2009
    (Connector) Invalid argument or value or null used 
       warning 2009-05-20 12:48:28:840 No logical system id available for backend system <EUP-300>
    /uwl/service/connector/webflow com.sap.netweaver.bc.uwl.core.connect.webflow.XHandlerLauncher.getUrl() sap.com/tcwddispwda euax419-zep Server 1 2_33229
    Full Message Text
    No logical system id available for backend system <EUP-300>
    So it seems that the link is not shown due to the fact that a logical system could not be found for the given UWL system.
    Moreover, sometimes we have people logging on to the portal where the task is executable and for others not.  This might be caused by 2 virtual systems we have in our landscape where the connectivity/logical system is correctly defined or buffered for 1 virtual server but on the other it is not!
    Can someone please help us with this
    Many thanks
    Pascal Decock

    Hi Pascal Decock,
    try this,
    goto tcode>SBWP>settings>workflowsettings>Refresh organizational environment. hope it works.
    Regards
    Bhaskar

  • UWL workitems become non clickable/executable

    Hi,
    We have a huge problem with UWL workitems that become non-clickable/executable overnight.
    This problem only applies to the Workitems that use the Webflow principles (BIT603, so using xHandlerLauncher in UWL config file)
    In the portal logging, we sometimes see the following errors/warnings when this problem occurs:
    warning 2009-05-20 12:48:28:840 com.sap.netweaver.bc.uwl.UWLException: Wed May 20 12:48:28 CEST 2009
    (Connector) Invalid argument or value or null used
    /uwl/ui com.sap.netweaver.bc.uwl.ui.creators.TableColumnCreator sap.com/tcwddispwda euax419-zep Server 1 2_33229
    Full Message Text
    com.sap.netweaver.bc.uwl.UWLException: Wed May 20 12:48:28 CEST 2009
    (Connector) Invalid argument or value or null used
    warning 2009-05-20 12:48:28:840 No logical system id available for backend system <EUP-300>
    /uwl/service/connector/webflow com.sap.netweaver.bc.uwl.core.connect.webflow.XHandlerLauncher.getUrl() sap.com/tcwddispwda euax419-zep Server 1 2_33229
    Full Message Text
    No logical system id available for backend system <EUP-300>
    So it seems that the link is not shown due to the fact that a logical system could not be found for the given UWL system.
    Moreover, sometimes we have people logging on to the portal where the task is executable and for others not. This might be caused by 2 virtual systems we have in our landscape where the connectivity/logical system is correctly defined or buffered for 1 virtual server but on the other it is not!
    Can someone please help us with this
    Many thanks
    Pascal Decock

    Hi,
    Were you able to find the cause for this?
    Regards,
    MK

  • Workflow gets deleted but dependant steps are not deleted

    Hi Experts,
    When OMR_DELETED event of BOR object ECO is raised, as per design the workflow instance is logically deleted. But all the dependant steps of the workflow are not getting deleted logically.
    Why is this happening?I mean why workitems generated for child steps are not deleted when parent workflow instance is logically deleted?
    Thanks,
    Sonali.

    Hi,
    as per design the workflow instance is logically deleted. But all the dependant
    steps of the  workflow are not getting deleted logically.
    Are you using wait to delete logically or through Function Module. Can you tell where you doing this.
    Regards,
    Surjith

  • Getting UWL workitem count in WD 4 Java Application

    Hi,
    Our team is trying to get the UWL workitem count that appears on the Tasks tab in a webdynpro for Java application . Is it possible to get the count .i.e. (New Workitems)/(Old Workitems) in a Webdynpro for Java application?
    Thanks
    Aditya

    PLEAAAASE!!! somebody help us out with this one, we really need to get this done, and given the lack of responses this has got so far, I think it might not be possible at all.
    Just some thoughts on the subject, anyway.
    When creating the UWLcontext, you need to set a user for it (e.g. context.setUser( ) ), so does that mean that I will never be able to get the UWL task list/count for more than one user at a time? and does that also mean that, if a user is set to the UWLContext, in order for it to work, it needs to be authenticated with an ongoing session at the time of execution?
    Again, please, these observations might or might not provide additional help in order to resolve this issue, but at least got to try something...

  • WorkItem getting deleted

    Hi, I have created a workflow for PR release. Approver will get the PR in his SAP inbox, when he click on workitem, it will take him to ME54N, from where he can release the PR.
    The problem I am facing is that, if approver dont perform any action in ME54N, simply come back by pressing the back button, without releasing it, the workItem is getting deleted from his inbox and workflow going to next step. My BO method that is associated with task responsible for that workitem is Dialog and Synchronous method.
    I have also given one terminating event for this task, and raising this event at SAVE button of ME54N, so that pressing BACK button should not delete the Workitem.
    Please suggest the possible cause of this problem. I want workitem only to get delete on SAVE button, not on Back Button.
    If Approver is not releasing it and simply coming back the workitem should remain in his inbox, and workflow should not go to next step.

    Hi,
    You have to use Asynchronous method for requirements like these where you have standard SAP transactions doing the same job as your work item.
    Change your method to synchronous. Also you can refer to WS000000038 workflow for reference as it does the same thing.
    ( Also do compare your terminating events ).
    Regards
    Gautam

  • Open UWL workitem from outlook mail

    Hello friends,
    I have a requirement to execute/open workitem of UWL, which should open from outlook...
    I have searched for the same in sdn forum and SAP-WUG, but was unsuccessful to find the exact solution...
    I have used 3 technique to achive the requirement, but they are not working and also don't know it is a right approach or not..
    1) Maintained the UWL url in SWNCONFIG-> General setting -> INBOX_LINK_URL
    2) Configured setting as suggested for Extended notification and UWL in link
    http://help.sap.com/saphelp_nw70/helpdata/de/ad/d64842d59fb430e10000000a155106/content.htm
    3) Maintained link in SWNCONFIG-> General setting -> WD_HOST and WG_HOST
    For getting the UWL workitem link in Outlook wich program needs to be executed --> 1) RSWUWFML2  OR  2) SWN_SELSEN ?
    I am not sure the requirement is possible or not...
    If it is possible then please suggest the right approach and the techniques I have tried are correct or not?
    Thanks and Regards,
    Mihir

    Dear Karri,
    I am very new to workflow. So I don't know why and where webdynpro application is used in my senario... And I will be very obliged to bare with me if I don't understand any terminology of workflow.
    I would like to share my complete senario with you.
    I have a existing workflow on "COURSE BOOKING" which is already working on production perfectly. And the manager is approving it on UWL for it.
    Now the requirement was given like this... I was told that manager has to search the workitem in UWL and had do refresh many time. So they asked me to provide a link or attachment of UWL's workitem directly in notification mail, so that he only needs to click on that link or attachment and required workitem in UWL will open and he/she could make decision.
          The requirement is very similary to the notification mail generted by program RSWUWFML2, which has 3 attachements and among them 1 is of Execute Workitem, which open up SAP R/3 inbox's workitem directly. Means he doesn't need to search in SBWP...
          So here in my case instead of SAP R/3 inbox workitem, he should open Portal UWL's workitem directly.
    Now I come to your question about "webdynpro application launches workitem". I don't know where the webdynpro application comes into the picture...
    Please guide...
    Thanks & Regards,
    Mihir

  • UWL is not showing New and In Progress tasks

    Dear All,
    We are facing a strange concern where the UWL is displaying all the below work items.
    Tasks forwarded to someone
    Tasks for Resubmission
    Completed Tasks
    But not the New and In Progress tasks wherein the work items are already available in the user inbox.
    The system details are SRM 7 with EHP 3 and the Netweaver portal is 7.30 SP 09
    Please find the below screen shot for your reference.
    And I would also like to update you that the below has already been tested.
    1.) Check in SBWP - workflow inbox of the respective user wherein the work items are available already.
    2.) In the SWI5 transaction code, the work items are in Ready status
    3.) From Portal perspective, the webflow connector has been defined and it has got connected successfully.
    4.) In the Webflow xml file, we are able to see the above highlighted task id which has already been defined.
    With that, I am able to understand that if there is any action on the work item in SRM system, the same is getting replicated in UWL. Else it is not getting displayed in the UWL if there is no action been done on the work item.
    Could you please check and advise if anyone has any other suggestions on the above. Thanks in advance for your help.
    Best Regards,
    Bharathi

    Dear Bharathi
    I hope you are well and many thanks for using the SAP Discussion Forums .
    Ok now based upon your scenario and the points you have highlighted there are a few important points to be highlighted.
    Firstly we need to remember the concept through which the UWL Service functions and operates.
    Ok with the UWL the normal behaviour follows the notion of the UWL Interface taking "5 Minutes"
    for the tasks to actually load into the UWL upon intitial logon.The UWL works using two Pull operations. Firstly tasks are pulled from the backend into the UWL cache and they are pulled a second
    time from the cache into the UWL User Interface. Due to this architecture there is an inherent delay in the automatic refreshes of the UWL. There is no way, in the current architecture that the UWL can refresh instantaneously. This is upon inital load as the cache must be built first upon logon so there will always be a delay. Real time refresh in the latest versions, is only when you complete a task.
    Now with reference to your scenario you mentioned the following:
    Points of interest
    Tasks forwarded to someone
    Tasks for Resubmission
    Completed Tasks
    "But not the New and In Progress tasks wherein the work items are already available in the user inbox."
    Now from your analysis perspective you mentioned examining the following:
    Checked in SBWP - workflow inbox of the respective user wherein the work items are available already.
    In the SWI5 transaction code, the work items are in Ready status
    From Portal perspective, the webflow connector has been defined and it has got connected successfully.
    In the Webflow xml file, we are able to see the above highlighted task id which has already been defined.
    Ok what I would you to do here is review and carefully cross reference your current UWL Destination Service Configuration setup as the smallest discrepancy (if any) can cause unpredictable and unexpected behaviour.
    - SAP Note: 1133821 - UWL Destination Service configuration
    Check that after applying Note 1133821 the destination names and the UWL connector names exactly match, even considering case-sensitiveness. I mean if your portal system alias (=UWL connector name) is for example XYZCLNT100, then the rfc destination name should be exactly XYZCLNT100$WebFlowConnector. If that is not the case, please correct the rfc destination accordingly.
    After you have checked/prepared the RFC destination for the future use please re-register that connector in the UWL config UI (Portal->System Administration->System Configuration->Universal Worklist) with which you would like to use this RFC destination.
    Restart the UWL portal service as the followings: Portal -> System Administration -> Support -> Portal Runtime -> Application Console -> com.sap.netweaver.bc.uwl -> Show -> in thecom.sap.netweaver.bc.uwl.core.portal.UWLPortalService row press restart.
    Re-create the connector in the config UI again and register the connector.
    Clear the UWL cache
    Additionally kindly review the documentation below to ensure the optimal parameters are maintained for workitems being brought into the UWL.
    KBA number: 1577547 UWL Performance Tips and Considerations
    Also, you may want to take a look at our sizing guide that our colleagues colleagues in development support have written in relation to the UWL. You will find this if you go to: You can find the document under this path: www.service.sap.com/sizing > sizing guidelines ' SAP NetWeaver   > UWL Sizing guide
    These are details that you need in order for the performance to be optimal in the Universal Worklist.  Please check through the documentation to see if your parameters are set accordingly and also that you have followed the information in this document.
    http://wiki.scn.sap.com/wiki/display/BPX/The+list+of+items+shown+here+could+be+outdated.+Waiting+for+update
    SAP Note: 1886490 UWL does not show the most upto-date items after login
    Kindly update me as per your findings.
    I greatly appreciate your time and patience and I look forward to recieving your reply.
    Troy Cronin - Enterprise Portal Support Enginerr

  • Workitem got deleted

    Hi all,
    We have a standard workflow implemented for Appropraition Request.
    Issue is - there are 5 levels of approvers. first level approved and second level also got approved, but here the workitem got deleted (I dont know how it is got deleted). and the workflow is got stuck, i mean the workitem does not proceed further. So pls let me know how to proceed further, is there any solution.
    Thanks!
    Brunda

    Hi,
    I did have problem before where the workflow got stuck due to server down, and it cause workflow does not proceed to next step. The solution is to run SWPC. You can give it a try.
    If your work item is in error and you have fixed it, you can restart it using SWPR.
    Regards,
    Lim...

  • Slow loading of UWL workitem

    Hi,
    We are using EP5.0. We have designed custom Workflows and ISR scenarios. One of them is FBP Claims.
    Whenever an approver tries to click on the form and open (in the portal) , it takes around 5 minutes to open. When he clicks and gives approval, it takes around 5 minutes again. These work items are defined as "external services".
    I would like to know bottlenecks from system side in loading a custom form and processing it after a user input is given.
    Note: The approver has around 6,000+ workitems in the worklist, but loading of UWL does not take much time. It is loading of individual workitem's screen that is taking time.
    I am basically asking you the ways to find out bottlenecks or the places to look at.
    Thanks in advance
    Krishna Kishor Kammaje

    Hi,
    This area has traditionally been a slow performer in EP5 times which you are and unfortunately is out of support since last few years. There are few documents available in SDN titled "HOW TO OPTIMIZE AND FINE-TUNE THE SAP ENTERPRISE PORTAL"
    The above document would be a good way to check and optimize for the performance.
    You may want to check in SDN or other forums.
    Cheers Sam

  • Reg : UWL Workitem URL

    Hi All,
    I have an issue - when I execute the workitem from UWL ( which is leave request approval workitem ) it generates the following url.
    http://<FQDN of Host Name >:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fevery_user%2Fgeneral%2Fuwl%2Fcom.sap.netweaver.bc.uwl.uwlSapWebDynproLaunch&System=SAP_ECC_HumanResources&WebDynproDeployableObject=sap.com%2Fess%7Elea&WebDynproApplication=LeaveRequestApprover&DynamicParameter=wi_id%3F000000900710&CurrentWindowId=WID8123090089916&NavMode=1
    This url takes me to the portal logon page and asks for login id & password and infact never logs me in.
    But when the SAP_ECC_HumanResources is replaced by SAP_LocalSystem it works fine...
    So my question is where does the UWL fetch the system - SAP_ECC_HumanResources .....
    Note : In SWFVISU i have already changed it to SAP_LocalSystem but still the URL picks up SAP_ECC_HumanResources....
    Best Regards,
    Roby...

    Hi All,
    Please help me in this regards - the UWL workitem is giving System = SAP_ECC_HumanResources in the below URL where as it should have System = SAP_LocalSystem .
    http://<FQDN of the Host>:50300/irj/servlet/prt/portal/prteventname/Navigate/prtroot/3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!Jcom.dgpoghunet.ssdpnego.2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fevery_user%2Fgeneral%2Fuwl%2Fcom.sap.netweaver.bc.uwl.uwlSapWebDynproLaunch&System= SAP_ECC_HumanResources &WebDynproDeployableObject=sap.com%2Fess%7Elea&WebDynproApplication=LeaveRequestApprover&DynamicParameter=wi_id%3Z000000000039&CurrentWindowId=WID1884090613866&NavMode=1
    So my question is - Where is that do I have to mention this so that it picks SAP_LocalSystem in the workitem URL? ...
    Thanks in Advance,
    Roby ...

Maybe you are looking for

  • Maximum File Size on Import?

    Hello all, been a ghost reader here but this is my first question (love the forums, btw, super helpful). I've been editing a feature film on Premiere Pro. We are nearing the end and I received a DPX sequence back from coloring. Upon importing into Pr

  • Deletin of rows from nested table(urgent)

    hi gurus i have a table x having of two nested tables 1)table1 and 2) table 2 how to delete the perticular rows from the table2 if any body having with example that is more helpfull to me pls help me in this issue

  • Interface between Microsoft Project and SAP Project Systems

    Hi, When we update SAP Project systems from Microsoft Project, our users want to swap values between project nodes id and description. Is this possible? Which BAPIs are used by OpenPs? I am trying to find a user-exit where I can swap these values. Th

  • Inventory movement

    hi i am implementing obia from e-biz supply chain management.i want to know what is meant inventory movement and from where it is coming regards mervin

  • Why can't I change the delivery country when I buy cards?, why can't I change the delivery country when I buy cards?

    hello , please I need help, I want to order some printed products like cards and books from iphoto, but when it comes to the shipping I cant change the country. thanks Anita