determine external email address during notification text

Swam_in swam_in at hotmail.com
Wed Jan 15 10:48:55 EST 2003


Thanks Richard. Though your steps look viable i am not sure if i can use it
in my
function because I need to populate the actor_tab so that it sends the
notification
upon completion. What I found through debugging is that the agents are
determined
and ACTOR_TAB populated even before notification is closed but SAP utilizes
this table
upon completion. This difference in time is what I need to take care of.
Thanks for the information .
 
Swami Bala
----- Original Message -----
From: "Richard V Marut" <rvmarut at earthlink.net>
To: <SAP-WUG at MITVMA.MIT.EDU>
Sent: Tuesday, January 14, 2003 9:15 PM
Subject: Re: determine external email address during notification text
 
 
> Swami,
>
> There are multiple ways you could get the external address. Here are 2
> ways that I've had success with.
>
> The 1st is you could store the e-mail address on the address tab of the
> user maintenance screen in the internet mail field under the
> communication section. You would then use function module
> RH_GET_SMTP_ADDRESS using the SAP user id that will return the address.
>
> The 2nd way is to store the e-mail address in the pd-org on info type
> 0105. First you would have to setup a sub-type for a user and e-mail
> entries. You can then perform a direct read against table pa0105 with
> the user id and user sub-type on the first pass and then a second lookup
> against the same table with the personnel number and the sub-type for
> the e-mail address.
>
> Once you get the address, you don't want to put it into the ACTOR_TAB
> though because this structure was designed to use SAP specific objects.
> You'll want to use business object SELFITEM, method SendTaskDescription
> to send the external mail.
>
> My preferred method is to use the 2nd option because it seems to fall
> more inline with the design of SAP.
>
> You might want to check with a basis person to first see if you're setup
> to send external mail.
>
> Richard Marut
>
> -----Original Message-----
>> From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
> Swami Bala
> Sent: Tuesday, January 14, 2003 7:40 PM
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: determine external email address during notification text
>
> Hello All,
>
> I am just trying to repeat what I already submitted since I thought I
> will
> check up again..
>
> I have assigned a role for notification completion for sending
> notification
> text upon workflow complete. But most of the users involved are type
> 'US' (
> Otype = 'US' ) and I donot have any problem sending notification to the
> internal users. I also have to send notification to a person with
> external
> email address. How do I figure this out and pass email address to the
> actor_tab table ?
> Appreciate any quick information.
> Thanks
>
> Swami Bala
>
>
>
>
> _________________________________________________________________
> Help STOP SPAM: Try the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
 


More information about the SAP-WUG mailing list