Problems with start conditions

Dart, Jocelyn jocelyn.dart at sap.com
Wed Oct 2 07:45:40 EDT 2002


Hi Jose,
Don't delete the check function module directly - use transaction SWB_COND
to delete your start condition in the same way you created it.  Then everything
should be cleaned up cleanly.
Regards,
        Jocelyn Dart
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"
SAP Australia
email: jocelyn.dart at sap.com
phone: +61 412 390 267
fax:   +61 2 9935 4880
 
 
 
 
-----Original Message-----
From: Jose Burgman [AST] [mailto:jose.burgman at ast.co.za]
Sent: Tuesday, 1 October 2002 11:29 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Problems with start conditions
 
 
Hi every-one
 
We've figured out the problem for the Z FM. It was part of an upgrade - when I messed with it the syntax rules were enforced - TYPE is not allowed and had to be replaced by LIKE. Why the error goes away when the condition FM is replaced I don't know.....
 
Jose
 
-----Original Message-----
From: Jose Burgman [AST]
Sent: Tuesday, October 01, 2002 3:17 PM
To: 'SAP Workflow Users' Group'
Subject: Problems with start conditions
 
 
Hi every-one
 
We have a "badly" written workflow that starts for all document movement types in MM. I decided to try the start conditions in 4.6C. After creating the start condition I realised that it would not work as the trigger was for an event item and not a workflow. I then deleted the start condition. However, the FM it created is still linked to the event, and the table swbrulecou still has the conditions in it. When I try and delete the FM from the event in SWETYPV, I get a strange error -  Receiver function module Z_WF_PTP_CREATE_EVENT_RESB: Parameter OBJTYPE has an invalid reference. I have made no changes to the FM and did a remote compare with the FM on QA and there are no changes. The interface has been defined as follows:
*"  IMPORTING
*"     VALUE(OBJTYPE) TYPE  SWETYPECOU-OBJTYPE
*"     VALUE(OBJKEY) TYPE  SWEINSTCOU-OBJKEY
*"     VALUE(EVENT) TYPE  SWEINSTCOU-EVENT
*"     VALUE(RECTYPE) TYPE  SWETYPECOU-RECTYPE
*"  TABLES
*"      EVENT_CONTAINER STRUCTURE  SWCONT
 
When I put the FM created by the start condition back into the event, the error goes away.
 
Anybody have any ideas?
 
Regards
 
Jose
______________________________________________
 
"This information is intended only for the person or entity to which it is addressed and
may contain private, confidential, proprietary and/or privileged material and may be subject
to confidentiality agreements.
 
Any review, retransmission, dissemination, or any other use of or taking of any action in
reliance upon this information, by persons or entities other than the intended recipient,
is prohibited.
 
If you received this in error, please contact the sender and delete the material from all
storage media.
 
The company is neither liable for proper, complete transmission of the information contained
in this communication, any delay in its receipt or that the mail is virus-free"
 


More information about the SAP-WUG mailing list