Application Development 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: 

Workflows : Reg Check FM and Reciever FM of Events

Former Member
0 Kudos
448

Hi,

I read that Check Function Modules and Receiver Function Modules can be written to have more control over the Events. I understood the theory, but when I go for the implementation, Am unable to create the CHECK FM or RECIEVER FM. I just want to know if we have to create these Functon Modules manually with the defined INTERFACE and then attach them to the events in SWETYPV?

Or is there any way of automatically creating this CHECK FM and RECIEVER FM interface definition , where we have to just enter our coding.

Please let us know.

Regards,

Raja Sekhar.

1 ACCEPTED SOLUTION

ramki_maley
Active Contributor
0 Kudos
168

Hi,

Just want to add the fact that check FMs are no longer recommended from release 4.7 onwards. The same functionality can be implemented using Start Conditions (Txn SWB_COND). When you implement a start condition, A standard FM is automatically assigned to the event in SWETYPV that evaluates the start condition.

Also be aware of the fact that when you implement a receiver FM, you will not be able to utilize the WF tools for diagnosis & error monitoring.

Cheers,

Ramki Maley.

3 REPLIES 3

Former Member
0 Kudos
168

Hi RajaSekhar,

There is a template function module for check function modules ( SWE_CD_TEMPLATE_CHECK_FB ) in the function group SWE_TEMPLATE

Your assumption is right. You have to create a custom function module with the defined INTERFACE and then attach them to the events in SWETYPV or SWE2.

Rgds,

Anji

ramki_maley
Active Contributor
0 Kudos
169

Hi,

Just want to add the fact that check FMs are no longer recommended from release 4.7 onwards. The same functionality can be implemented using Start Conditions (Txn SWB_COND). When you implement a start condition, A standard FM is automatically assigned to the event in SWETYPV that evaluates the start condition.

Also be aware of the fact that when you implement a receiver FM, you will not be able to utilize the WF tools for diagnosis & error monitoring.

Cheers,

Ramki Maley.

0 Kudos
168

Thanks Anji and Ramki,

For helping me to know about the check and Reciever FM's.

Regards,

Raja Sekhar.