<br><font size=2 face="sans-serif">Hello Chantal,</font>
<br>
<br><font size=2 face="sans-serif">don't try to change the HR standard
coding where it uses sy-uname...</font>
<br>
<br><font size=2 face="sans-serif">The straight-forward solution in cases
like yours is usually turning the background workflow step into a dialog
step. </font>
<br><font size=2 face="sans-serif">That is, go to the task definition,
delete the tick in the &quot;background processing&quot; check box. Do
the task agent assignment of possible agents, e.g. set it to general task
or something suitable. Back in the workflow template assign your container
element with the approver to the agent expression.</font>
<br>
<br><font size=2 face="sans-serif">Of course the user will then have to
wait the while it takes to complete the task...</font>
<br>
<br><font size=2 face="sans-serif">kind regards,</font>
<br><font size=2 face="sans-serif">Veit </font>
<br>
<br>
<br>
<br><font size=2 color=#0080ff face="Arial"><br>
-- </font><font size=2 color=#b2b2b2 face="Arial"><br>
Dipl. WiInf. Veit Unger <br>
- </font><font size=2 color=blue face="Arial"><u><br>
</u></font><a href=mailto:veit.unger@de.ibm.com><font size=2 color=#0080ff face="Arial"><u>veit.unger@de.ibm.com
</u></font></a><font size=2 color=#b2b2b2 face="Arial"><br>
Telefon: +(49) 170 914 7650 <br>
- </font>
<table width=100%>
<tr>
<td width=100%><a href=http://www.sercon.de/><font size=2 color=#0080ff face="Arial"><u>SerCon
GmbH</u></font></a><font size=3> </font><font size=2 color=#b2b2b2 face="Arial"><br>
Nahmitzer Damm 12 - 12277 Berlin . Germany <br>
c/o IBM Deutschland GmbH <br>
IBM Global Business Services </font></table>
<br>
<br><font size=1 color=#b2b2b2 face="Arial">SerCon Service-Konzepte für
Informations-Systeme GmbH<br>
Geschäftsführung: Jörg Schimetzek, Bernhard Settele<br>
Sitz der Gesellschaft: Ehningen<br>
Registergericht: Amtsgericht Stuttgart, HRB 243109<br>
<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Chantal C Spenard &lt;cspenard@ca.ibm.com&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">12.04.2007 14:59</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">sap-wug@mit.edu</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Compensation management Workflow - bus7022
Method CompAdjStatusChange</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
Hello,</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
I have activated the Compensation Management Workflow (WS01000083) and
</font><font size=2 face="Arial">in subwork flow WS01000086 (change Compensation
Adjustment status) of workflow template WS01000086 (approval process Compensation
Management). The task used to change the status of compensation adjustments
in the worklist is a background step (Workflow background user) as it may
take a while to complete the task (depending on the size of the worklist).
</font><font size=3><br>
</font><font size=2 face="Arial"><br>
The disadvantage of this is that you see WF-BATCH as the approver and this
is not acceptable to my client from an audit perspective, he wants to see
the real approver. Therefore, I have created a container in which I keep
the approver user id and I am trying to change the method CompAdjStatusChange
of BUS7022 to use this container instead of SY-UNAME but so far I have
not been successfull. If I understand what is happening, this method seems
to be calling the PA30 transaction to perform the update and I do not want
to change this transation....</font><font size=3> <br>
</font><font size=2 face="Arial"><br>
Would anybody have a suggestion for me ?</font><font size=3> <br>
</font><font size=2 face="Arial"><br>
Thanks,</font><font size=3> </font><font size=2 face="sans-serif"><br>
________________________________<br>
Chantal Spénard<br>
<br>
Directrice exécutive de projets<br>
Service de support applicatif - SAP<br>
Services d'affaires mondiaux IBM<br>
<br>
Delivery Project Executive<br>
Package Application Services - SAP<br>
IBM Global Business Services<br>
<br>
1360, boul. René-Lévesque ouest <br>
Montréal, Québec, H3B 2V6<br>
T: 514.923.9271<br>
cspenard@ca.ibm.com</font><tt><font size=2>_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</font></tt>
<br>