Change ObjectKey in a started workflow when not valid
Mark Pyc
mark_pyc at gillette.com
Fri Aug 27 06:25:06 EDT 2004
If you can't change the VB code, you could create a wrapper function module
around the standard Receiver FM SWW_WI_CREATE_VIA_EVENT and enter it
against your event linkage in SWETYPV.
Your new function module would ensure that at least the object key was
correctly formatted and then call the standard receive FM.
Have fun,
Mark
Praveen Johri
<pjohri at csc.com> To: SAP-WUG at MITVMA.MIT.EDU
Sent by: SAP cc:
Workflow Subject: Re: Change ObjectKey in a started workflow when not valid
<Owner-SAP-WUG at MITV
MA.MIT.EDU>
27 Aug 2004 11:18
Please respond to
SAP Workflow Users'
Group
G'Day Eivind,
Couldn't you possibly check the eventkey for leading zeros.....but ofcourse
that needs to change code in VB ..can you do that?????
Thanks & Regards
Praveen Johri
Buisness Workflow Consultant
SAP Practice
Extn : 2597
Ph : 91-0120-2582323
Fax : 91-0120-2582322
Computer Science Corporation India Ltd.
No Worries..
-
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
Eivind Bustnes
<EBU To:
SAP-WUG at MITVMA.MIT.EDU
@edbgruppen.dk> cc:
Sent by: SAP Subject: Change ObjectKey in
a started workflow when not valid
Workflow
<Owner-SAP-WUG
08/27/2004 03:41
PM
Please respond
to "SAP Workflow
Users' Group"
Hi,
Is it possible to change the Objektkey theat comes from an eventcontainer,
if this objektkey is not valid in the SAP-system?
My problem is that I have a VB program which call the
"SAP_WAPI_CREATE_EVENT" function module directly. The event that is called
is in the BOR KNA1, with the objectkey customerno. Some times the user of
the VB program enters the customernumber without the leading zero's, and
then the workflow can't find the object. I would like to change/update the
objectkey, so the workflow can find this object even if the leading zero's
is not ntered by the user.
Best regard Eivind Bustnes
EDB Gruppen A/S inviterer til stort kundearrangement i Odense Congress
Center i dagene 6.- 8. 9.2004.
Lfs mere og tilmeld dig pe http://www.egforum.dk
More information about the SAP-WUG
mailing list