Help, need user name for wf initiator in the task text

Dart, Jocelyn jocelyn.dart at sap.com
Wed Feb 19 18:31:21 EST 2003


Hi Sunni,
If you just want to get the user name for display in a step in your
workflow you can use instance-independent method USR01.FINDUSERFROMAGENTSTRUCTURE
to translate your workflow initiator to a USR01 object.
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: Flavio Oliveira [mailto:oliveiraflavio at hotmail.com]
Sent: Thursday, 20 February 2003 5:35 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Help, need user name for wf initiator in the task text
 
 
Sunni:
 
You can create on your event a new parameter that is the user name and, on
the event check function module you can set this parameter with the user
name (that you can get from the object USR01).
 
Then you create a container element on your workflow to receive the event
parameter and populate it on the binding.
 
Just do not forget that the key of the object USR01 is the user id and the
workflow initiator has the string 'US' before the user id.
 
Flavio.
 
 
>From: Sunni sunni <sunnilondon at hotmail.com>
>Reply-To: SAP Workflow Users' Group <SAP-WUG at MITVMA.MIT.EDU>
>To: SAP-WUG at MITVMA.MIT.EDU
>Subject: Help, need user name for wf initiator in the task text
>Date: Wed, 19 Feb 2003 17:22:35 +0000
>
>Hi
>
>I need to get the user name for the workflow initiator in the task
>description text.  I've tried all sorts of bindings and tried to reference
>object usr01 but no success.
>
>How can I link the wf initiator to this object and get the attribute user
>name held in the user master record (in simple english)?
>
>
>Any suggestions most appeciated
>
>Many thanks
>Sunni
>
>
>
>
>
>
>
>
>
>_________________________________________________________________
>Chat online in real time with MSN Messenger http://messenger.msn.co.uk
 
 
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
 


More information about the SAP-WUG mailing list