<font size=2 face="sans-serif">Michael,</font>
<br>
<br><font size=2 face="sans-serif">Did you check the authorizations of
WF-BATCH in your system (To ensure SAP_ALL)?</font>
<br>
<br><font size=2 face="sans-serif">Thanks<br>
Krishna Kishor Kammaje <br>
SAP Certified Development Associate - ABAP with Netweaver 7.0<br>
<br>
</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">michael.mcley@daimler.com</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">sap-wug@mit.edu</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">11/02/2011 03:56</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: Workflow
-> Task Bindings and user authorizations</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by:
</font><font size=1 face="sans-serif">sap-wug-bounces@mit.edu</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
Rick,</font><font size=3><br>
</font><font size=2 face="sans-serif"><br>
Interesting thing is that I thought these tasks were running as WF_BATCH.
I changed them to background processing in one of our test systems,
but still the authorizations failed (at least the containers were not written
until I changed the auths of the agent in the previous steps)</font><font size=3><br>
</font><font size=2 face="sans-serif"><br>
The only thing necessary to have a step run as WF_BATCH is to execute the
work item in background, correct?</font><font size=3><br>
</font><font size=2 face="sans-serif"><br>
Sorry to bother you, but no good deed should go unpunished...;-)</font>
<p><font size=4 color=#808000><b>Michael McLey</b></font><font size=3 color=#808000><br>
MBUSI - IT Parts & Administration </font><font size=2 color=#808000><br>
Mercedes-Benz US International, Inc.<br>
1 Mercedes Drive</font><font size=3 color=#808000> </font><font size=2 color=#808000><br>
Vance, AL 35490</font><font size=3 color=#808000> </font><font size=2 color=#808000><br>
PHONE: (205) 462 - 5239</font><font size=3 color=#808000> </font><font size=2 color=#808000><br>
EMAIL: michael.mcley@daimler.com</font><font size=3 color=#808000>
</font><font size=3><br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=37%><font size=1 face="sans-serif"><b>rbakker@gmail.com</b> <br>
Sent by: sap-wug-bounces@MIT.EDU</font>
<p><font size=1 face="sans-serif">02/10/2011 04:18 PM</font>
<br>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
sap-wug@MIT.EDU</font></div></table>
<p>
<td width=62%>
<table width=100%>
<tr valign=top>
<td width=12%>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td width=87%><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">Re: Workflow -> Task Bindings and
user authorizations</font></table>
<br>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br><font size=3><br>
<br>
<br>
Hi Michael,<br>
<br>
Surprising to me as well but then I try to run as much as possible as WF-BATCH,
even putting in dummy wait steps to achieve this.<br>
I've encountered similar authorization problems before.<br>
<br>
regards<br>
Rick Bakker<br>
hanabi technology<br>
<br>
On Fri, Feb 11, 2011 at 8:28 AM, <</font><a href=mailto:michael.mcley@daimler.com><font size=3 color=blue><u>michael.mcley@daimler.com</u></font></a><font size=3>>
wrote:</font><font size=2 face="sans-serif"><br>
<br>
Thanks Rick,<br>
<br>
This is just a follow-up. <br>
<br>
I bit the bullet and started testing to see if I could reproduce this problem.
As it turns out, bindings can be affected by user authorizations.
In this case it was a problem with the approvers reading infotype
0105 in the HR records for the trip requestor.<br>
<br>
Without even read permissions, the binding will not pass the workflow container
value into the task container and the method fails. Maybe it is because
the source container value was an attribute of a BOR object and these container
objects are subject to authorizations, dunno...<br>
<br>
This was a suprise to me, maybe it helps someone else with debugging.</font>
<p><font size=4 color=#808000><b>Michael McLey</b></font><font size=3 color=#808000><br>
MBUSI - IT Parts & Administration </font><font size=2 color=#808000><br>
Mercedes-Benz US International, Inc.<br>
1 Mercedes Drive</font><font size=3 color=#808000> </font><font size=2 color=#808000><br>
Vance, AL 35490</font><font size=3 color=#808000> </font><font size=2 color=#808000><br>
PHONE: (205) 462 - 5239</font><font size=3 color=#808000> </font><font size=2 color=#808000><br>
EMAIL: </font><a href=mailto:michael.mcley@daimler.com target=_blank><font size=2 color=blue><u>michael.mcley@daimler.com</u></font></a><font size=3 color=#808000>
</font><font size=3><br>
</font>
<p>
<table width=100%>
<tr valign=top>
<td width=35%><a href=mailto:rbakker@gmail.com target=_blank><font size=1 color=blue face="sans-serif"><b><u>rbakker@gmail.com</u></b></font></a><font size=1 face="sans-serif"><br>
Sent by: </font><a href="mailto:sap-wug-bounces@mit.edu" target=_blank><font size=1 color=blue face="sans-serif"><u>sap-wug-bounces@mit.edu</u></font></a>
<p><font size=1 face="sans-serif">02/09/2011 04:13 PM</font>
<br>
<table border=4>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to</font><font size=3 color=blue><u><br>
</u></font><a href="mailto:sap-wug@mit.edu" target=_blank><font size=1 color=blue face="sans-serif"><u>sap-wug@mit.edu</u></font></a></div></table>
<br>
<td width=62%>
<br>
<table width=100%>
<tr valign=top>
<td width=12%>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td width=87%><a href="mailto:sap-wug@mit.edu" target=_blank><font size=1 color=blue face="sans-serif"><u>sap-wug@mit.edu</u></font></a>
<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">Re: Workflow -> Task Bindings and
user authorizations</font></table>
<br><font size=3><br>
</font>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br>
<td width=1%></table>
<p><font size=3><br>
</font><tt><font size=2><br>
<br>
Hi Michael,<br>
<br>
This probably has nothing to do with your problem but so many keywords<br>
match that I can't resist.<br>
<br>
I was very surprised to find that including a position (S ....) which<br>
is empty in the list of recipients of a SendMail step causes the<br>
workflow to go into error.<br>
Maybe your problem is somehow related.<br>
<br>
regards<br>
Rick Bakker<br>
hanabi technology<br>
<br>
On Thu, Feb 10, 2011 at 4:20 AM, <</font></tt><a href=mailto:michael.mcley@daimler.com target=_blank><tt><font size=2 color=blue><u>michael.mcley@daimler.com</u></font></tt></a><tt><font size=2>>
wrote:<br>
><br>
> Hello Wuggers,<br>
><br>
> I'm stumped.<br>
><br>
> Background:<br>
> We are using a workflow for the approvals of travel requests. One
of the<br>
> steps is that if an approver rejects a travel request, an SAP mail
is sent<br>
> to the requestor with some text explaining why.<br>
><br>
> Issue:<br>
> The SAP Mail reciepient is the user ID of the requestor, which is
contained<br>
> in a WORKFLOW container element at the start of the workflow. This
WORKFLOW<br>
> container element is passed into the TASK container through a standard<br>
> binding. So far a no-brainer.<br>
><br>
> As of about August last year, most of these send mail tasks started
going<br>
> into error (most - not all). A review of the logs of successful
and<br>
> error-ed tasks (and the task program, etc...) shows the reason for
the error<br>
> is that the task container element which is used in the task to determine<br>
> the reciepient of the mail is not being populated, although the source<br>
> element in the workflow container has a value.<br>
><br>
> Some Hints:<br>
> At about exactly the same time, we underwent a complete overhaul of
our user<br>
> authorization scheme. Additionally, the send mail task (for
some strange<br>
> reason) is not a background task, although there is no user interface.<br>
><br>
> ----------------------------<br>
> It seems to me that our authorization project has somehow caused this<br>
> binding to break in most (but not all) instances, but up to this point,
I<br>
> did not think that user auths had any effect on workflow -> task
bindings,<br>
> even if the step is not background. Am I wrong to assume this?<br>
><br>
> Any help or hints would be appreciated. Thx.<br>
><br>
><br>
> Michael McLey<br>
> MBUSI - IT Parts & Administration<br>
> Mercedes-Benz US International, Inc.<br>
> 1 Mercedes Drive<br>
> Vance, AL 35490<br>
> PHONE: (205) 462 - 5239<br>
> EMAIL: </font></tt><a href=mailto:michael.mcley@daimler.com target=_blank><tt><font size=2 color=blue><u>michael.mcley@daimler.com</u></font></tt></a><tt><font size=2><br>
> If you are not the intended addressee, please inform us immediately
that you<br>
> have received this e-mail in error, and delete it. We thank you for
your<br>
> cooperation.<br>
><br>
> _______________________________________________<br>
> SAP-WUG mailing list<br>
> </font></tt><a href="mailto:SAP-WUG@mit.edu" target=_blank><tt><font size=2 color=blue><u>SAP-WUG@mit.edu</u></font></tt></a><tt><font size=2><br>
> </font></tt><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank><tt><font size=2 color=blue><u>http://mailman.mit.edu/mailman/listinfo/sap-wug</u></font></tt></a><tt><font size=2><br>
><br>
><br>
<br>
_______________________________________________<br>
SAP-WUG mailing list</font></tt><font size=3 color=blue><u><br>
</u></font><a href="mailto:SAP-WUG@mit.edu" target=_blank><tt><font size=2 color=blue><u>SAP-WUG@mit.edu</u></font></tt></a><font size=3 color=blue><u><br>
</u></font><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank><tt><font size=2 color=blue><u>http://mailman.mit.edu/mailman/listinfo/sap-wug</u></font></tt></a><font size=2 color=#808080 face="sans-serif"><br>
<br>
<br>
If you are not the intended addressee, please inform us immediately that
you have received this e-mail in error, and delete it. We thank you for
your cooperation. </font>
<p><font size=3><br>
_______________________________________________<br>
SAP-WUG mailing list</font><font size=3 color=blue><u><br>
</u></font><a href="mailto:SAP-WUG@mit.edu"><font size=3 color=blue><u>SAP-WUG@mit.edu</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank><font size=3 color=blue><u>http://mailman.mit.edu/mailman/listinfo/sap-wug</u></font></a>
<p><tt><font size=2>_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
</font></tt><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug"><tt><font size=2>http://mailman.mit.edu/mailman/listinfo/sap-wug</font></tt></a>
<p><font size=2 color=#808080 face="sans-serif"><br>
If you are not the intended addressee, please inform us immediately that
you have received this e-mail in error, and delete it. We thank you for
your cooperation. </font><tt><font size=2>_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
</font></tt><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug"><tt><font size=2>http://mailman.mit.edu/mailman/listinfo/sap-wug</font></tt></a><tt><font size=2><br>
</font></tt>
<p>