<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" data-hsystem="true"></head>
<body><style>p{margin: 0;padding: 0;}

</style>
<p>Hi,</p>
<p> </p>
<p>What do you see in SOST/SOSG? Is the attachment present with the email?</p>
<p> </p>
<p>Regards,</p>
<p>Jerry Martinek<br><br>On Wed, 24 Jun 2015 19:00:52 +0000, Sue Doughty
&lt;Sue.Doughty@odfl.com&gt; wrote:</p>
<blockquote style="border-left: 2px solid #000000; padding-right: 0px;
padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div id="html-message"><meta>
<meta name="Generator">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family:
'Arial',sans-serif; color: #1f497d;">Hi,</span></p>
<p> </p>
<p> </p>
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family:
'Arial',sans-serif; color: #1f497d;">Nothing in ST22.  The email and PDF
attachment are created and attached in the function module and sent from the
FM….why would the workflow have a problem with that?</span></p>
<p> </p>
<p> </p>
<p class="MsoNormal"><strong><span style="font-size: 11.0pt; font-family:
'Calibri',sans-serif;">From:</span></strong><span style="font-size: 11.0pt;
font-family: 'Calibri',sans-serif;"> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <strong>On Behalf Of </strong>Shai
Eyal<br><strong>Sent:</strong> Wednesday, June 24, 2015 2:52
PM<br><strong>To:</strong> sap-wug<br><strong>Subject:</strong> Re: WF Error -
Method cannot be executed</span></p>
<p> </p>
<p> </p>
<div>
<div>
<p class="MsoNormal"><span style="font-size: 9.5pt;">Hi Sue,</span></p>
<p> </p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 9.5pt;">I'm afraid it means the
workflow fails to create the PDF.</span></p>
<p> </p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 9.5pt;">Anything in ST22?<br></span></p>
<p> </p>
<div>
<div>
<div>
<div>
<p> </p>
</div>
<div>
<p class="MsoNormal"><strong><span style="font-size: 10.0pt; font-family:
'Verdana',sans-serif; color: #00007f;">Regards,<br>Shai Eyal</span></strong></p>
<p> </p>
</div>
<div>
<p class="MsoNormal"><strong><span style="font-size: 10.0pt; font-family:
'Verdana',sans-serif; color: navy;">SAP Logistics senior consultant<br>SAP
Workflow &amp; BPM specialist</span></strong></p>
<p> </p>
</div>
<div>
<p> </p>
</div>
<div>
<p> </p>
</div>
<p> </p>
</div>
</div>
</div>
<p> </p>
<div>
<p class="MsoNormal">On Wed, Jun 24, 2015 at 9:42 PM, &lt;<a href="mailto:sap-wug-request@mit.edu" target="_blank">sap-wug-request@mit.edu</a>&gt; wrote:</p>
<p> </p>
<blockquote style="border: none; border-left: solid #CCCCCC 1.0pt; padding: 0in
0in 0in 6.0pt; margin-left: 4.8pt; margin-right: 0in;">
<p class="MsoNormal">Send SAP-WUG mailing list submissions to<br>        <a href="mailto:sap-wug@mit.edu" target="">sap-wug@mit.edu</a><br><br>To subscribe
or unsubscribe via the World Wide Web, visit<br>        <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>or, via
email, send a message with subject or body 'help' to<br>        <a href="mailto:sap-wug-request@mit.edu" target="">sap-wug-request@mit.edu</a><br><br>You can reach the person managing
the list at<br>        <a href="mailto:sap-wug-owner@mit.edu" target="">sap-wug-owner@mit.edu</a><br><br>When replying, please edit your
Subject line so it is more specific<br>than "Re: Contents of SAP-WUG
digest..."<br><br><br>Today's Topics:<br><br>   1. RE: WF Error - Method
cannot be executed (Sue
Doughty)<br><br><br>----------------------------------------------------------------------<br><br>Message:
1<br>Date: Wed, 24 Jun 2015 18:42:22 +0000<br>From: Sue Doughty &lt;<a href="mailto:Sue.Doughty@odfl.com" target="">Sue.Doughty@odfl.com</a>&gt;<br>Subject: RE: WF Error - Method cannot
be executed<br>To: "SAP Workflow Users' Group" &lt;<a href="mailto:sap-wug@mit.edu" target="">sap-wug@mit.edu</a>&gt;<br>Cc: Eric Lowe
&lt;<a href="mailto:eric.lowe@odfl.com" target="">eric.lowe@odfl.com</a>&gt;<br>Message-ID:<br>        &lt;<a href="mailto:e3b92e92ea6b4acab2a00b6a849a5d9f@DC1-P-M-EXCH01.corp.odfl.com" target="">e3b92e92ea6b4acab2a00b6a849a5d9f@DC1-P-M-EXCH01.corp.odfl.com</a>&gt;<br>Content-Type:
text/plain; charset="utf-8"<br><br>Hi,<br><br>It?s me again.<br><br>We are so
close!!<br><br>As a recap?.the function module being called in the method
creates a PDF from a smartform, attaches it to an email and sends an email to an
internal email address within our company (<a href="mailto:SAP.Workflow@odfl.com" target="">SAP.Workflow@odfl.com</a>)<br><br>When we run it via SWO1, the email
gets sent with the PDF attached.<br><br>When my ABAPer executes the FM in a
background job, it sends the email with the PDF attached.<br><br>When we have
the workflow call the method, it executes without any errors BUT the email gets
sent with NO attachment.<br><br>Any help would be greatly
appreciated!!!<br><br><br>Sue Doughty<br>SAP Workflow Analyst<br>Office: (336)
822-5189<br><br>From: Sue Doughty<br>Sent: Wednesday, June 24, 2015 11:33
AM<br>To: SAP Workflow Users' Group<br>Cc: Eric Lowe<br>Subject: RE: WF Error -
Method cannot be executed<br><br>Thank you everyone for your
response.<br><br>The function module contained code to do the process in the
foreground and in the background based on how it was called.  So, we made a
copy of the FM and with only the background processing in it , ran another test
from the workflow and we got passed the error!<br><br>Thanks again for your
help!<br><br>From: <a href="mailto:sap-wug-bounces@mit.edu" target="">sap-wug-bounces@mit.edu</a>&lt;mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="">sap-wug-bounces@mit.edu</a>&gt;
[mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="">sap-wug-bounces@mit.edu</a>] On Behalf Of Dart, Jocelyn<br>Sent:
Tuesday, June 23, 2015 6:42 PM<br>To: SAP Workflow Users' Group<br>Subject: Re:
WF Error - Method cannot be executed<br><br>Hi Sue<br>Ok I'm guessing somewhere
its looking for a gui custom control (which requires a dialog user).<br><br>If I
were you I would go back to your ABAP programmer &amp; get them to run the
program in background (ie set up a little batch job) using a userid of the same
type as WF-BATCH.  I'm betting their background test might have been done using
their own userid as the executing user ...which isn't a true test of
backgroundicity ;)<br><br>Also a good time to double check the task method is
passing all the right parameters.<br>Good
luck<br><br>Rgds<br>Jocelyn<br><br>Sent from my iPhone with many apologies for
the spelling, grammar and any other deficiencies<br><br>On 24 Jun 2015, at 5:31
am, Sue Doughty &lt;<a href="mailto:Sue.Doughty@odfl.com" target="">Sue.Doughty@odfl.com</a>&lt;mailto:<a href="mailto:Sue.Doughty@odfl.com" target="">Sue.Doughty@odfl.com</a>&gt;&gt;
wrote:<br>Greetings Wuggers!<br><br>We are on ECC 6.0 Rel 731 SP-Level
0013<br><br>I am at the end of my rope.  ?  Please help!<br><br>I created a
BOR background method that calls a Z Function module that creates a smart form,
converts it to a PDF and then emails
it.<br><br>&lt;image007.png&gt;<br><br>&lt;image002.png&gt;<br><br>&lt;image005.png&gt;<br><br><br><br>When
I test it in SWO1, it works.  When my ABAPer runs the function module in
background outside the workflow, it works.<br><br>When it is executed in the
Workflow it fails with the messages
below:<br><br>&lt;image001.png&gt;<br>&lt;image006.png&gt;<br><br>&lt;image003.png&gt;<br><br>The
error message indicates an error in the Control
Framework<br>&lt;image004.png&gt;<br><br><br>We have searched notes,
Google?.everything we can think of and cannot figure this out.<br><br>We found
one place that said to delete the task to method binding?.we did that.<br><br>We
can tell that the method is not being executed because we put a set container
statement to 99 at the front of it and this never gets set.  We get this error
too?<br><br>&lt;image008.png&gt;<br><br>&lt;image009.png&gt;<br><br>Any ideas
would be greatly appreciated.<br><br>Sue Doughty<br>SAP Workflow
Analyst<br><br>[<a href="http://www.odfl.com/signature/signature_od_37x37.png" target="_blank">http://www.odfl.com/signature/signature_od_37x37.png</a>]&lt;<a href="http://www.odfl.com" target="_blank">http://www.odfl.com</a>&gt;<br><br>Office: (336)
822-5189<br>Fax: (336) 822-5149<br>Email: <a href="mailto:Sue.Doughty@odfl.com" target="">Sue.Doughty@odfl.com</a>&lt;mailto:<a href="mailto:Sue.Doughty@odfl.com" target="">Sue.Doughty@odfl.com</a>&gt;<br>Helping the World Keep
Promises.?<br><br>Old Dominion Freight Line, Inc.<br>500 Old Dominion
Way<br>Thomasville, NC 27360<br><a href="http://www.odfl.com" target="_blank">www.odfl.com</a>&lt;<a href="http://www.odfl.com" target="_blank">http://www.odfl.com</a>&gt;<br>[<a href="http://www.odfl.com/signature/signature_facebook_25x25.png" target="_blank">http://www.odfl.com/signature/signature_facebook_25x25.png</a>]&lt;<a href="http://www.facebook.com/OldDominionFreightLine" target="_blank">http://www.facebook.com/OldDominionFreightLine</a>&gt;<br><br>[<a href="http://www.odfl.com/signature/signature_twitter_white_on_blue_rounded.png" target="_blank">http://www.odfl.com/signature/signature_twitter_white_on_blue_rounded.png</a>]&lt;<a href="http://twitter.com/ODFL_Inc" target="_blank">http://twitter.com/ODFL_Inc</a>&gt;<br><br>[<a href="http://www.odfl.com/signature/signature_linkedin_25x28.png" target="_blank">http://www.odfl.com/signature/signature_linkedin_25x28.png</a>]&lt;<a href="http://www.linkedin.com/company/old-dominion-freight-line" target="_blank">http://www.linkedin.com/company/old-dominion-freight-line</a>&gt;<br><br>CONFIDENTIALITY
NOTICE: The information contained in this message may be confidential,
privileged, proprietary, or otherwise legally exempt from disclosure. If the
reader of this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you are
hereby notified that you are not authorized to read, print, retain, copy or
disseminate this message, any part of it, or any attachments. If you have
received this message in error, please delete this message and any attachments
from your system without reading the content and notify the sender immediately
of the inadvertent transmission. Thank you for your cooperation.</p>
</blockquote>
</div>
</div>
</div>
</div>
<br><table class="00c9999b-8389-419c-9d5e-8a257d4ee738Table" style="border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td><span style="font-family: Arial; color: #006133;
font-size: 11pt; font-weight: bold;">Sue Doughty</span><br><span style="font-family: Arial; color: #687b69; font-size: 10pt; font-weight:
normal;"><span style="font-family: Arial;">SAP Workflow Analyst</span></span>
</td>
<td align="right" width="55" height="55"><a href="http://www.odfl.com" target=""><img id="IMG1" src="http://www.odfl.com/signature/signature_od_37x37.png" alt="" width="37" height="37" border="0"></a>
</td>
</tr>
</tbody>
</table>
<span style="font-family: Arial; color: #d4772d; font-size: 9pt; font-weight:
normal;"><span style="font-family: Arial; font-size: 9pt;"><span style="font-family: Arial; font-size: 9pt;">Office: </span>(336)
822-5189</span><br>Fax: (336) 822-5149<br>Email: <span style="font-family:
Arial; font-size: 9pt;"><span style="font-family: Arial; font-size: 9pt;"><a title="Click to send email to Sue Doughty" href="mailto:Sue.Doughty@odfl.com" target=""><span style="font-family: Arial; font-size:
9pt;">Sue.Doughty@odfl.com</span></a></span></span></span><br><table class="00c9999b-8389-419c-9d5e-8a257d4ee738Table" style="border-collapse:
collapse;" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td height="30"><span style="font-family: Arial; color: #687b69; font-size: 10pt;
font-weight: normal;">Helping the World Keep Promises.<sup>®</sup></span>
</td>
</tr>
</tbody>
</table>
<span style="font-family: Arial; color: #006133; font-size: 9pt;">Old Dominion
Freight Line, Inc.<br>500 Old Dominion Way<br>Thomasville, NC 27360<br><a style="font-family: Arial; font-size: 9pt;" href="http://www.odfl.com" target="">www.odfl.com</a></span><br><table class="00c9999b-8389-419c-9d5e-8a257d4ee738Table" style="border-collapse:
collapse;" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td width="32" height="50"><span style="font-family: Arial; font-size: 9pt;"><a href="http://www.facebook.com/OldDominionFreightLine" target=""><img id="IMG1" src="http://www.odfl.com/signature/signature_facebook_25x25.png" alt="" width="25" height="25" align="middle" border="0"></a></span>
</td>
<td width="32" height="50"><a href="http://twitter.com/ODFL_Inc" target=""><img id="IMG1" src="http://www.odfl.com/signature/signature_twitter_white_on_blue_rounded.png" alt="" width="25" height="25" align="middle" border="0"></a>
</td>
<td width="32" height="50"><a href="http://www.linkedin.com/company/old-dominion-freight-line" target=""><img id="IMG1" src="http://www.odfl.com/signature/signature_linkedin_25x28.png" alt="" width="28" height="25" align="middle" border="0"></a>
</td>
</tr>
</tbody>
</table>
<span class="00c9999b-8389-419c-9d5e-8a257d4ee738" style="font-family: Arial;
font-size: 9pt;">CONFIDENTIALITY NOTICE: The information contained in this
message may be confidential, privileged, proprietary, or otherwise legally
exempt from disclosure. If the reader of this message is not the intended
recipient, or an employee or agent responsible for delivering this message to
the intended recipient, you are hereby notified that you are not authorized to
read, print, retain, copy or disseminate this message, any part of it, or any
attachments. If you have received this message in error, please delete this
message and any attachments from your system without reading the content and
notify the sender immediately of the inadvertent transmission. Thank you for
your cooperation.</span><br><br><div class="WordSection1">
<div>
<div>
<div>
<blockquote style="border: none; border-left: solid #CCCCCC 1.0pt; padding: 0in
0in 0in 6.0pt; margin-left: 4.8pt; margin-right: 0in;">
<p class="MsoNormal">_______________________________________________<br>SAP-WUG
mailing list<br><a href="mailto:SAP-WUG@mit.edu" target="">SAP-WUG@mit.edu</a>&lt;mailto:<a href="mailto:SAP-WUG@mit.edu" target="">SAP-WUG@mit.edu</a>&gt;<br><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>--------------
next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20150624/28bf758b/attachment.htm" target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20150624/28bf758b/attachment.htm</a><br><br>------------------------------<br><br>_______________________________________________<br>SAP-WUG
mailing list<br><a href="mailto:SAP-WUG@mit.edu" target="">SAP-WUG@mit.edu</a><br><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br><br>End
of SAP-WUG Digest, Vol 127, Issue
12<br>****************************************</p>
<p> </p>
</blockquote>
</div>
<p> </p>
</div>
</div>
</div>
</div>
<br><hr>
<br>_______________________________________________<br>SAP-WUG mailing
list<br>SAP-WUG@mit.edu<br><a href="../hwebmail/services/go.php?url=http%3A%2F%2Fmailman.mit.edu%2Fmailman%2Flistinfo%2Fsap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a>
</blockquote>
<p><br><br></p>

</body>
</html>