GP UWL Task Issue
HI,
I have a custom Web Dynpro Application and we using the GP process for workflow.The Process is working fine.After Initiator initiate the GP Process the Approver gets the tasks in his UWL.Once the Approver gets the tasks in UWL the Log Error occurs in NWA.The Error is : USER_AUTH_FAILED: User account for logonid "odhwani" not found!
com.sap.security.api.NoSuchUserException: USER_AUTH_FAILED: User account for logonid "XXXX" not found!.If the task is completed from the UWL the error not occurs in NWA.Please Suggests any solution for this problem.If any one come across this problem please let me know.
Thanks and Regards,
SatheshKumar R
HI
Hos was this solved. We have the same issue.
Any pointers would be helpful
Thanks
Deepu
Similar Messages
-
Error in executing process from the UWL task list
Hi,
I have created a process and assigned different users to different steps. For administrator, Overseer and Owner, i have kept role as initiator only. For the actions of the process, set the value as Initiation defined and in Default Roles tab, have assigned different users to each of the actions. From the URL generated on instantiation, i created a web dynpro iview and assigned it to a role R.
The UWL has also been configured. The initiator of the process is assigned the role R.
Now the issues are:
1. When the process initiator opens this role R, an error is displayed " Page not found or not available", but the process gets initiated since an entry for the same is made in the UWL task list.
2. Even when I click on the task entry in the UWL task list, i get the same error message.
3. Presently if i click on the role R, then only entry is displayed in the UEL task list. Is there a way in which task may automatically appear in the task list of the initiator of the process without him/her having to click the role and then initiate?
I am not able to figure out why this is happening. Can anyone please help me in this regard.
Thanks & regards,
AnupreetHello Anupreet,
Refer to these SAP notes
1104652, 1131403 or 1026119.
This should fix the issue.
Let me know if this works.
Cheers,
Mandrake -
Getting UWL task count for all users in a role.
Hi.
I recently posted a question regarding a very similar issue, but I haven't got any response yet. I think my question might have been somewhat poorly phrased, so I will try to do better at explaining what we need.
We have a number of processes, most of which need to be dynamically assigned to a user when created. The way we want to assign those tasks is by executing a WebService which would receive a role name and get all the users for that role. Then, using the UWL API, it would check how many tasks each of the users have in their UWL, and return the UserID for whoever has the least tasks. I haven't been able to get this to work. I keep getting Logged in users context or session doesn't exist Exception.
Please, any help on this will be greatly appreciated.
Currently working with SAP NWDS 7.1 SP05 PAT0005Hi,
Thank you for your response, however, that's not what I need.
For you and anyone esle who might find this extra info useful...
I know how to get a user's role(s), and how to get the users in a role.
I also know how to assign a task to a specific user dynamically.
Using the UWL API, I know how to get the tasks (or items) in a user's UWL from a WD application, I need to do that from a WebService and using pretty much the same code, with the necessary adjustments, I can't get it to work.
Furthermore, I'm able to get the UWL tasks for ONE user, that user being the one I log into the application with. For example, if I write code to get the tasks for user testUser1, I need to log in with testUser1 to get it to work, if I log in with any different user or make it a non-authenticated application, it won't work.
Again, help on this is much needed and will be appreciated. -
Work items are not visible UWL task are visible in tracking in portal
HI
Friends
i am new from sap Ess/Mss implementation project...
i am facing an Problem " Work items are not visible under UWL in portal overview page"
but i am configured all the ess/mss related things....and also Created for one user for Requester(send Leave Request)...and one more user for App-rover(Apporve an Leave)..
Requestor send an Leave through portal send it successfully......but i am facing a problem in uwl under work items are not showing in overview page...but in tracking work items are (Leave request)showing.....work items are not showing in uwl TASK(VERY PROBLEM)...
i am configured and also registered UWL IN PORTAL..it is good..
in sap ecc i can assigned UWL_SERVICE user to roles
1.SAP_BC_BMT_WFM_UWL_ADMIN
2.SAP_BC_BMT_WFM_UWL_END_USER
3.SAP_BC_ADMIN_USER
4.SAP_BC_UWL_SERVICE
PLEASE HELP ME.
Tanks
Shaik RafiHi All,
In such cases, please try to check as below :
1) Create Leave request work item from Employee and check the same under the UWL Tracking tab of employee.
2) Log-in to swi5 transaction of the respective back end system and give "US" -> manager's UserID -> Choose Tasks to be completed from the drop down -> Remove any date if mentioned -> Execute.
3) Here if you can see the Leave request created, but not on the portal, it reflects some portal issue like sync.
4) If no leave request work item is seen here, then there is a problem in the employee manager mapping or the workflow setup.
5) In such cases, you can try to check the Swi1 and check the log of that workflow to understand the current status of the Leave request.
Revert if further help is needed with more info.
Reward points if found useful.
Regards,
Shri vidya S -
Approved Task items are not disappearing from uwl task list
Hi
we have implemended Guided procedures with universal work list. For most of the users, once the any task items are approved, it suppose to disappear from the task list. But it is not disappearing from the task list. Even if i click on "refresh" under flter option. Please let me now how to get rid of this issue.
thanks
vijayHi,
Have a look on my reply on the thread:
Uwl tasks status not get updated in Portal
Regards,
Fabio -
Error when launching GP UWL tasks from consumer portal
In our federated portal network we have configured the universal worklist in the consumer portal to display guided procedure tasks from a producer portal - both portals are NW 7.0 SP14.
All GP tasks from the producer portal are displayed in the consumer portal without issue.
When we attempt to launch one of the GP tasks in the consumer portal we recieve the following error - Could not retrieve process instance: contact your system administrator.
If we launch the GP tasks in the producer portal there are no issues.
Has anyone experienced a similar situation?I worked through this issue with SAP support.
For the ItemType with name="uwl.task.gp.XXX", where XXX is the system alias of the remote GP system.
Changed attribute from defaultAction="launchGP" to defaultAction="editItem" because the name of the Action described for this itemType is "editItem".
The action handler that is used is "UrlLauncher" (handler="UrlLauncher") but this handler works only with attribute launchInNewWindow="yes". So in all actions with attribute handler="UrlLauncher" change the attribute launchInNewWindow from "no" to launchInNewWindow="yes".
Uploaded new uwl.gp.config.xml with high priority. -
I have a step in my workflow which call a function module with a call screen as shown below
CALL SCREEN '9000'.
wfaction = wa_reason-wfaction.
reasontx = wa_reason-reasontx.
textreq = wa_reason-textreq.
In the inbox, I can doubleclick on the work item and launch the screen. This does not work in the UWL.. I am under a time crunch.
Any pointers will be greatly appreciated.
The XML file entry for this task in the UWL is as follows
<ItemType name="uwl.task.webflow.TS90100140" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWSHanlder" executionMode="pessimistic">
<ItemTypeCriteria externalType="TS90100140" connector="WebFlowConnector"/>
<Actions>
<Action name="launchWSHanlder" groupAction="" handler="SAPTransactionLauncher">
<Properties>
<Property name="GuiType" value="WinGui"/>
<Property name="display_order_priority" value="5"/>
</Properties>
<Descriptions default=""/>
</Action>
</Actions>
</ItemType>
Thanks a lot in advanceHi Vreddy,
Did you make any recent changes? Did it ever work before?
What version are you on?
Did you check to see if there are any errors on the connector?
Did you restart the UWL service?
Please go through the UWL Troubleshooting wiki page (below) which discusses this issue:
http://wiki.scn.sap.com/wiki/display/TechTSG/Universal+Worklist+Troubleshooting+Guide
Thanks and regards,
Lorraine -
Creating UWL task without any action
Dear All
First of all Execuse me for the posting the uncorrect scenerio in last thread.
This is regarding the issue I am facing, the employee is going to view the Request form, but if he will not do any action ( will not click any button ) the UWL task is going to create in his (OWN) UWL.Hi,
If the first view is the first callable object in your GP process then a task will get created whenever the user opens the view (i.e. a new process instance gets started). To overcome this issue I can think of three options :
1) you can have a cancel button in the view. On Action of the cancel button you can set a resultstate based on which you can call a Terminate process callable object and terminate the process instance.
2) on wdDoExit() method you can check if any button has been clicked (set a flag on valid user actions). If no user action has been done set the resultstate and cancel the process as above.
3) Don't add the first view as a callable object in GP. Instead make it a stand-alone Web Dynpro project and on button click(Submit) of that view start the GP process by passing the relevant parameters.
Thanks,
Dipankar -
Email Notifications for both UWL Tasks and Collaboration Tasks.
Hello,
I want to configure Email Notifications for both UWL Tasks and Collaboration Tasks.
Could any one please give me the configuration steps.
Thanks in Advance.
Regards,
Sridhar.Hi sri,
Refer the following threads
https://www.sdn.sap.com/irj/scn/thread?threadID=147316
https://www.sdn.sap.com/irj/scn/thread?messageID=315715#315715
https://www.sdn.sap.com/irj/scn/thread?messageID=1170132#1170132
Regards,
P.Manivannan -
Email Notifications for UWL Tasks and Collaboration Tasks
Hi,
I want to configure Email Notifications for both UWL Tasks and Collaboration Tasks.
I done with the all the Configurations suggested in the below link:
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/706d054d-da24-2b10-f18a-fc82faf6468e]
But Email Notifications are not reaching the users Lotus Mail ID. Could any one please suggest me that i am missing any Configurations.
Thanks in Advance.
Regards,
Sridhar.Hi Sridhar,
I created a Wiki page with usefull links to troubleshoot problems with the Email connectivity from KM:
https://wiki.sdn.sap.com/wiki/x/g4KmAw
Please see if it helps,
Robert -
UWL task takes up to 2 minutes to appear
Hi there,
We have a situation where the UWL task takes between 1 minute and 2 minuts to appear in the user's inbox. in our analysis we have found that the task is created immediatly in the business process but it set with an inactive status. After a period of time the task status changes to Ready and the task appears in the users UWL.
We are using NW 7.2 SP3. The task is using WD for Java UI and the "Activate this task by default when creating it" is set in the time constraints. No other time constraints have been set.
Regards,
ChristiaanHi Paul,
we have the same problem since we move from CE 7.2 SP3 to SP4.
We just created an OSS-Message last week.
regards,
Sid -
How to make the CRM activity and task display in Portal UWL task iview ?
Hello experts,
I want that activity ,task and document in CRM inbox(t-code:sbwp) can be display in UWL task iview, and can pop-up to deal with when be clicked .
The workflow type item in ERP can be display and open to deal with by default.
But I need to the same function of CRM inbox content.
I had done some configuration according to "Configuring the Business
Package for SAP CRM 5.0 SP01.pdf".
But it can't realized my requirement.
How to do it ?
BR,
Jianguo ChenGo to View .. Bars... and enable the bar for Level of Effort activities. If it's not there, create one.
-
Hi all,
I just want to have all my UWL tasks and alerts of portal in my widgets. Please let me know if you people have any ideas.
Regards,
Purush.What ideas are you looking for?
You can create a widget in any number of ways to display this information. The simplest to get started would be to create a widget based on the "Table Widget Template".
Did you need ideas on how to get the data?
If you wanted to get fancy, you might want to create a flex application to show the data and embed it into a widget. The flex app could then be reused elsewhere.
JohnA -
Retriving custom attributes in uwl.task.webflow.decision
Hello,
I know this question is closed. I am trying to retreive custom attributes from decisson(uwl.task.webflow.decision)uwl.task.webflow.decision.TS00008267. I am not able to do that.
I am able to retrieve ABAP_BOR object.
These attributes are not directly in container. Those attributes are located in structures ADHOCOBJECTS, _WORKITEMS, _Attachments.
How I am able to retrieve them. Can you point me to scriplets of XML.
I really appreciate your help.
Regards
MarkHi,
Thanks for your help.
I am able to get from task. I am not able to get from Decission (ex .uwl.task.webflow.decision.TS90400017.SAP_PLM)
my xml looks like this. I am able to get from Task object.
Any Ideas. I really appreciate your help. Is there any special way for decission.
<ItemType name="uwl.task.webflow.decision.TS90400017.SAP_PLM" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="viewDetail" executionMode="default">
<ItemTypeCriteria systemId="SAP_PLM" externalType="TS90400017" connector="WebFlowConnector"/>
<CustomAttributes>
<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebflowContainer" cacheValidity="final">
<Attribute name="BOR_OBJECT" type="string" displayName="BOR Object"/>
</CustomAttributeSource>
<CustomAttributeSource id="ABAP_BOR" objectIdHolder="BOR_OBJECT" objectType="ZBUS2078" cacheValidity="default">
<Attribute name="Description" type="string" displayName="Description"/>
<Attribute name="RequiredEndDate" type="date" displayName="Due Date"/>
<Attribute name="Number" type="string" displayName="Number"/>
<Attribute name="RESPONSIBLE" type="string" displayName="Responsible"/>
</CustomAttributeSource>
</CustomAttributes>
</ItemType>
Following is in the view
<DisplayAttribute name="Description" type="string" width="" sortable="yes" format="default" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Description"/>
</DisplayAttribute> -
Displaying UWL tasks in Webdynpro java application
Dear Experts,
I am developing a WebDynpro Java application to access uwl tasks,
Have added the following code in try catch block with external jars
1. prtapi.jar
2. bc.uwl.service.api.jar
IUWLService uwlService = null;
IWDClientUser user1 = WDClientUser.getLoggedInClientUser();
IUser epUser =user1.getSAPUser();
IPortalRuntimeResources runtimeResources = PortalRuntime.getRuntimeResources();
if( runtimeResources == null)
wdComponentAPI.getMessageManager().reportSuccess("Portal Runtime NULL");
else
uwlService = (IUWLService)runtimeResources.getService( IUWLService.ALIAS_KEY);
UWLContext uwlContext = new UWLContext();
IUser user = user1.getSAPUser();
uwlContext.setUser(user);
uwlService.beginSession(uwlContext, 20);
IUWLItemManager itemManager = uwlService.getItemManager(uwlContext);
QueryResult result = itemManager.getItems(uwlContext,null,null);
int size = result.getTotalNumberOfItems();
ItemCollection collection = result.getItems();
java.util.List list = collection.list();
Item item = null;
Date date = null;
String subject = null;
for(int i = 0; i < 5; i++)
if(!(i > (size -1)))
item = collection.get(i);
date = item.getDueDate();
subject = item.getSubject();
wdComponentAPI.getMessageManager().reportSuccess("item "+item);
wdComponentAPI.getMessageManager().reportSuccess("date "+date);
wdComponentAPI.getMessageManager().reportSuccess("subject "+subject);
}//if
}//for
I have created this webdypro application with Authentication mode set as True.
After deploying this application, i'm getting this error...
"java.lang.NoClassDefFoundError: com/sap/netweaver/bc/uwl/IUWLService "
can anybody tell me what is the problem???Hi
see the following link it will be helpful for u.
[UWL Tasks|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#12]
Regards
Hazrath
Edited by: Hazrath on Mar 25, 2008 8:01 AM
Maybe you are looking for
-
Write-up depreciation of investment measure
Hi, I have asset with investment measure. Is it possible to write-up the depreciation for last closed fiscal year ? How can i customize my system? The goal is to reduce the depreciation. Thank for your help.
-
How to calculate number of days from a date field
Dear BW Experts. I have a field 'Create Date' in the BEx query. Now we need to create a variable which should give the number of days from the date of running the query (sy-datum) to the Create Date. This will help the users to get records which are
-
HT1338 Transferring iPhoto events (and all pictures inside) between MacBook Pro's
I have an old Mac Book Pro (OSX 10.5.8) and I want to switch the iPhoto "Events" and all pictures/video in each "event" to my newer Mac Book Pro (OSX 10.7.5). How do I do this? So far, when I transferred my photos, they are all in one jumbled mess
-
Hi to all, can anyone give the information regarding oops in abap, like how it is used and the scope of it in abap. points will be rewarded, rushi. Message was edited by: Rushi T
-
EP Portal "Page Error" when saving address under empployee services
Hello All, We do have enterprise portal for different countries with different role for each country. under "Employeeservices ap" role we have different countries like aus , malaysia etc when australian employee want to update his address under "Empl