<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div><br></div>Hello Paul,<div><br></div><div>Why don't you cancel the existing workflow and start a new one manually in SWUE with the same key field and see if that fixes the issue?</div><div><br></div><div>I was also wondering if the language issue for the deadline job might be fixed if a new user who's logged in 'EN' and have the proper&nbsp;authorization&nbsp;run the automatic customizing in SWU3.</div><div><br></div><div>Regards,</div><div>Ali</div><div><br></div><div><br><br><div><div id="SkyDrivePlaceholder"></div>&gt; From: sap-wug-request@mit.edu<br>&gt; Subject: SAP-WUG Digest, Vol 86, Issue 23<br>&gt; To: sap-wug@mit.edu<br>&gt; Date: Mon, 23 Jan 2012 23:21:54 -0500<br>&gt; <br>&gt; Send SAP-WUG mailing list submissions to<br>&gt;         sap-wug@mit.edu<br>&gt; <br>&gt; To subscribe or unsubscribe via the World Wide Web, visit<br>&gt;         http://mailman.mit.edu/mailman/listinfo/sap-wug<br>&gt; or, via email, send a message with subject or body 'help' to<br>&gt;         sap-wug-request@mit.edu<br>&gt; <br>&gt; You can reach the person managing the list at<br>&gt;         sap-wug-owner@mit.edu<br>&gt; <br>&gt; When replying, please edit your Subject line so it is more specific<br>&gt; than "Re: Contents of SAP-WUG digest..."<br>&gt; <br>&gt; <br>&gt; Today's Topics:<br>&gt; <br>&gt;    1. SWWDHEX starts a French workflow<br>&gt;       (Paul.Bakker@osr.treasury.qld.gov.au)<br>&gt;    2. RE: SWWDHEX starts a French workflow (Dart, Jocelyn)<br>&gt;    3. RE: SWWDHEX starts a French workflow<br>&gt;       (Paul.Bakker@osr.treasury.qld.gov.au)<br>&gt;    4. RE: SWWDHEX starts a French workflow (Dart, Jocelyn)<br>&gt;    5. RE: SWWDHEX starts a French workflow<br>&gt;       (Paul.Bakker@osr.treasury.qld.gov.au)<br>&gt; <br>&gt; <br>&gt; ----------------------------------------------------------------------<br>&gt; <br>&gt; Message: 1<br>&gt; Date: Tue, 24 Jan 2012 12:17:56 +1000<br>&gt; From: Paul.Bakker@osr.treasury.qld.gov.au<br>&gt; Subject: SWWDHEX starts a French workflow<br>&gt; To: sap-wug@mit.edu<br>&gt; Message-ID: &lt;201201240218.q0O2I4F7008815@mailhub-dmz-3.mit.edu&gt;<br>&gt; Content-Type: text/plain; charset="us-ascii"<br>&gt; <br>&gt; <br>&gt; Regular readers of the WUG group might remember my question from a few<br>&gt; weeks ago:<br>&gt; <br>&gt;         How is the WorkItemLanguage of a workflow set?<br>&gt; <br>&gt; I had an urgent problem: mining engineers in the outback were receiving<br>&gt; workflow emails in French, and they weren't happy about it.<br>&gt; <br>&gt; Using advice from Florin W. I tracked down the culprit: the deadline job<br>&gt; SWWDHEX (!). This job had been set up from SWU3 with a language of 'FR' (in<br>&gt; the 'step' tab).<br>&gt; <br>&gt; When a workitem deadline expires, SWWDHEX (under user WF-BATCH) terminates<br>&gt; the current workitem. The workflow continues on and approves the<br>&gt; procurement  document (at the current release level), and this triggers a<br>&gt; new approval workflow for the next level.<br>&gt; <br>&gt; This new workflow is started with the WorkItemLanguage copied from the<br>&gt; SWWDHEX job. Presumably the language id 'FR' is stored in SY-LANGU  at the<br>&gt; time that the workflow is triggered.<br>&gt; <br>&gt; My question is now: how can I change SY-LANGU in the ABAP code, before the<br>&gt; next workflow is triggered?<br>&gt; <br>&gt; In the code just before BAPI_REQUISITION_RELEASE_GEN I have tried:<br>&gt; - sy-langu = 'EN'.<br>&gt; - 'SET LOCALE LANGUAGE 'E'.<br>&gt; <br>&gt; But neither have had any effect.<br>&gt; <br>&gt; Is there a better approach? Or is there another way to stop the evil<br>&gt; influence of the SWWDHEX job?<br>&gt; <br>&gt; thanks<br>&gt; Paul Bakker<br>&gt; <br>&gt; <br>&gt; *********************************************************************************************<br>&gt; Only an individual or entity who is intended to be a recipient of this e-mail may access or use the information contained in this e-mail or any of its attachments.  Opinions contained in this e-mail or any of its attachments do not necessarily reflect the opinions of Queensland Treasury.<br>&gt; <br>&gt; The contents of this e-mail and any attachments are confidential and may be legally privileged and the subject of copyright.  If you have received this e-mail in error, please notify Queensland Treasury immediately and erase all copies of the e-mail and the attachments.  Queensland Treasury uses virus scanning software.  However, it is not liable for viruses present in this e-mail or in any attachment.  <br>&gt; ***************************************************************************************************<br>&gt; <br>&gt; <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; Message: 2<br>&gt; Date: Tue, 24 Jan 2012 03:56:56 +0100<br>&gt; From: "Dart, Jocelyn" &lt;jocelyn.dart@sap.com&gt;<br>&gt; Subject: RE: SWWDHEX starts a French workflow<br>&gt; To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<br>&gt; Message-ID:<br>&gt;         &lt;8C507B5E0BA5114E933C3C6E2E9729E007674CEE85@DEWDFECCR01.wdf.sap.corp&gt;<br>&gt; Content-Type: text/plain; charset="us-ascii"<br>&gt; <br>&gt; Hi Paul, <br>&gt; Maybe you should just get them to set on the inbox Personal Workflow Settings to translate work items to your own language (English) temporarily?<br>&gt; Or is the problem that French isn't giving you any text at all?<br>&gt; <br>&gt; You could also try just updating WI_LANG on table SWWWIHEAD which should do the same thing.<br>&gt; Regards,<br>&gt; Jocelyn <br>&gt; <br>&gt; -----Original Message-----<br>&gt; From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On Behalf Of Paul.Bakker@osr.treasury.qld.gov.au<br>&gt; Sent: Tuesday, 24 January 2012 1:18 PM<br>&gt; To: sap-wug@mit.edu<br>&gt; Subject: SWWDHEX starts a French workflow<br>&gt; <br>&gt; <br>&gt; Regular readers of the WUG group might remember my question from a few<br>&gt; weeks ago:<br>&gt; <br>&gt;         How is the WorkItemLanguage of a workflow set?<br>&gt; <br>&gt; I had an urgent problem: mining engineers in the outback were receiving<br>&gt; workflow emails in French, and they weren't happy about it.<br>&gt; <br>&gt; Using advice from Florin W. I tracked down the culprit: the deadline job<br>&gt; SWWDHEX (!). This job had been set up from SWU3 with a language of 'FR' (in<br>&gt; the 'step' tab).<br>&gt; <br>&gt; When a workitem deadline expires, SWWDHEX (under user WF-BATCH) terminates<br>&gt; the current workitem. The workflow continues on and approves the<br>&gt; procurement  document (at the current release level), and this triggers a<br>&gt; new approval workflow for the next level.<br>&gt; <br>&gt; This new workflow is started with the WorkItemLanguage copied from the<br>&gt; SWWDHEX job. Presumably the language id 'FR' is stored in SY-LANGU  at the<br>&gt; time that the workflow is triggered.<br>&gt; <br>&gt; My question is now: how can I change SY-LANGU in the ABAP code, before the<br>&gt; next workflow is triggered?<br>&gt; <br>&gt; In the code just before BAPI_REQUISITION_RELEASE_GEN I have tried:<br>&gt; - sy-langu = 'EN'.<br>&gt; - 'SET LOCALE LANGUAGE 'E'.<br>&gt; <br>&gt; But neither have had any effect.<br>&gt; <br>&gt; Is there a better approach? Or is there another way to stop the evil<br>&gt; influence of the SWWDHEX job?<br>&gt; <br>&gt; thanks<br>&gt; Paul Bakker<br>&gt; <br>&gt; <br>&gt; *********************************************************************************************<br>&gt; Only an individual or entity who is intended to be a recipient of this e-mail may access or use the information contained in this e-mail or any of its attachments.  Opinions contained in this e-mail or any of its attachments do not necessarily reflect the opinions of Queensland Treasury.<br>&gt; <br>&gt; The contents of this e-mail and any attachments are confidential and may be legally privileged and the subject of copyright.  If you have received this e-mail in error, please notify Queensland Treasury immediately and erase all copies of the e-mail and the attachments.  Queensland Treasury uses virus scanning software.  However, it is not liable for viruses present in this e-mail or in any attachment.  <br>&gt; ***************************************************************************************************<br>&gt; <br>&gt; _______________________________________________<br>&gt; SAP-WUG mailing list<br>&gt; SAP-WUG@mit.edu<br>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>&gt; <br>&gt; <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; Message: 3<br>&gt; Date: Tue, 24 Jan 2012 13:17:41 +1000<br>&gt; From: Paul.Bakker@osr.treasury.qld.gov.au<br>&gt; Subject: RE: SWWDHEX starts a French workflow<br>&gt; To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<br>&gt; Message-ID: &lt;201201240317.q0O3GVEk013986@mailhub-dmz-3.mit.edu&gt;<br>&gt; Content-Type: text/plain; charset=US-ASCII<br>&gt; <br>&gt; <br>&gt; Thanks for that. Unfortunately, Inbox settings won't help.<br>&gt; <br>&gt; The problem is that the workflow is using 'SendTaskDescriptio'n to send<br>&gt; emails containing the workitem text.<br>&gt; Because WorkitemLanguage = 'FR', it is always choosing to send the<br>&gt; translated French text in the email.<br>&gt; <br>&gt; (I know - it should have been built to use Extended Notifications<br>&gt; instead.... I'm just the maintenance guy)<br>&gt; <br>&gt; Also, it's not so easy to change the WI language - once the WI Language of<br>&gt; the toplevel workflow is set, it flows through to every subsequent<br>&gt; workitem.<br>&gt; <br>&gt; +++<br>&gt; <br>&gt; This is a bit of a worrying 'feature' of deadlines - any new workflows<br>&gt; kicked off by deadline handling will inherit a hardcoded language..... the<br>&gt; logon language of the guy who happened to run SWU3 in Production!<br>&gt; <br>&gt; cheers<br>&gt; Paul Bakker<br>&gt; <br>&gt; <br>&gt; <br>&gt; From:        "Dart, Jocelyn" &lt;jocelyn.dart@sap.com&gt;<br>&gt; To:        "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<br>&gt; Date:        24/01/2012 01:00 PM<br>&gt; Subject:        RE: SWWDHEX starts a French workflow<br>&gt; Sent by:        sap-wug-bounces@mit.edu<br>&gt; <br>&gt; <br>&gt; <br>&gt; Hi Paul,<br>&gt; Maybe you should just get them to set on the inbox Personal Workflow<br>&gt; Settings to translate work items to your own language (English)<br>&gt; temporarily?<br>&gt; Or is the problem that French isn't giving you any text at all?<br>&gt; <br>&gt; You could also try just updating WI_LANG on table SWWWIHEAD which should do<br>&gt; the same thing.<br>&gt; Regards,<br>&gt; Jocelyn<br>&gt; <br>&gt; -----Original Message-----<br>&gt; From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On Behalf Of<br>&gt; Paul.Bakker@osr.treasury.qld.gov.au<br>&gt; Sent: Tuesday, 24 January 2012 1:18 PM<br>&gt; To: sap-wug@mit.edu<br>&gt; Subject: SWWDHEX starts a French workflow<br>&gt; <br>&gt; <br>&gt; Regular readers of the WUG group might remember my question from a few<br>&gt; weeks ago:<br>&gt; <br>&gt;         How is the WorkItemLanguage of a workflow set?<br>&gt; <br>&gt; I had an urgent problem: mining engineers in the outback were receiving<br>&gt; workflow emails in French, and they weren't happy about it.<br>&gt; <br>&gt; Using advice from Florin W. I tracked down the culprit: the deadline job<br>&gt; SWWDHEX (!). This job had been set up from SWU3 with a language of 'FR' (in<br>&gt; the 'step' tab).<br>&gt; <br>&gt; When a workitem deadline expires, SWWDHEX (under user WF-BATCH) terminates<br>&gt; the current workitem. The workflow continues on and approves the<br>&gt; procurement  document (at the current release level), and this triggers a<br>&gt; new approval workflow for the next level.<br>&gt; <br>&gt; This new workflow is started with the WorkItemLanguage copied from the<br>&gt; SWWDHEX job. Presumably the language id 'FR' is stored in SY-LANGU  at the<br>&gt; time that the workflow is triggered.<br>&gt; <br>&gt; My question is now: how can I change SY-LANGU in the ABAP code, before the<br>&gt; next workflow is triggered?<br>&gt; <br>&gt; In the code just before BAPI_REQUISITION_RELEASE_GEN I have tried:<br>&gt; - sy-langu = 'EN'.<br>&gt; - 'SET LOCALE LANGUAGE 'E'.<br>&gt; <br>&gt; But neither have had any effect.<br>&gt; <br>&gt; Is there a better approach? Or is there another way to stop the evil<br>&gt; influence of the SWWDHEX job?<br>&gt; <br>&gt; thanks<br>&gt; Paul Bakker<br>&gt; <br>&gt; <br>&gt; *********************************************************************************************<br>&gt; <br>&gt; Only an individual or entity who is intended to be a recipient of this<br>&gt; e-mail may access or use the information contained in this e-mail or any of<br>&gt; its attachments.  Opinions contained in this e-mail or any of its<br>&gt; attachments do not necessarily reflect the opinions of Queensland Treasury.<br>&gt; <br>&gt; The contents of this e-mail and any attachments are confidential and may be<br>&gt; legally privileged and the subject of copyright.  If you have received this<br>&gt; e-mail in error, please notify Queensland Treasury immediately and erase<br>&gt; all copies of the e-mail and the attachments.  Queensland Treasury uses<br>&gt; virus scanning software.  However, it is not liable for viruses present in<br>&gt; this e-mail or in any attachment.<br>&gt; ***************************************************************************************************<br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; SAP-WUG mailing list<br>&gt; SAP-WUG@mit.edu<br>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>&gt; <br>&gt; _______________________________________________<br>&gt; SAP-WUG mailing list<br>&gt; SAP-WUG@mit.edu<br>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; Message: 4<br>&gt; Date: Tue, 24 Jan 2012 04:33:20 +0100<br>&gt; From: "Dart, Jocelyn" &lt;jocelyn.dart@sap.com&gt;<br>&gt; Subject: RE: SWWDHEX starts a French workflow<br>&gt; To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<br>&gt; Message-ID:<br>&gt;         &lt;8C507B5E0BA5114E933C3C6E2E9729E007674CEE9D@DEWDFECCR01.wdf.sap.corp&gt;<br>&gt; Content-Type: text/plain; charset="us-ascii"<br>&gt; <br>&gt; Hi Paul, <br>&gt; Is there some reason why you can't just fix the job in SM37 in Prod? Yes its scheduled by SWU3 but that's a matter of convenience ... the job is just a job. <br>&gt; Cheers, <br>&gt; Jocelyn  <br>&gt; <br>&gt; -----Original Message-----<br>&gt; From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On Behalf Of Paul.Bakker@osr.treasury.qld.gov.au<br>&gt; Sent: Tuesday, 24 January 2012 2:18 PM<br>&gt; To: SAP Workflow Users' Group<br>&gt; Subject: RE: SWWDHEX starts a French workflow<br>&gt; <br>&gt; <br>&gt; Thanks for that. Unfortunately, Inbox settings won't help.<br>&gt; <br>&gt; The problem is that the workflow is using 'SendTaskDescriptio'n to send<br>&gt; emails containing the workitem text.<br>&gt; Because WorkitemLanguage = 'FR', it is always choosing to send the<br>&gt; translated French text in the email.<br>&gt; <br>&gt; (I know - it should have been built to use Extended Notifications<br>&gt; instead.... I'm just the maintenance guy)<br>&gt; <br>&gt; Also, it's not so easy to change the WI language - once the WI Language of<br>&gt; the toplevel workflow is set, it flows through to every subsequent<br>&gt; workitem.<br>&gt; <br>&gt; +++<br>&gt; <br>&gt; This is a bit of a worrying 'feature' of deadlines - any new workflows<br>&gt; kicked off by deadline handling will inherit a hardcoded language..... the<br>&gt; logon language of the guy who happened to run SWU3 in Production!<br>&gt; <br>&gt; cheers<br>&gt; Paul Bakker<br>&gt; <br>&gt; <br>&gt; <br>&gt; From:        "Dart, Jocelyn" &lt;jocelyn.dart@sap.com&gt;<br>&gt; To:        "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<br>&gt; Date:        24/01/2012 01:00 PM<br>&gt; Subject:        RE: SWWDHEX starts a French workflow<br>&gt; Sent by:        sap-wug-bounces@mit.edu<br>&gt; <br>&gt; <br>&gt; <br>&gt; Hi Paul,<br>&gt; Maybe you should just get them to set on the inbox Personal Workflow<br>&gt; Settings to translate work items to your own language (English)<br>&gt; temporarily?<br>&gt; Or is the problem that French isn't giving you any text at all?<br>&gt; <br>&gt; You could also try just updating WI_LANG on table SWWWIHEAD which should do<br>&gt; the same thing.<br>&gt; Regards,<br>&gt; Jocelyn<br>&gt; <br>&gt; -----Original Message-----<br>&gt; From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On Behalf Of<br>&gt; Paul.Bakker@osr.treasury.qld.gov.au<br>&gt; Sent: Tuesday, 24 January 2012 1:18 PM<br>&gt; To: sap-wug@mit.edu<br>&gt; Subject: SWWDHEX starts a French workflow<br>&gt; <br>&gt; <br>&gt; Regular readers of the WUG group might remember my question from a few<br>&gt; weeks ago:<br>&gt; <br>&gt;         How is the WorkItemLanguage of a workflow set?<br>&gt; <br>&gt; I had an urgent problem: mining engineers in the outback were receiving<br>&gt; workflow emails in French, and they weren't happy about it.<br>&gt; <br>&gt; Using advice from Florin W. I tracked down the culprit: the deadline job<br>&gt; SWWDHEX (!). This job had been set up from SWU3 with a language of 'FR' (in<br>&gt; the 'step' tab).<br>&gt; <br>&gt; When a workitem deadline expires, SWWDHEX (under user WF-BATCH) terminates<br>&gt; the current workitem. The workflow continues on and approves the<br>&gt; procurement  document (at the current release level), and this triggers a<br>&gt; new approval workflow for the next level.<br>&gt; <br>&gt; This new workflow is started with the WorkItemLanguage copied from the<br>&gt; SWWDHEX job. Presumably the language id 'FR' is stored in SY-LANGU  at the<br>&gt; time that the workflow is triggered.<br>&gt; <br>&gt; My question is now: how can I change SY-LANGU in the ABAP code, before the<br>&gt; next workflow is triggered?<br>&gt; <br>&gt; In the code just before BAPI_REQUISITION_RELEASE_GEN I have tried:<br>&gt; - sy-langu = 'EN'.<br>&gt; - 'SET LOCALE LANGUAGE 'E'.<br>&gt; <br>&gt; But neither have had any effect.<br>&gt; <br>&gt; Is there a better approach? Or is there another way to stop the evil<br>&gt; influence of the SWWDHEX job?<br>&gt; <br>&gt; thanks<br>&gt; Paul Bakker<br>&gt; <br>&gt; <br>&gt; *********************************************************************************************<br>&gt; <br>&gt; Only an individual or entity who is intended to be a recipient of this<br>&gt; e-mail may access or use the information contained in this e-mail or any of<br>&gt; its attachments.  Opinions contained in this e-mail or any of its<br>&gt; attachments do not necessarily reflect the opinions of Queensland Treasury.<br>&gt; <br>&gt; The contents of this e-mail and any attachments are confidential and may be<br>&gt; legally privileged and the subject of copyright.  If you have received this<br>&gt; e-mail in error, please notify Queensland Treasury immediately and erase<br>&gt; all copies of the e-mail and the attachments.  Queensland Treasury uses<br>&gt; virus scanning software.  However, it is not liable for viruses present in<br>&gt; this e-mail or in any attachment.<br>&gt; ***************************************************************************************************<br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; SAP-WUG mailing list<br>&gt; SAP-WUG@mit.edu<br>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>&gt; <br>&gt; _______________________________________________<br>&gt; SAP-WUG mailing list<br>&gt; SAP-WUG@mit.edu<br>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; SAP-WUG mailing list<br>&gt; SAP-WUG@mit.edu<br>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>&gt; <br>&gt; <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; Message: 5<br>&gt; Date: Tue, 24 Jan 2012 14:21:32 +1000<br>&gt; From: Paul.Bakker@osr.treasury.qld.gov.au<br>&gt; Subject: RE: SWWDHEX starts a French workflow<br>&gt; To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<br>&gt; Message-ID: &lt;201201240421.q0O4Lghv018437@mailhub-dmz-4.mit.edu&gt;<br>&gt; Content-Type: text/plain; charset=US-ASCII<br>&gt; <br>&gt; Jocelyn,<br>&gt; <br>&gt; The French users might storm the Bastille if I did that! :-)<br>&gt; <br>&gt; I don't want any language to be hardcoded, if it controls the translation<br>&gt; of the emails.<br>&gt; <br>&gt; Our idea is to have sy-langu transferred from the original<br>&gt; (deadline-terminated) workflow to the new one.<br>&gt; I have all the bindings in place to do that, but SY-LANGU just doesn't want<br>&gt; to be changed..<br>&gt; <br>&gt; merci<br>&gt; Paul<br>&gt; <br>&gt; <br>&gt; <br>&gt; From:        "Dart, Jocelyn" &lt;jocelyn.dart@sap.com&gt;<br>&gt; To:        "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<br>&gt; Date:        24/01/2012 01:37 PM<br>&gt; Subject:        RE: SWWDHEX starts a French workflow<br>&gt; Sent by:        sap-wug-bounces@mit.edu<br>&gt; <br>&gt; <br>&gt; <br>&gt; Hi Paul,<br>&gt; Is there some reason why you can't just fix the job in SM37 in Prod? Yes<br>&gt; its scheduled by SWU3 but that's a matter of convenience ... the job is<br>&gt; just a job.<br>&gt; Cheers,<br>&gt; Jocelyn<br>&gt; <br>&gt; -----Original Message-----<br>&gt; From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On Behalf Of<br>&gt; Paul.Bakker@osr.treasury.qld.gov.au<br>&gt; Sent: Tuesday, 24 January 2012 2:18 PM<br>&gt; To: SAP Workflow Users' Group<br>&gt; Subject: RE: SWWDHEX starts a French workflow<br>&gt; <br>&gt; <br>&gt; Thanks for that. Unfortunately, Inbox settings won't help.<br>&gt; <br>&gt; The problem is that the workflow is using 'SendTaskDescriptio'n to send<br>&gt; emails containing the workitem text.<br>&gt; Because WorkitemLanguage = 'FR', it is always choosing to send the<br>&gt; translated French text in the email.<br>&gt; <br>&gt; (I know - it should have been built to use Extended Notifications<br>&gt; instead.... I'm just the maintenance guy)<br>&gt; <br>&gt; Also, it's not so easy to change the WI language - once the WI Language of<br>&gt; the toplevel workflow is set, it flows through to every subsequent<br>&gt; workitem.<br>&gt; <br>&gt; +++<br>&gt; <br>&gt; This is a bit of a worrying 'feature' of deadlines - any new workflows<br>&gt; kicked off by deadline handling will inherit a hardcoded language..... the<br>&gt; logon language of the guy who happened to run SWU3 in Production!<br>&gt; <br>&gt; cheers<br>&gt; Paul Bakker<br>&gt; <br>&gt; <br>&gt; <br>&gt; From:                 "Dart, Jocelyn" &lt;jocelyn.dart@sap.com&gt;<br>&gt; To:                 "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<br>&gt; Date:                 24/01/2012 01:00 PM<br>&gt; Subject:                 RE: SWWDHEX starts a French workflow<br>&gt; Sent by:                 sap-wug-bounces@mit.edu<br>&gt; <br>&gt; <br>&gt; <br>&gt; Hi Paul,<br>&gt; Maybe you should just get them to set on the inbox Personal Workflow<br>&gt; Settings to translate work items to your own language (English)<br>&gt; temporarily?<br>&gt; Or is the problem that French isn't giving you any text at all?<br>&gt; <br>&gt; You could also try just updating WI_LANG on table SWWWIHEAD which should do<br>&gt; the same thing.<br>&gt; Regards,<br>&gt; Jocelyn<br>&gt; <br>&gt; -----Original Message-----<br>&gt; From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On Behalf Of<br>&gt; Paul.Bakker@osr.treasury.qld.gov.au<br>&gt; Sent: Tuesday, 24 January 2012 1:18 PM<br>&gt; To: sap-wug@mit.edu<br>&gt; Subject: SWWDHEX starts a French workflow<br>&gt; <br>&gt; <br>&gt; Regular readers of the WUG group might remember my question from a few<br>&gt; weeks ago:<br>&gt; <br>&gt;         How is the WorkItemLanguage of a workflow set?<br>&gt; <br>&gt; I had an urgent problem: mining engineers in the outback were receiving<br>&gt; workflow emails in French, and they weren't happy about it.<br>&gt; <br>&gt; Using advice from Florin W. I tracked down the culprit: the deadline job<br>&gt; SWWDHEX (!). This job had been set up from SWU3 with a language of 'FR' (in<br>&gt; the 'step' tab).<br>&gt; <br>&gt; When a workitem deadline expires, SWWDHEX (under user WF-BATCH) terminates<br>&gt; the current workitem. The workflow continues on and approves the<br>&gt; procurement  document (at the current release level), and this triggers a<br>&gt; new approval workflow for the next level.<br>&gt; <br>&gt; This new workflow is started with the WorkItemLanguage copied from the<br>&gt; SWWDHEX job. Presumably the language id 'FR' is stored in SY-LANGU  at the<br>&gt; time that the workflow is triggered.<br>&gt; <br>&gt; My question is now: how can I change SY-LANGU in the ABAP code, before the<br>&gt; next workflow is triggered?<br>&gt; <br>&gt; In the code just before BAPI_REQUISITION_RELEASE_GEN I have tried:<br>&gt; - sy-langu = 'EN'.<br>&gt; - 'SET LOCALE LANGUAGE 'E'.<br>&gt; <br>&gt; But neither have had any effect.<br>&gt; <br>&gt; Is there a better approach? Or is there another way to stop the evil<br>&gt; influence of the SWWDHEX job?<br>&gt; <br>&gt; thanks<br>&gt; Paul Bakker<br>&gt; <br>&gt; <br>&gt; *********************************************************************************************<br>&gt; <br>&gt; <br>&gt; Only an individual or entity who is intended to be a recipient of this<br>&gt; e-mail may access or use the information contained in this e-mail or any of<br>&gt; its attachments.  Opinions contained in this e-mail or any of its<br>&gt; attachments do not necessarily reflect the opinions of Queensland Treasury.<br>&gt; <br>&gt; The contents of this e-mail and any attachments are confidential and may be<br>&gt; legally privileged and the subject of copyright.  If you have received this<br>&gt; e-mail in error, please notify Queensland Treasury immediately and erase<br>&gt; all copies of the e-mail and the attachments.  Queensland Treasury uses<br>&gt; virus scanning software.  However, it is not liable for viruses present in<br>&gt; this e-mail or in any attachment.<br>&gt; ***************************************************************************************************<br>&gt; <br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; SAP-WUG mailing list<br>&gt; SAP-WUG@mit.edu<br>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>&gt; <br>&gt; _______________________________________________<br>&gt; SAP-WUG mailing list<br>&gt; SAP-WUG@mit.edu<br>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; SAP-WUG mailing list<br>&gt; SAP-WUG@mit.edu<br>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>&gt; <br>&gt; _______________________________________________<br>&gt; SAP-WUG mailing list<br>&gt; SAP-WUG@mit.edu<br>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; _______________________________________________<br>&gt; SAP-WUG mailing list<br>&gt; SAP-WUG@mit.edu<br>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>&gt; <br>&gt; <br>&gt; End of SAP-WUG Digest, Vol 86, Issue 23<br>&gt; ***************************************<br></div></div>                                               </div></body>
</html>