<div dir="ltr">Hi Sue,<div><br></div><div>Maybe you might have tried it already!</div><div><br></div><div>Can you convert the BO method as dialog &amp; assign yourself as approver. You will be receiving a workitem in your inbox. You can set a debugger in the BO method. Then execute the workitem which will start the debugger &amp; see what happens in runtime.</div><div><br></div><div>Thanks</div><div>Aspire</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 23, 2015 at 3:19 PM,  <span dir="ltr">&lt;<a href="mailto:sap-wug-request@mit.edu" target="_blank">sap-wug-request@mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send SAP-WUG mailing list submissions to<br>
        <a href="mailto:sap-wug@mit.edu">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" rel="noreferrer" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:sap-wug-request@mit.edu">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">sap-wug-owner@mit.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of SAP-WUG digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. WF Error - Method cannot be executed (Sue Doughty)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 23 Jun 2015 19:19:28 +0000<br>
From: Sue Doughty &lt;<a href="mailto:Sue.Doughty@odfl.com">Sue.Doughty@odfl.com</a>&gt;<br>
Subject: WF Error - Method cannot be executed<br>
To: &quot;&#39;SAP Workflow Users&#39; Group&#39;&quot; &lt;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:1646dde5cac44519bd07f81bde140dff@DC1-P-M-EXCH01.corp.odfl.com">1646dde5cac44519bd07f81bde140dff@DC1-P-M-EXCH01.corp.odfl.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<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>
[cid:image007.png@01D0ADC6.5B576B50]<br>
<br>
[cid:image002.png@01D0ADC4.DB099D20]<br>
<br>
[cid:image005.png@01D0ADC5.3B1949E0]<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>
[cid:image001.png@01D0ADC4.6CA98A70]<br>
[cid:image006.png@01D0ADC7.FB364780]<br>
<br>
[cid:image003.png@01D0ADC4.DB099D20]<br>
<br>
The error message indicates an error in the Control Framework<br>
[cid:image004.png@01D0ADC4.DB099D20]<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>
[cid:image008.png@01D0ADC6.5B576B50]<br>
<br>
[cid:image009.png@01D0ADC6.5B576B50]<br>
<br>
Any ideas would be greatly appreciated.<br>
<br>
Sue Doughty<br>
SAP Workflow Analyst    [<a href="http://www.odfl.com/signature/signature_od_37x37.png" rel="noreferrer" target="_blank">http://www.odfl.com/signature/signature_od_37x37.png</a>] &lt;<a href="http://www.odfl.com" rel="noreferrer" target="_blank">http://www.odfl.com</a>&gt;<br>
Office: (336) 822-5189<br>
Fax: (336) 822-5149<br>
Email: <a href="mailto:Sue.Doughty@odfl.com">Sue.Doughty@odfl.com</a>&lt;mailto:<a href="mailto:Sue.Doughty@odfl.com">Sue.Doughty@odfl.com</a>&gt;<br>
Helping the World Keep Promises.?<br>
Old Dominion Freight Line, Inc.<br>
500 Old Dominion Way<br>
Thomasville, NC 27360<br>
<a href="http://www.odfl.com" rel="noreferrer" target="_blank">www.odfl.com</a>&lt;<a href="http://www.odfl.com" rel="noreferrer" target="_blank">http://www.odfl.com</a>&gt;<br>
[<a href="http://www.odfl.com/signature/signature_facebook_25x25.png" rel="noreferrer" target="_blank">http://www.odfl.com/signature/signature_facebook_25x25.png</a>]&lt;<a href="http://www.facebook.com/OldDominionFreightLine" rel="noreferrer" target="_blank">http://www.facebook.com/OldDominionFreightLine</a>&gt;    [<a href="http://www.odfl.com/signature/signature_twitter_white_on_blue_rounded.png" rel="noreferrer" target="_blank">http://www.odfl.com/signature/signature_twitter_white_on_blue_rounded.png</a>] &lt;<a href="http://twitter.com/ODFL_Inc" rel="noreferrer" target="_blank">http://twitter.com/ODFL_Inc</a>&gt;       [<a href="http://www.odfl.com/signature/signature_linkedin_25x28.png" rel="noreferrer" target="_blank">http://www.odfl.com/signature/signature_linkedin_25x28.png</a>] &lt;<a href="http://www.linkedin.com/company/old-dominion-freight-line" rel="noreferrer" target="_blank">http://www.linkedin.com/company/old-dominion-freight-line</a>&gt;<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.<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment.htm" rel="noreferrer" target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment.htm</a><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image001.png<br>
Type: image/png<br>
Size: 55637 bytes<br>
Desc: image001.png<br>
Url : <a href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment.png" rel="noreferrer" target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment.png</a><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image002.png<br>
Type: image/png<br>
Size: 29691 bytes<br>
Desc: image002.png<br>
Url : <a href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment-0001.png" rel="noreferrer" target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment-0001.png</a><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image003.png<br>
Type: image/png<br>
Size: 38226 bytes<br>
Desc: image003.png<br>
Url : <a href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment-0002.png" rel="noreferrer" target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment-0002.png</a><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image004.png<br>
Type: image/png<br>
Size: 10340 bytes<br>
Desc: image004.png<br>
Url : <a href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment-0003.png" rel="noreferrer" target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment-0003.png</a><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image005.png<br>
Type: image/png<br>
Size: 61721 bytes<br>
Desc: image005.png<br>
Url : <a href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment-0004.png" rel="noreferrer" target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment-0004.png</a><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image007.png<br>
Type: image/png<br>
Size: 18063 bytes<br>
Desc: image007.png<br>
Url : <a href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment-0005.png" rel="noreferrer" target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment-0005.png</a><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image008.png<br>
Type: image/png<br>
Size: 48628 bytes<br>
Desc: image008.png<br>
Url : <a href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment-0006.png" rel="noreferrer" target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment-0006.png</a><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image009.png<br>
Type: image/png<br>
Size: 24438 bytes<br>
Desc: image009.png<br>
Url : <a href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment-0007.png" rel="noreferrer" target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment-0007.png</a><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image006.png<br>
Type: image/png<br>
Size: 35562 bytes<br>
Desc: image006.png<br>
Url : <a href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment-0008.png" rel="noreferrer" target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/161aabfc/attachment-0008.png</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" rel="noreferrer" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br>
<br>
End of SAP-WUG Digest, Vol 127, Issue 8<br>
***************************************<br>
</blockquote></div><br></div>