Check FM issues 4.6c
Sheldon Oxenberg
soxenber at csc.com
Mon Jan 7 18:16:13 EST 2008
We had a similar problem in 4.6c. Maybe you could see if SAP Note 797775
is helpful to your issue.
Regards,
Sheldon C. Oxenberg
Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
"Sample, Rick"
<Rick.Sample at gbe.
com> To
Sent by: "Sample, Rick"
sap-wug-bounces at m <Rick.Sample at gbe.com>, "SAP
it.edu Workflow Users' Group"
<sap-wug at mit.edu>
cc
01/07/2008 05:05
PM Subject
Check FM issues 4.6c
Please respond to
"SAP Workflow
Users' Group"
<sap-wug at mit.edu>
I need to start a WF for events bus2012.RELEASESTEPCREATED or
bus2012.CHANGED.
I am having a problem because both events trigger at the same time.
So a simple check to see if a WF already is running is not working.
I know there is a solution, but it is eluding me at the moment...
Basic code:
...
WHEN 'RELEASESTEPCREATED' or 'CHANGED'.
SELECT a~wi_id b~wi_stat INTO TABLE t_wi_id
FROM sww_contob AS a INNER JOIN swwwihead AS b
ON a~wi_id = b~wi_id
WHERE a~objtype = l_obj
AND a~objkey = l_doc
AND b~wi_rh_task = 'WS99999999'.
LOOP AT t_wi_id.
CASE t_wi_id-status.
WHEN 'WAITING'.
RAISE workflow_off.
EXIT.
WHEN 'READY'.
RAISE workflow_off.
EXIT.
WHEN 'SELECTED'.
RAISE workflow_off.
EXIT.
WHEN 'STARTED'.
RAISE workflow_off.
EXIT.
WHEN OTHERS.
ENDCASE.
ENDLOOP.
...
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
More information about the SAP-WUG
mailing list