Event parameters lost on custom trigger
Michael Pokraka
workflow at quirky.me.uk
Thu Sep 23 12:48:08 EDT 2004
Thought just after I'd sent it that I should have mentioned it....
Yes, swc_container_to_persistent made it's appearance a few times with no
difference whatsoever.
Thanks
Mike
Mark Pyc wrote:
> I'll give you a knee jerk response without really thinking if this is t=
rue
> or not...
>
> Do you need to set the container to persistent?
>
> Are there any issues associated with an XML container?? Shouldn't matte=
r
> via event linkage anyway, took me a while to figure when I was trying t=
o do
> a programatic direct start though.
>
> Have fun!
>
>
>
>
>
> Michael Pokraka
> <workflow at quirky.me To:
> SAP-WUG at MITVMA.MIT.EDU
> .uk> cc:
> Sent by: SAP Subject: Event parame=
ters
> lost on custom trigger
> Workflow
> <Owner-SAP-WUG at MITV
> MA.MIT.EDU>
>
>
> 23 Sep 2004 17:25
> Please respond to
> SAP Workflow Users'
> Group
>
>
>
>
>
>
> Hi all,
> Been tearing my hair out for two days on this one:
> I'm raising an event using SAP_WAPI_CREATE_EVENT and trying to pass
> parameters to the WF, which I've done in the past no problem. However o=
n
> this 4.7/620 system it doesn't like to play along.
>
> The code is quite straightforward:
>
> include <cntn01>. " also tried <cntain>
> swc_container lt_cont.
> swc_create_container lt_cont.
> swc_set_element lt_cont 'EventParameter' p_value.
>
> * Also tried SWE_EVENT_CREATE with no joy
> CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
> EXPORTING
> OBJECT_TYPE =3D 'BUS0000'
> OBJECT_KEY =3D l_objkey
> EVENT =3D 'ZCUSTOMEVENT'
> TABLES
> INPUT_CONTAINER =3D lt_cont.
>
> Result? There's no hint of any event parameter in the WF. If I test it
> using
> SWUE, the parameter comes through to the flow. I've debugged some of th=
e
> event code and somwehow it just seems to lose the custom value along th=
e
> way, I'm still working my way through the 497 classes that seem to be
> involved (and have searched the archives and OSS), but if anyone can sh=
ed
> some light in the meantime I'd be grateful.
>
> Cheers
> Mike
>
>
More information about the SAP-WUG
mailing list