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

RSWUWFML2

Former Member
0 Likes
730

RSWUWFML2 - Receivers

Posted: Nov 10, 2006 2:14 PM Reply

Hi,

We send WF notifications using RSWUWFML2. Some users don't want this e-mail since they are often checking their SAP Inbox anyway. Is it possible to choose the receivers?

Does anyone know if the parameter "FB for Address Determination" can be used for this purpose?

Br,

Line

1 ACCEPTED SOLUTION
Read only

Clemenss
Active Contributor
0 Likes
643

Hi,

yes you can use parameter "FB for Address Determination" . In the sending process, a function is called to determine/change the users mail address.

Ceate a function for the below call. In the function, check an own table (Z_users_exlude?) for the username. If it is found, then just clear the c_email parameter.

<pre>

call function rt_exit_addr-low

exporting i_uname = pt_recipients-uname

i_wi_hdr = ls_wi_hdr

changing c_email = pt_recipients-email

</pre>

Check RSWUWFML2 for the above call and create your own module, Enter this in selection screen.

Regards,

Clemens

RSWUWFML2 - Receivers

Posted: Nov 10, 2006 2:14 PM Reply

Hi,

We send WF notifications using RSWUWFML2. Some users don't want this e-mail since they are often checking their SAP Inbox anyway. Is it possible to choose the receivers?

Does anyone know if the parameter "FB for Address Determination" can be used for this purpose?

Br,

Line

3 REPLIES 3
Read only

morten_nielsen
Active Contributor
0 Likes
643

Hi Line

The users can, in SO12, under the TAB Automatic forwarding, delete their forward to adress. With out this, they won't get mail notifications from SAP.

If this isn't sufficient then, yes, you can use the FB for Address Determination User exit.

Check note 808971 - it contains some documentation

Regards

Morten Nielsen

Read only

Clemenss
Active Contributor
0 Likes
644

Hi,

yes you can use parameter "FB for Address Determination" . In the sending process, a function is called to determine/change the users mail address.

Ceate a function for the below call. In the function, check an own table (Z_users_exlude?) for the username. If it is found, then just clear the c_email parameter.

<pre>

call function rt_exit_addr-low

exporting i_uname = pt_recipients-uname

i_wi_hdr = ls_wi_hdr

changing c_email = pt_recipients-email

</pre>

Check RSWUWFML2 for the above call and create your own module, Enter this in selection screen.

Regards,

Clemens

Read only

Former Member
0 Likes
643

Hi!

Thank you for your answers. The fm seems to be just what I need. I will try it out when I get back to the customer.

Br,

Line