2008 Apr 08 3:54 PM
Hi all,
I need to start a Workflow at user exit RGGBS000.
I know that I need to do a copy of this program ( ZRGGBS000).
But I don´t know how to implement on there.
I only need to call this function like this:
*Calls Workflow
call function 'SWE_EVENT_CREATE_FOR_UPD_TASK'
exporting
objtype = 'QMSM' "Name of the object
objkey = l_objectkey "Key field
event = 'zwf_create_acao' "Eventacionador WF
creator = w_creator "User
tables
event_container = t_event_container "WF variables
exceptions
objtype_not_found = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Is there a form to pass values to this exit?
How this works?
Thanks
Ricardo
2008 Apr 08 4:05 PM
In RGGBS000 (or the copy thereof) you can maintain user exits that will be used in field value substitions of accounting documents.
Please see SAP help for all background information.
http://help.sap.com/erp2005_ehp_03/helpdata/EN/5b/d231a843c611d182b30000e829fbfe/frameset.htm
Cheers
Thomas