WFSYST-AGENT and USR01
Cristiana D'Agosto
cristiana.dagosto at au1.ibm.com
Sun Nov 17 21:15:42 EST 2002
Hello all,
I am on version 4.6c, developing workflows to Process Purchase Req/
Purchase Orders and we are not using the HR module here.
I have a 'wait for PO Released' within the Purchase Req workflow.
When a PO is released, a notification is sent to the user that created the
Purchase Req.
In this notification I want to have the name of the user that released the
PO. In the workflow container I have POReleasedBy defined as WFSYST-AGENT
and it is populated with _EVT_CREATOR (also WFSYST-AGENT).
To print the name of the user that released the PO I will use object
USR01, so I created POReleasedByUser as USR01. How do I make the 'link'
between WFSYST-AGENT and USR01?
I understand that I have to create an object instance and I was thinking
of using SYSTEM.GenericInstantiate. To use that though, I only need to
pass the user name as parameter and the USR01 as object type. What's the
best way of droping the 'US' from the agent?? Will I have to create
another task only for that??
Maybe there is a better way of printing a user name in a notification?
Thanks in advance for any help you can provide.
Cheers
Cristiana
More information about the SAP-WUG
mailing list