SWEC - Event start conditions

Dart, Jocelyn jocelyn.dart at sap.com
Thu Jul 26 20:17:35 EDT 2001


Hi Rob,
My procedure for debugging start conditions is roughly as follows:
 
1. Check that the attributes you have nominated in your start condition
will actually contain the expected data WHEN THE EVENT IS RAISED.
 
2. Check that the start condition check function module is against your
event in transaction SWETYPV - creating a start condition should
automatically
fill in the relevant function module.
 
3. Check the event log to see if the event is raised AT ALL.
Then to see if you get the "Check function module ends with
exception" message - this indicates that the start condition has evaluated
to false.
 
4. Create the event manually using SWUE and turning on debugging via /h.
Debug the start condition evaluation.
 
This all assumes you have checked basics, e.g. without the start condition
the
event is raised ok.
 
Regards,
        Jocelyn Dart
Consultant (EBP, BBP, Ecommerce, Internet Transaction Server, Workflow)
SAP Australia
Email jocelyn.dart at sap.com <mailto:jocelyn.dart at sap.com>
Tel: +61 412 390 267
Fax: +61 2 9935 4880
 
 
-----Original Message-----
From: ROB CRAWFORD [mailto:ROB.CRAWFORD at menasha.com]
Sent: Friday, 27 July 2001 5:30 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: SWEC - Event start conditions
 
 
I am trying to setup a condition for an event to be triggered when an
accounting document(accounts payable FB60) is created for a particular
company code (BKPF-BUKRS) and if the document contains any line items for an
internal order (BSEG-AUFNR).
 
I have set up an entry in SWEC for change document BELEG with my  custom
object type ZBKPF with an event I created with the wizard called
INTERNALORDERINVOCE.  The field restrictions are as follows:
Table       Field          Old value    New Value
BKPF    BUKRS              1100
BSEG    AUFNR              *
 
When I activate the event trace and create the document with this data, the
event does not get triggered.  Has anyone set up conditions like this for
event creation?
 
Thanks,
 
 
 
Rob Crawford
Menasha Advantage
1649 Bergstrom Rd.
Neenah, WI 54957
(920)751-2513
rob.crawford at menasha.com
 


More information about the SAP-WUG mailing list