WF Error - Method cannot be executed

Dart, Jocelyn jocelyn.dart at sap.com
Tue Jun 23 18:42:01 EDT 2015


Hi Sue
Ok I'm guessing somewhere its looking for a gui custom control (which requires a dialog user).

If I were you I would go back to your ABAP programmer & 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 ;)

Also a good time to double check the task method is passing all the right parameters.
Good luck

Rgds
Jocelyn

Sent from my iPhone with many apologies for the spelling, grammar and any other deficiencies

On 24 Jun 2015, at 5:31 am, Sue Doughty <Sue.Doughty at odfl.com<mailto:Sue.Doughty at odfl.com>> wrote:

Greetings Wuggers!

We are on ECC 6.0 Rel 731 SP-Level 0013

I am at the end of my rope.  :)  Please help!

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.

<image007.png>

<image002.png>

<image005.png>



When I test it in SWO1, it works.  When my ABAPer runs the function module in background outside the workflow, it works.

When it is executed in the Workflow it fails with the messages below:

<image001.png>
<image006.png>

<image003.png>

The error message indicates an error in the Control Framework
<image004.png>


We have searched notes, Google….everything we can think of and cannot figure this out.

We found one place that said to delete the task to method binding….we did that.

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…

<image008.png>

<image009.png>

Any ideas would be greatly appreciated.

Sue Doughty
SAP Workflow Analyst    [http://www.odfl.com/signature/signature_od_37x37.png] <http://www.odfl.com>
Office: (336) 822-5189
Fax: (336) 822-5149
Email: Sue.Doughty at odfl.com<mailto:Sue.Doughty at odfl.com>
Helping the World Keep Promises.®
Old Dominion Freight Line, Inc.
500 Old Dominion Way
Thomasville, NC 27360
www.odfl.com<http://www.odfl.com>
[http://www.odfl.com/signature/signature_facebook_25x25.png]<http://www.facebook.com/OldDominionFreightLine>    [http://www.odfl.com/signature/signature_twitter_white_on_blue_rounded.png] <http://twitter.com/ODFL_Inc>       [http://www.odfl.com/signature/signature_linkedin_25x28.png] <http://www.linkedin.com/company/old-dominion-freight-line>
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.


_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu<mailto:SAP-WUG at mit.edu>
http://mailman.mit.edu/mailman/listinfo/sap-wug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/6610ce37/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 55637 bytes
Desc: image001.png
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/6610ce37/attachment-0009.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 29691 bytes
Desc: image002.png
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/6610ce37/attachment-0010.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 38226 bytes
Desc: image003.png
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/6610ce37/attachment-0011.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 10340 bytes
Desc: image004.png
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/6610ce37/attachment-0012.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 61721 bytes
Desc: image005.png
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/6610ce37/attachment-0013.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 18063 bytes
Desc: image007.png
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/6610ce37/attachment-0014.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 48628 bytes
Desc: image008.png
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/6610ce37/attachment-0015.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.png
Type: image/png
Size: 24438 bytes
Desc: image009.png
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/6610ce37/attachment-0016.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 35562 bytes
Desc: image006.png
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20150623/6610ce37/attachment-0017.png


More information about the SAP-WUG mailing list