MDGC 6.1 SWNCONFIG : Tasks ?
Hi Gurus
We are implementing MDGC 6.1
I am configuring extended notifications with SWNCONFIG.
In Selection : I would like to know what tasks I have to specify.
I would like approvers to get notified when there is a new work item (new CR or error in CR).
Thanks in advance.
Hi Le Radis,
You would have to check the workflow templates assigned to the Change Request Types that you want to use and then collect all the dialog tasks from these workflows and use them to restrict in SWNCONFIG.
Regards,
Kiran
Similar Messages
-
Extended notifications: Missing tasks in SOST
Hi!
I've configured extended notifications via SWNCONFIG, including different task filters. When I execute the SWN_SELSEN report, a range of notifications is represented in SCOT. However, when I run SOST, I'm missing notifications on two tasks. Tasks that are used in decision steps in the workflows are represented, but the two tasks that are used in activity steps in the workflows are missing. Why is that?
Best regards,
Martin AaboHi Martin,
Check these sites ,
http://help.sap.com/saphelp_nw04/helpdata/en/27/9a793426cea749b18fa409565c3dee/content.htm
http://help.sap.com/SCENARIOS_BUS2007/helpdata/EN/45/ac741f89522e78e10000000a155369/content.htm
http://www.erpgenie.com/mysap-crm/924
By
Pari -
Need to send e mail to Task assignee when task is released in QN
Dear All,
Is there is anyway I can sent e mail to user when task assigned to him and released in QN? I checked SWNCONFIG, but I do not know how to use it.
Thanks for your help in advance
Bhavesh PatelUse follow up action for the task - if no workflow is activated. Like UD follow up actions, you can trigger a follow up action for the quality notification tasks.
In spro - go to additional notification funtions - define follow up action for tasks - here define a follow up action and mark is as task for the notification.
Copy the reference FM in function group QM10 - ( create a Z function gropu copying the same - QM10) and work with your developer to develop the FM to send an email to the person assigned to the task. Assign the same FM to defined follow up actions.
Assign the follow up action to the task - in QS41.
Hope it helps.
Thanks,
Ram -
No Administrator found for the task (solution in FAQ not applicable sadly)
Hi All,
I have had to build a custom work item inbox due to complex client requirements, one of which being that all tasks are declared as "General tasks", so that all users can select and work them.
Work item execution is performed using the function module SWL_WI_DISPATCH (I've also tested using SAP_WAPI_EXECUTE_WORKITEM), which sometimes returns the error 'No administrator found for the task'.
I followed the standard instructions for this error message, refreshing the org assignments, transaction SWU_OBUF etc, and this did not help the issue.
The error seems to occur within the function module RH_WI_AGENT_EXECUTE_CHECK, however according to our configuration I can see no reason why users shouldn't be allowed to execute the work item, if the org assignment has been stable for several months, all tasks are generic, and the work item status is READY. There is no rule for determining agent beyond them being "General task"s.
Does anyone have any ideas? According to the data in SWWWIHEAD I can't see any reason why execution should be failing for these work items.
ThanksHi there,
almoste there
The new extended eMail notification do allow a feature, which is named "Forward by eMail" (in the general settings of SWNCONFIG). And the result is, that a work item can be executed by another user-id, who is not the actual receiver of the work item.
If you looked at report RSWNWIEX you'll find out that exactly the proposed solution is in use there, having a very usuable example already in place: (check lines 155 and following)
CALL FUNCTION 'SAP_WAPI_EXECUTE_WORKITEM'
EXPORTING
workitem_id = p_wi_id
IF lv_rc <> 0 AND cl_swn_settings=>wi_forward_via_mail = 'X'.
*- require to put back if WI is selected
CALL FUNCTION 'SAP_WAPI_ADM_WORKITEM_BACK'
CALL FUNCTION 'SAP_WAPI_FORWARD_WORKITEM'
EXPORTING
workitem_id = p_wi_id
user_id = sy-uname
COMMIT WORK. "Needs to be done before executing again
CALL METHOD cl_swf_run_wim_factory=>initialize( ).
CALL FUNCTION 'SAP_WAPI_EXECUTE_WORKITEM'
That doesn't blast a security hole, as far as I see.
Using the table SWWUSERWI directly is not advisable at that time, I'd say.
Best wishes,
Florin -
Sending HTML mail with swnconfig/swn-selsen
Hi,
I have made configuration with SWNCONFIG to send notification by Email in HTML format.
I've a problem, the task description is well in HTML but in a file attachement, what
I want is the body of the email in HTML with the task description and no file attachement.
Have you some idee ?
Thanks for you help.
Pierrick LEONARDNobody can help me ?
-
Extended notification: Filter more Tasks
Hi,
I am using the extended notification. I have already a filter for one task and know how to add some entries. Is there also the possibility working to use wildcards like TS000*? Is it possible?
thanks, VanessaDid you (or has someone else?) tried to use task groups (object type TG)? If that worked, you could group your tasks into one task group, and use that group in SWNCONFIG, etc.
In general I would perhaps avoid using wildcards even if they worked (or at least be extra careful with them). Perhaps you could make it work now (=it selects only the tasks that you intended), but you will never know what happens in the future: someone (or SAP) creates new tasks, which fits into your wildcard criteria, and you users will be getting some notifications that they are not supposed to get (this is especially valid concern if you would be using the custom created tasks "TS9*" in your filter).
Kind regards,
Karri -
Extended Notification for UWL + Change the description of task/workitem
Hi,
I have implemented the Extended notification for UWL and I am getting the emails in outlook. Now the requirement is to customize the body of the email completely for the task '12300096'.
I have tried going to PFTC->Description but it does not have full text which I am getting in the email. I tried SE63 also. But in the email I am getting
The following work item requires processing in your SAP Workflow inbox in system xxx.
<Task description>
Log on to this system and process the work item.
If you have problems logging on to the system, contact your system administrator.
Now I want to remove the following lines;
The following work item requires processing in your SAP Workflow inbox in system xxx.
Log on to this system and process the work item.
If you have problems logging on to the system, contact your system administrator.
I don't find from where it's coming - please let me know how to remove these lines so that I can add my text in SE63.
Thanks,Hi,
Go to SWNCONFIG -> General settings.
There you have TEXT_GOTO_INBOX - DTSWN_MSG_GOTO_INBOX. (I am not sure if this was the correct one, but you should check all the texts in general settings, if this was not the correct one.)
Now open dialog text SWN_MSG_GOTO_INBOX in SE61 (you see that you need to remove the prefix DT from the name). Here is your text. You can make your own Z-version of a dialog text in SE61, and then use that in SWNCONFIG general settings.
Regards,
Karri -
Alignment of body for work item via SWNCONFIG
Hi All,
As per my present client scenario, every work item will be sent to UWL and external mail also. It means, user wants to execute the work item from external mail (Gmail or outlook)through SWNCONFIG transaction. Here my issue is as follows.
I am getting the below issue when work item goes to external mail.
Body sequence is out of alignment as you can see it in Red color below(You can observe the placement of the symbol u2018:u2019 is out of alignment).
Actual Output Required:
Item # : &MATNR&
Description : &WA_MARA.MAKTX&
Item type : &WA_MARA.ITEMTYPE&
Project ID : &WA_MARA.LPID&
Product Group : &WA_MARA.PRODUCTGRP&
Purchase / Manufacture value : &WA_MARA.PUR_MAN_VALUE&
PDM Status : &WA_MARA.PDMSTATUS&
Life Cycle Status : &WA_MARA.LCSTATUS&
Task sent by : &WA_MARA.ZUSER&
Actual Output Obtained At Present:
Item # : 1111
Description : PDM Data
Item type : PHysical Item
Project ID : Local Project ID
Product Group : Product Group
Purchase / Manufacture value : P
PDM Status : PDM Status
Life Cycle Status : Life cycle
Task sent by :
Please let me know the solution for this asap.I would really appreciate you for your help in this.
Thanks in advance..Hi!
You can try playing around with mail formats in SWNCONFIG, provided work item text is formatted using tabs, however I do not think that will help. You should format task description using SAPscript formatting symbols - SWN_SELSEN should convert it to correct output format.
Or you can create work item description in HTML - that should keep formatting everywhere. Use tab "Work item display" in your WF step, there is a demo f-n module SWL0_PREVIEW_DEMO_HTML that can be used as example.
WBR -
Pauls -
SWNCONFIG - Doubt in Extended Notifications
Hi Experts,
I followed this blog to send work items to the outlook.
/people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox
In SWNCONFIG -> General Settings -> WD_HOST, there is a option to embed the webdynpro application.
whats the use of that? so we can design the webdynpro application and this webdynpro screen will reflected in the
outlook?
Please give your valuable inputs.
Thanks,
Vijay.It depends on your scenario. Let's say that you have travel expense approval tasks to be approved. Then you also have a web dynpro application for approving those travel expenses. It is possible to configure extended notification in a way that when you click the link in the email, the approval application will be launched. I have never done this, and I am not sure, if it will work easily or not. You can find some discussions in SDN by searching with the key word "WD_HOST". Check for example this: Extended Notifcations not sent
BUT it is not possible to just build some kind of general WD application to execute any approval task (or well, of course it is , but it would be quite difficult).
Regards,
Karri -
Authorisation required to display Workflow Tasks in PFCG
Hi Gurus,
When using PFCG I have a strange difference between a user with SAP_ALL authorisatios and a user without SAP_ALL.
Using the SAP_ALL user, when I display a role it shows the Tasks under the Workflow tab.
Using the user without SAP_ALL, it still displays the Workflow tab but the Tasks are not displayed.
I have come to the conclusion that this must be authorisation related, so does anyone know what authorisations allow users to display the Workflow Tasks in PFCG?
All help greatly appreciated.
Thanks,
Matt> What I am trying to find out is which authorisations I need to add to an alternate role in order to avoid using SAP_ALL.
The following are basic transactions which are being used in the SAP Workflow.
Tcodes - Description
OOAW - Evaluation paths
PFAC_CHG - Change roles
PFAC_DEL - Delete roles
PFAC_DIS - Display roles
PFAC_INS - Create roles
PFOM - Maintain assignment to SAP organizational objects
PFOS - Display assignment to SAP organizational objects
PFSO - Organizational environment of a user
PFTC_CHG - Change tasks
PFTC_COP - Copy tasks
PFTC_DEL - Delete tasks
PFTC_DIS - Display tasks
PFTC_INS - Create tasks
PPOCW - Create organizational plan
PPOMW - Maintain organizational plan
PPOSW - Display organizational plan
SWDA - Workflow Builder (Calls the Workflow Builder in alphanumeric mode)
SWDD - Workflow Builder
SWDS - Workflow Builder (Selection)
SWDD_CONFIG - Workflow configuration
SBWP - The Business Workplace
SWDC_DEFINITION - Workflow Builder administration data
SWDC_RUNTIME - Workflow runtime administration data
SWNCONFIG - Extended notifications for business workflow
SWDM - Business Workflow Explorer
SWEINST - Evaluation and maintenance of instance linkages
SWEINSTVC - Evaluation and maintenance of instance linkages
SWE2 - Evaluation and maintenance of type linkages
SWE3 - Evaluation and maintenance of instance linkages
SWE4 - Switch event trace on/off
SWEL - Display event trace
RSWELOGD - Delete event trace
You can create separate role and assign these codes
Regards
Siva -
Email Notification for Forwarded Workflow task
Hi all,
Is there a way to trigger an email notification for a Forwarded Workflow task?
That is when we forward a task from my SAP inbox to another SAP user's inbox by clicking on the fwd button, there is no email notification generated to the user notifying that a task has been forwarded to him/her? We have to manually send an email to the person notifying that I have fwded a task in his inbox.
Maybe something in SWNCONFIG...
But what?? not sure... We currently use RSWUWFML2 ...
Thanks
AbhiHi Mike
Thanks for the quick Reply.
Have been lookking at SWNCONFIG and not sure how to accomplish it...
Do we have to add a new parameter on the general settings tab ? Is there a SAP delivered Parameter (setting) with a value??
Any input would be highly appreciated to point us in the right direction?
Thanks
Abhi -
RSWUWFML2 filter tasks to be sent
Hi All,
Is there a way wherein we can filter/select workflows tasks to be sent by the report RSWUWFML2? There is an option in SWNCONFIG regarding tasks filtering.
Can we do this in RSWUWFML2?
Regards,
ReymarWhat Sudhir said...you need to create a variant or variants, and schedule your job(s) to run the variant(s).
Margaret -
We have multiple workflows for trip approval that use the same approval task TS20000131. In the UWL filter for Travel Approval Task there is a column called Trip Number. The trip number is shown for all but one workflow WS99900041. When I checked the workflow log, I noticed that in the Task container for TS20000131 under WS99900041 the Expression shown is the Task Container element's ID (TripNumber) whereas for the same task in the other workflows, the expression is the Task Container element's name (Trip Number).
Any idea why this difference between the same task in different workflows? The workflow container is the same for all workflows.Hi
You need to adjust the SWNCONFIG settings as you have mentioned that the notification is sent through a schduled report SWN_SELSEN. THis report triggers the notifications based on the values that you configure in the SWNCONFIG transaction.
or you need to stop the background job specific to the VARIANT
Regards
Pavan
Edited by: Pavan Bhamidipati on Dec 2, 2011 1:28 PM -
Multiple instances of firefox in task manager but FF doesn't open
- Windows XP SP3 (up to date with all critical updates)
- FireFox 25.0.1 (Note: Originally I had version 31 but a few days ago that stopped working)
- Norton Security Suite (the comcast version) up to date
- I have IE6 and Chrome 37 as backup browsers (Note: when FF stopped working, IE8 had also stopped working - page would open, only one system process, but page would never load)
Ran the following scans:
- SUPERAntiSpyware Free Edition
- Malwarebytes Anti-Malware
- Ad-Aware Antivirus
- Spybot-S&D Start Center
Found a few non-critical yet potential infections (nothing too crazy)
Symptom persists as follows:
- fresh boot of computer
- open task manager (no instances of FF)
- open firefox - process appears in task manager and immediately goes to 50%
(nothing opens and nothing listed in Applications)
- open a second instance of firefox - 2nd process appears in task manager
(still nothing opens and neither instance appears in Applications
(the two instances continue to run at a cumulative 50% CPU usage - one might be 15% and the other running at 35% - or both running at 25% each)
- open a third instance of firefox
(still nothing opens, and all three instances show in task manager processes and cumulatively run at 50% - example:15 +15 + 20 or 10 + 15 + 25)
Troubleshooting:
restored a drive image from May 2014
- Note: Dec 2013 I had done a complete FRESH new install of Windows XP in prep for EOL and installed all updates, including SP3, so the image I chose from May was only 5 months old, but I chose that one because of some of the other programs I had installed that month and didn't want to go through that again
- Note #2: I have drive image run a monthly PQI backup of my C: drive and my R: drive) I have two hard drives 300G each whereas C: drive is OS only and R: drive is all my downloads, my documents, my photos, etc)
- after the image restored, I tried to open FF and IE8, neither app was problematic. FF auto updated from what version, I don't know, but it was on 31 when I realized the problem was BACK. Also ran some WIN critical updates, and IE8 stopped working too!
uninstalled IE8 (rolled back to IE6 and now IE works - but obviously I can not live with IE6 - I need to update that!) uninstalled FF31 (and deleted all temp and profile account folders) and installed a brand new copy of FF25 - whereas I immediately force stopped autoupdater and deleted the update files so I could remain on FF25.
Now FF25 will open only on the second instance of the process (the first will always go to 50% CPU, the second will open and run between 0 and 10 CPU, and only one application in Applications)
- I have learned that I can kill the 50% process using task manager or process explorer and total CPU usage will drop down to 0% - 10%
I can open many many tabs without any problems, and I can right click a link to open a new window and all is good, BUT if I use the desktop ICON, the quick launch ICON or the START > Programs > Icon, then the NEXT process will go to 50% and no second window will open
I have seen dozens of forums that have reported similar memory issues, but none have been resolved.
Can you help me? I don't want to upgrade IE6 to IE8 just yet, but I will not use it for anything but testing until I can upgrade. Note: besides being painfully slow, I have been switching to Chrome, but I have never enjoyed Chrome.... I am using FF right now to ask for help.
Any suggestions?I have the "techie" answer for all of you. According to the tier 2 support at Norton Help Desk, the latest live update from Norton "utilizes Visual Studio 2012 which enables SSE2 instructions" and my processor can not handle that.
He said they are "working on a solution" and offered to reply back on Wednesday / Thursday this week if a solution could be found... -
Closing an open task programatically
HI,
I have created a custom component in order to establish connection to BPM .
The flow is such that , the connection gets established and i need to fetch the tasks based on the workflowInstance and user ID specified.
I am able to fetch the tasks from which i extract the task state.
Need to close the state of an open task i.e need to update the state of the task to close. Not able to do it.
How do i achieve this?
This is the piece of code that is supposed to perform the functionality.
Please have a look and provide your inputs in order to achieve the needed.
Function Call:
this.updateTaskOutCome(task1, "CLOSE");
Function Defnition:
public int updateTaskOutCome(final task,
final String outcome) {
// variable to show success or failure
int success = 0;
// creating reference for TaskQueryService
TaskQueryService taskQueryService = null;
// creating reference for WorkflowContextType for admin context
WorkflowContextType adminContext = null;
// creating reference for WorkflowContextType for user context
WorkflowContextType userContext = null;
TaskService taskService = null;
oracle.bpel.services.workflow.task.model.Task outcomeUpdatedTask =
null;
CredentialType adminCredentialtype = this.createAdminCredentialType();
CredentialOnBehalfOfRequestType onBehalfRequestType =
queryFactory.createCredentialOnBehalfOfRequestType();
// calling getService method og BPMConnection
//get taskQueryService Object from BPMConnection
//taskService = getService("taskAction");
//creating WorkflowContext for admin
//setting admin context to onBehalfRequestType
try {
taskQueryService = (TaskQueryService)getService("taskQuery");
adminContext = taskQueryService.authenticate(adminCredentialtype);
onBehalfRequestType.setOnBehalfOfUser("username");// admin username given
onBehalfRequestType.setWorkflowContext(adminContext);
//creating WorkflowContext for user
userContext= taskQueryService.authenticateOnBehalfOf(onBehalfRequestType);
// getting BPM Client for performing user actions
taskService = (TaskService)getService("taskAction");
// creating UpdateTaskOutcomeType object and setting its property
UpdateTaskOutcomeType updateTaskOutcomeType =
taskActionFactory.createUpdateTaskOutcomeType();
// //setting outcome
updateTaskOutcomeType.setOutcome(outcome);
//setting task
updateTaskOutcomeType.setTask(task);
// setting userContext
updateTaskOutcomeType.setWorkflowContext(userContext);
// calling webservice operation for performing user action
//setting success variable
outcomeUpdatedTask =
taskService.updateTaskOutcome(updateTaskOutcomeType);
} catch (StaleObjectFaultMessage e) {
Report.trace("mysectionstring",
"inside staleobject fault message catch block", null);
// } catch (WorkflowErrorMessage e) {
// TaskQueryServiceFaultType faultInfo = e.getFaultInfo();
} catch (Exception e) {
e.printStackTrace();
if (outcomeUpdatedTask != null) {
success = 1;
return success;
Thanks in advance,
BharathAny one facing similiar issue?
Could someone please provide some information.
Thanks,
Bharath
Maybe you are looking for
-
Hi Ive moved photos but they appear as duplicates in iPhoto. When you try and open them it says Photo can't be found. I have thousands. How do I get rid of these images? Also I have many duplicate photos (from backups) It would be great to be ab
-
Ipod 5 won't let me use network.
Hello Apple community! I need your help as soon as possible! I have this problem with my Ipod touch 5th gen, it turns out that it won't allow me to join a wi-fi network that we have in my school. The network shows up on where it says "Choose a networ
-
Can't find where to add formulas to a table in Pages 5
I have a Pages 09 document with tables set up to track assignments and point values for the classes I teach. I prefer to work in Pages and not Numbers because of some page formatting issues. I used to be able to highlight point values in a column and
-
How do I free up my Physical Memory?
I increased my physical memory up the max of 8 Gigs. My hard rive is 750 G's and is only using 79G's of that,so I'm wondering why so much of my physical memory is being used up? The symptom I'm seeing is that I get the wheel/hour glass my computer i
-
Is it Posssible to install 10g &11g in same server(2003)?
Hi frnds, Already we are having 10g database in Windows server 2003 Environment .It is running properly. Is it possible to install 11g server in the same server. ~will it be a problem? ~will it disturb the 10g ? ~ otherwise any configuration we need