[46C] SAP_WAPI_CREATE_EVENT works fine in Dev - no event created inQA system

Kjetil Kilhavn KJETILK at statoil.com
Wed Jul 27 03:34:54 EDT 2005


Argh! The reason it worked fine in Dev is that the event queue was
turned off there. Needless to say, it is not turned off any longer.
-- 
Kjetil Kilhavn, Statoil KTJ IT BKS
 

________________________________

From: Kjetil Kilhavn 
Sent: 27. juli 2005 09:19
To: 'SAP Workflow Users' Group'
Subject: RE: [46C] SAP_WAPI_CREATE_EVENT works fine in Dev - no event
created inQA system



Thanks for the beer update Mark :-)
No, I didn't debug SWE_EVENT_CREATE with the START_RECFB_SYNCHRON flag
set, since SAP_WAPI_CREATE_EVENT doesn't specify a value for that
parameter in its call (and the default is space).

The lack of signs of problems is what is so strange. There are no short
dumps. There are no tRFC problems. I didn't check SM13 yesterday, but I
did now and there is nothing. I tried turning the SQL and RFC trace on
too (ST05) yesterday, but I couldn't find anything very strange there
either. However, I am not an expert at interpreting traces. I assume
that when RC is zero things are fine :-)

What I find there is that after the call to SWW_WI_TO_OBJECT_FIND
(revealed by a SWWVCONTWI fetch) there are a few statements that
probably should have done the trick. The text lines are quite long, so I
chose to include it as a picture. It is rather big unfortunately.
 

 
Just to "confirm my worst fear" I turned off the event queue for the
linkage, and then it immediately worked as it should - the event appears
in the log and the workflow starts. I suppose that will be the way to go
then, at least right now. I don't like it since another solution creates
quite a few of these events in a short time frame. And by definition I
don't like it since I don't understand why the other solution doesn't
work :-)
--
Kjetil Kilhavn, Statoil KTJ IT BKS



-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Mike Pokraka
Sent: 26. juli 2005 16:47
To: SAP Workflow Users' Group
Subject: Re: [46C] SAP_WAPI_CREATE_EVENT works fine in Dev - no event
created inQA system

Hi Kjetil,
Sounds more sinister than straight workflow/ABAP. Some of these may be
obvious, but there are always trees in a forest:

Short dumps?
SM13 - Update failures?
stuck in SM58
Might be worth poking around the system log.

Cheers
Mike

Kjetil Kilhavn wrote:
> I have never been bothered by a stranger problem I think. A workflow
> solution has to be developed for approval of access to buildings,
> which uses a custom infotype in HR. Anyway, the code for the infotype
> calls a function I have written, and in my function I have a call to
> SAP_WAPI_CREATE_EVENT.
>
> Everything is fine in development, the function is called,
> SAP_WAPI_CREATE_EVENT is called and returns successfully (at least one
> receiver found), the event log displays the entry and the workflow
> starts.
>
> In Quality Assurance the function is called, SAP_WAPI_CREATE_EVENT is
> called and returns successfully (at least one receiver found), and the
> event log displays ... nothing, nada, nix. Naturally the workflow does
> not start.
>
> Using SWUE to create the event in QA works like a charm. The event log
> displays the entry and the workflow starts.
>
>
> I've been trying to figure out what the problem is and making minor
> changes in the code. Nothing has helped so far, and it is a bad idea
> to change code which works (it works in the development system at
> least). I have tried both with and without commit_work, and it makes
> no difference that I am able to observe.
> --
> Kjetil Kilhavn, Statoil KTJ IT BKS
>
>
>
> -------------------------------------------------------------------
> The information contained in this message may be CONFIDENTIAL and is
> intended for the addressee only. Any unauthorised use, dissemination
> of the information or copying of this message is prohibited. If you
> are not the addressee, please notify the sender immediately by return
> e-mail and delete this message.
> Thank you.
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>


Mike Pokraka
Senior Consultant
Workflow Connections Ltd.
Mobile: +44 (0)7786 910 855
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug




-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20050727/c820f84c/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 332663 bytes
Desc: Outlook.jpg
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20050727/c820f84c/attachment.jpg


More information about the SAP-WUG mailing list