<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: No execution of object method 4.0B</TITLE>
</HEAD>
<BODY>
 
<P><FONT SIZE=3D2>Thank you guys for all of your assistance.  I =
have finally figured out that I was having a timing issue with an =
update to the database.  The reason why it worked everywhere else =
is because I was using entries that were already in the database to run =
the test but when I was creating documents new there was not enough =
time for the database update before I did my select statement.  I =
have learned my lesson.  Thanks.</FONT></P>
 
<P><FONT SIZE=3D2>Darlene</FONT>
</P>
 
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Maue, Thomas X. [<A =
HREF=3D"mailto:Thomas.Maue@Lyondell.com">mailto:Thomas.Maue@Lyondell.com=
</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Wednesday, July 25, 2001 1:55 PM</FONT>
<BR><FONT SIZE=3D2>To: SAP-WUG@MITVMA.MIT.EDU</FONT>
<BR><FONT SIZE=3D2>Subject: Re: No execution of object method =
4.0B</FONT>
</P>
<BR>
 
<P><FONT SIZE=3D2>Darlene,</FONT>
</P>
 
<P><FONT SIZE=3D2>Have you check authorizations?  When you run in =
foreground (SE37, BOR,</FONT>
<BR><FONT SIZE=3D2>simulate event), your authorization profile is =
used.</FONT>
<BR><FONT SIZE=3D2>WF-BATCH authorizations are used when run in the =
background.</FONT>
</P>
 
<P><FONT SIZE=3D2>Regards,</FONT>
</P>
 
<P><FONT SIZE=3D2>Thomas Maue Jr.</FONT>
<BR><FONT SIZE=3D2>Workflow Consultant</FONT>
</P>
<BR>
 
<P><FONT =
SIZE=3D2>          &nb=
sp;     -----Original Message-----</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     From:   "Benson, =
Darlene"</FONT>
<BR><FONT =
SIZE=3D2><darlene.benson@sourcenetsolutions.com>@LYONDELL</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     Sent:   Wednesday, July 25, 2001 =
12:55 PM</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     To:     =
SAP-WUG@MITVMA.MIT.EDU</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     =
Subject:        Re: No execution of =
object method 4.0B</FONT>
</P>
<BR>
 
<P><FONT =
SIZE=3D2>          &nb=
sp;     Hello Arnound,</FONT>
</P>
 
<P><FONT =
SIZE=3D2>          &nb=
sp;     I have checked the binding from the event =
container to the</FONT>
<BR><FONT SIZE=3D2>task and it seems</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     okay but I have a question still.  If =
my problem lies in the</FONT>
<BR><FONT SIZE=3D2>binding from</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     the event to task, would I still get a =
successful result</FONT>
<BR><FONT SIZE=3D2>when I generate the</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     event via SWUE?  Right now the task =
method works fine if I</FONT>
<BR><FONT SIZE=3D2>generate the</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     event via SWUE but not when the event is =
raised as a result</FONT>
<BR><FONT SIZE=3D2>of the document</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     getting created.</FONT>
</P>
 
<P><FONT =
SIZE=3D2>          &nb=
sp;     To give you a little more background on my =
problem, I will</FONT>
<BR><FONT SIZE=3D2>tell you that I</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     know that the method is failing when the =
call is being made</FONT>
<BR><FONT SIZE=3D2>to FM</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     ARCHIV_PROCESS_FAXINPUT.  But for the =
life of me I don't</FONT>
<BR><FONT SIZE=3D2>understand why it</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     does not work when the task is triggered =
automatically.  The</FONT>
<BR><FONT SIZE=3D2>end result of</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     the call to this function should be that a =
work item gets</FONT>
<BR><FONT SIZE=3D2>created and so far</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     the method always creates a work item =
except for when I need</FONT>
<BR><FONT SIZE=3D2>it to.  Even if</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     I just go to SE37 and test the function =
module by putting in</FONT>
<BR><FONT SIZE=3D2>the same</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     parameters I do as in the method it works =
perfectly and</FONT>
<BR><FONT SIZE=3D2>creates a work item.</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     This is one reason why I am not certain =
that my problem is</FONT>
<BR><FONT SIZE=3D2>container related</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     because I don't have one when I run it from =
SE37 and it</FONT>
<BR><FONT SIZE=3D2>still works.  I hope</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     this makes since.  Please, if you have =
any other suggestions</FONT>
<BR><FONT SIZE=3D2>I would love to</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     hear them.</FONT>
</P>
 
<P><FONT =
SIZE=3D2>          &nb=
sp;     Regards,</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     Darlene</FONT>
</P>
<BR>
 
<P><FONT =
SIZE=3D2>          &nb=
sp;     -----Original Message-----</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     From: Van Heerde, Arnoud [<A =
HREF=3D"mailto:arnoud.van.heerde@sap.com">mailto:arnoud.van.heerde@sap.c=
om</A>]</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     Sent: Tuesday, July 24, 2001 10:32 =
PM</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     To: SAP-WUG@MITVMA.MIT.EDU</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     Subject: Re: No execution of object method =
4.0B</FONT>
</P>
<BR>
<BR>
 
<P><FONT =
SIZE=3D2>          &nb=
sp;     Hi Darlene,</FONT>
</P>
<BR>
<BR>
 
<P><FONT =
SIZE=3D2>          &nb=
sp;     In that case it may be a good idea to check =
the bindings</FONT>
<BR><FONT SIZE=3D2>from the event</FONT>
<BR><FONT SIZE=3D2>         =
;       container to the task/ =
template.</FONT>
</P>
<BR>
<BR>
 
<P><FONT =
SIZE=3D2>          &nb=
sp;     Hope this helps.</FONT>
</P>
<BR>
<BR>
 
<P><FONT =
SIZE=3D2>          &nb=
sp;     Arnoud</FONT>
</P>
<BR>
<BR>
 
<P><FONT =
SIZE=3D2>          &nb=
sp;     -----Original Message-----</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     From: Benson, Darlene</FONT>
<BR><FONT SIZE=3D2>[<A =
HREF=3D"mailto:darlene.benson@sourcenetsolutions.com">mailto:darlene.ben=
son@sourcenetsolutions.com</A>]</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     Sent: Wednesday, July 25, 2001 6:07 =
AM</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     To: SAP-WUG@MITVMA.MIT.EDU</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     Subject: No execution of object method =
4.0B</FONT>
</P>
<BR>
<BR>
 
<P><FONT =
SIZE=3D2>          &nb=
sp;     Hi All,</FONT>
</P>
 
<P><FONT =
SIZE=3D2>          &nb=
sp;     I hope that this is a really simple =
problem.  I have a</FONT>
<BR><FONT SIZE=3D2>method that I created</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     for a business object.  The method is =
executed in the</FONT>
<BR><FONT SIZE=3D2>background via a task</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     that has a triggering event.  Whenever =
I execute the method</FONT>
<BR><FONT SIZE=3D2>either from the</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     BOR (via F8 - test/execute) or from =
transaction SWUH - Test</FONT>
<BR><FONT SIZE=3D2>Method it works</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     fine.  Even when I simulate the event =
(SWU0) that triggers</FONT>
<BR><FONT SIZE=3D2>the task, the</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     method works fine.  Even when I start =
the task via SWUS -</FONT>
<BR><FONT SIZE=3D2>Start Task the</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     method works fine.  However, when I =
process a document which</FONT>
<BR><FONT SIZE=3D2>raises the</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     event the method does not run fine.  I =
can see in the event</FONT>
<BR><FONT SIZE=3D2>log that the</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     task was started but the method is not run =
the same as it</FONT>
<BR><FONT SIZE=3D2>did when I do it</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     manually.  Any help would be =
appreciated.</FONT>
</P>
 
<P><FONT =
SIZE=3D2>          &nb=
sp;     Thanks,</FONT>
<BR><FONT =
SIZE=3D2>          &nb=
sp;     Darlene</FONT>
</P>
<BR>
 
<P><FONT =
SIZE=3D2>          &nb=
sp;      - att1.htm << File: att1.htm =
>></FONT>
</P>
 
</BODY>
</HTML>