Setting Workflow Creator
Colm.Gavin@kerry.ie
Colm.Gavin at kerry.ie
Mon Nov 11 12:28:41 EST 2013
Hi Rick,
Just to close this off, we are able to set the value at
_Workitem>CreatedByUser by using this function module and passing in the
value "User"
CALL FUNCTION 'SAP_WAPI_CREATE_EVENT_EXTENDED'
EXPORTING
catid = 'CL'
typeid = lv_objtype1
instid = lv_objkey1
event = lv_event1
user = lv_name
TABLES
input_container = lt_cont1.
Thanks for the help!
Regards,
Colm
_____________________________________
Colm Gavin
ABAP Team Lead
Kerry Group
Kerryconnect Programme Office
Crowne Plaza Dublin Northwood Hotel
Santry, Dublin 9
Ireland
e-Mail: colm.gavin at kerry.ie
Colm Gavin/Dublin/Corporate/Kerry
15/10/2013 14:27
To
sap-wug at mit.edu
cc
Subject
Re: Setting Workflow Creator
Hi Rick,
This was a custom WF trigger in a custom report so we made a design
decision to use classes and events. It may be that this is now causing us
a problem and we need to do a re-design but I see that
l_evt_creator-otype = 'US'.
l_evt_creator-objid = 'CGAVIN'.
CALL METHOD l_event->set_creator( l_evt_creator ).
Which appears it should work?
Regards,
Colm
_____________________________________
Colm Gavin
ABAP Team Lead
Kerry Group
Kerryconnect Programme Office
Crowne Plaza Dublin Northwood Hotel
Santry, Dublin 9
Ireland
e-Mail: colm.gavin at kerry.ie
***************************************************************************************
The information transmitted is intended only for the person or entity to which it is
addressed and may contain confidential and/or privileged material. Any review,
retransmission, dissemination or other use of, or taking of any action in reliance
upon, this information by persons or entities other than the intended recipient is
prohibited and may be unlawful. Kerry Group accepts no liability for actions or effects
based on the prohibited usage of this information. Kerry Group is not liable for the
proper and complete transmission of the information contained in this communication or
for any delay in its receipt. If you received this in error, please contact the sender
and delete the material from any computer.
Thank you for your attention.
***************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20131111/2e0db317/attachment.htm
More information about the SAP-WUG
mailing list