Starting a workflow from an error message

Dart, Jocelyn jocelyn.dart at sap.com
Wed Oct 16 03:15:41 EDT 2002


Hi Nat,=20
Looks like it works ok with the modal dialog box but not with the=20
Performance Assistant.  Please report it in to OSS so we can get
this fixed.=20
Regards,
        Jocelyn Dart=20
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"=20
SAP Australia
email: jocelyn.dart at sap.com=20
phone: +61 412 390 267
fax:   +61 2 9935 4880
 
 
 
 
-----Original Message-----
From: Nat 4 Govender [mailto:ngovender4 at toyota.co.za]
Sent: Wednesday, 16 October 2002 5:05 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Starting a workflow from an error message
Importance: High
 
 
Hi All
Thank you to those that responded.
 
The following container elements are created when creating a workflow =
via
transaction "SWUY".
Container element                   Data type reference
Explanation
ARBGB                               T100-ARBGB
Message ID (application area, for example 'WO')
MSGNR                               T100-MSGNR
Message number (for example '430')
MSGTY                               SYST-MSGTY
Message type ('E', 'A', 'S', etc.)
MSGV1                               SYST-MSGV1
Message variable 1
MSGV2                               SYST-MSGV2
Message variable 2
MSGV3                               SYST-MSGV3
Message variable 3
MSGV4                               SYST-MSGV4
Message variable 4
TEXT                                T100-TEXT
Message text in which the variables (&) are not replaced
MESSAGE                             Without type, that is C(255)
Message text in which the variables are replaced
 
We have also enter the assignment between Workflow and message in table
T100W which will start the new created workflow when the workflow icon =
was
click.
 
Good news is that our newly created workflow has started however not =
all
the error message details are sent to the workflow container.
Container elements "MSGV1" to "MSGV4" are not sent to the workflow
container from the message (Refer Below) does anyone have an idea why =
these
elements was not populated.
Container Element Container Name
ARBGB             Applicat.area           HRTIM00REC
MESSAGE           Message text            <(>Not enough quota 98 for
attendance/absnce 0200 o
MSGNR             Message number          014
MSGTY             Message type            E
MSGV1             msg var 1
MSGV2             msg var 2
MSGV3             msg var 3
MSGV4             msg var 4
                  TASK                          WS90100092
TEXT              Message text            Nicht genug Kontingent &1 =
f=FCr
An-/Abwesenheit &2 am
                  Initiator of workflow   USBAGW
                  Priority                      5
                  Workflow                      TMF115    FLOWITEM
000000544040
 
(Embedded image moved to file: pic18636.jpg)
 
 
|---------+------------------------------->
|         |           "Cristiana D'Agosto"|
|         |           <cristiana.dagosto at a|
|         |           u1.ibm.com>         |
|         |           Sent by: SAP        |
|         |           Workflow            |
|         |           <Owner-SAP-WUG at MITVM|
|         |           A.MIT.EDU>          |
|         |                               |
|         |                               |
|         |           10/15/2002 01:54 AM |
|         |           Please respond to   |
|         |           "SAP Workflow Users'|
|         |           Group"              |
|         |                               |
|---------+------------------------------->
  =
>-----------------------------------------------------------------------=
---------------------------------------|
  |                                                                     =
                                         |
  |       To:       SAP-WUG at MITVMA.MIT.EDU                              =
                                         |
  |       cc:                                                           =
                                         |
  |       Subject:  Re: Starting a workflow from an error message       =
                                         |
  =
>-----------------------------------------------------------------------=
---------------------------------------|
 
 
 
 
Hi Nat,
 
in version 4.6c I had a similar problem depending on how you set up =
your
Help (menu path Help > Settings).
 
If the help display was set to 'in Performance Assistant', the workflow
wasn't triggered unless I was running from the Workplace. Try changing =
the
help display to 'in modal dialog box'.
 
Cheers
 
Cristiana
 
 
 
 
 
 
Ulrich Mende <wug at mende-edv-beratung.de>
Sent by: SAP Workflow <Owner-SAP-WUG at MITVMA.MIT.EDU>
14/10/2002 08:16 PM
Please respond to "SAP Workflow Users' Group"
 
 
        To:     SAP-WUG at MITVMA.MIT.EDU
        cc:
        Subject:        Re: Starting a workflow from an error message
 
 
 
Hi Nat,
as I know, the workflow will not be started automatically. When the
error message appears you have to click on the ?-Icon to display the
long text. On that screen you will find a new button to start the
workflow that you have set up with the SWUY-wizard.
 
Best regards   Uli Mende
 
Nat 4 Govender <ngovender4 at toyota.co.za> schrieb am 14.10.2002,
10:50:49:
> Hi All,
>
> I was wondering if any one of you could possible help me on this.
>
> We have used transaction "SWUY" to link a workflow to an HR error
message.
> When we test the workflow using transaction "SWUS " by providing the
> relevant parameters the workflow works however when testing the =
workflow
> using a HR transaction and the error message appears but the workflow =
is
> not triggered.
>
> Does anyone know what's the problem.
>
>
>
> (Embedded image moved to file: pic03902.jpg)
 


More information about the SAP-WUG mailing list