Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User exit at program RGGBS000

Former Member
0 Likes
801

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

1 REPLY 1
Read only

ThomasZloch
Active Contributor
0 Likes
702

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