Trigger Events/Messages based on Org Chart changes

Roehlen, Peter PRoehlen at powercor.com.au
Wed Dec 27 02:28:16 EST 2000


Tony,
 
In response to your request for feedback on (SAP)MAPI:
 
We have had to put aside our plans to use SAPMAPI business wide due to a
security issue that came up at the 11th hour.  Whilst the issue is eluded to
in a SAPNET note and in this user group, I was unable to understand the
exact problem until last week.
 
Basically, we have two standard operating environments (SOE) in our
business.  One is based on the Windows 95 environment, the other on Windows
NT workstation.
 
For our Windows 95 SOE, we do not have seperate user logon profiles.  Ie all
users accessing a particular machine effectively log in to the same desktop,
settings, favourites, history etc.  A script in our log on procedure sets
the default mail (MAPI) profile to the user who logged on.  However each
user can choose a different mail profile simply by clicking on the Mail icon
in the control panel and selecting a user who has previously logged on to
their machine.  In the past this was not an issue due an authentication
check performed by Microsoft Exchange when the user opens up MS Outlook (ie
they cannot access the other user's mailbox.)  However, if the other user
had set up SAP MAPI *and* had selected the 'save password' option.  Any
subsequent user who chose their MAPI profile would now have full access to
the users SAP inbox.  Furthermore, by executing the other user's dialog
workitem and entering "/n" in the command field, that user would then have
full SAP production access as the other user.
 
Due to the above problem alone we have had to suspend our MAPI rollout
(causing me to wind up with copious amounts of egg on my face) until we have
converted all of our users to Windows NT.
 
Regards
 
Peter Roehlen
Team Lead - SAP Technical & Development
Powercor Australia Ltd
(03) 5430 4704 / 0409 950 263
 
 
 
-----Original Message-----
From: tony hick [mailto:tonyzzz at hotmail.com]
Sent: Thursday, 21 December 2000 0:44
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Trigger Events/Messages based on Org Chart changes
 
 
Hi Rakesh, Others:
 
Can you please explain how SAP Connect solution is implemented. We would
also be interested in experiences using MAPI Service.
 
Somehow our Basis folks are not too keen on setting up these connections to
link SAP Inbox with Outlook. We are being forced to write a mailx command to
Unix (after looking up the receipients emails address in a table) to send
the mail to the user!!
 
Would very much appreciate opinions and alternate ways of doing this.
 
Thanks,
Tony
 
 
>From: Rakesh Dube <rakesh_dube at pacific.net.sg>
>Reply-To: SAP Workflow Users' Group <SAP-WUG at MITVMA.MIT.EDU>
>To: SAP-WUG at MITVMA.MIT.EDU
>Subject: Re: Trigger Events/Messages based on Org Chart changes
>Date: Tue, 19 Dec 2000 23:32:54 +0800
>
>Hi Tony,
>U can use autoforwarding method with SAP connect
>We are also sending  mail to Lotus notes using same concept
>Cheers
>Rakesh
>
>
>tony hick wrote:
>
> > Hi Rakesh, Dave:
> >
> > Thanks for the input. We are looking into using this solution.
> > One difference for us is that we are trying to send the email not to SAP
> > Inbox but to Outlook.
> >
> > Thanks,
> > Tony.
> >
> > >From: Rakesh Dube <rakesh_dube at pacific.net.sg>
> > >Reply-To: SAP Workflow Users' Group <SAP-WUG at MITVMA.MIT.EDU>
> > >To: SAP-WUG at MITVMA.MIT.EDU
> > >Subject: Re: Trigger Events/Messages based on Org Chart changes
> > >Date: Tue, 19 Dec 2000 17:11:41 +0800
> > >
> > >
> > >Refer Attached file  Dynamic action setting
> > >Path :Personnel Management --->Personnel Administration---->Customize
> > >Procedures---->Dynamic Action
> > >
> > >
> > >
> > >Following setting will call Subroutine GET_EMAIL_TRANSFER  from program
> > >ZHRONINM002 subroutine pool
> > >
> > >GET_EMAIL_TRANSFER  will check if there is change in department  and
>then
> > >trigger email to appropriate person, there should be condition to check
>the
> > >department change because Dynamic action setting will fire even  there
>is
> > >change
> > >
> > >in pay or other Org assignment change ie change in infotype 0001.
> > >( Even we can customize particular field like department  if there will
>be
> > >change in field then it will fire the dynamic action, we haven't use
>that
> > >functionality because of some constraint )
> > >
> > >
> > >I am enclosing source code of function module  and Email triggering
> > >Subroutine
> > >Code might be  quite confusing , as we trying to cater lot of exception
> > >case for
> > >
> > >my client
> > >
> > >  following are steps
> > >1. Find out the change in department by comparing action org unit refer
> > >function module ZHR_GET_DEPT_DIV_RD.
> > >2. If there will change in department  run the subroutine for email.
>Refer
> > >subroutine FORMAT_EMAIL USING  P_PERNR
> > >3. PERNR and BEGDA  u will directly get from table PA0001 or PA0000 as
> > >dynamic
> > >action will forward this value in to GET_EMAIL_TRANSFER subroutine
> > >4. Call  function module CATS_SEND_MAIL
> > >AENAME is user name to whom u want  send , u can loop this and send to
>more
> > >than
> > >
> > >one recipient
> > >HEADER  is subject
> > >OBJCONT is Content of mail.
> > >
> > >My program is quite complex ,u can make easy program with above
>mentioned
> > >logic.
> > >
> > >Let me know if u get stuck .
> > >
> > >Thanks
> > >Rakesh
> > >Encl: Dynmic action file , Function module and Subroutine pool ABAP
>code.
> > >
> > >
> > >
> > >
> > >
> > >David Weston wrote:
> > >
> > > > Thanks Rakesh
> > > >
> > > > That would be great and really appreciated
> > > >
> > > > Cheers
> > > > Dave
> > > >
> > > > ----- Original Message -----
> > > > From: "Rakesh Dube" <rakesh_dube at pacific.net.sg>
> > > > To: <SAP-WUG at MITVMA.MIT.EDU>
> > > > Sent: Friday, December 15, 2000 8:47 PM
> > > > Subject: Re: Trigger Events/Messages based on Org Chart changes
> > > >
> > > > > Hi Dave,
> > > > > I am not using Standard Function module
> > > > > I will love to send function module and Dynmic Action config .
> > > > > Now I am on weekend ,  after reaching office  will send  u screen
>dump
> > >of
> > > > Dynmic
> > > > > Action customization
> > > > > and  Function module code.
> > > > >
> > > > > Let me know  email id   ,who ever is intersted in this .
> > > > >
> > > > > Thanks
> > > > > Rakesh
> > > > >
> > > > >
> > > > > David Weston wrote:
> > > > >
> > > > > > Hi Rakesh
> > > > > >
> > > > > > This is a coincidence but this requirement just came up on my
> > > > > > current project where they want to be notified on position
>changes.
> > > > > >
> > > > > > Just looked at the Dynamic Actions config in HR via SPRO and was
> > > > wondering
> > > > > > which options you used ie was it an M for mail entry ? Also
>would
> > >you be
> > > > > > willing
> > > > > > to share the function module info i.e. was it a standard SAP FM
>or
> > >was
> > > > it
> > > > > > a customer developed function module ?
> > > > > >
> > > > > > Any help would be great.
> > > > > >
> > > > > > Cheers
> > > > > > Dave
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On
>Behalf Of
> > > > > > Rakesh Dube
> > > > > > Sent: Thursday, December 14, 2000 10:59 PM
> > > > > > To: SAP-WUG at MITVMA.MIT.EDU
> > > > > > Subject: Re: Trigger Events/Messages based on Org Chart changes
> > > > > >
> > > > > > Hi Tony,
> > > > > > We did same scenario in one of the project but here we used
>Dynmic
> > > > action
> > > > > > rather then
> > > > > > Workflow.
> > > > > > In Dynmic action customization we trigger the function module
> > > > > > FUnction module will send  mail to the appropriate person.
> > > > > > This is one of the way to trigger mail ,
> > > > > >
> > > > > > Org chart hierarchy is saved in table HRP1001.
> > > > > > If u need more detail in this let me know
> > > > > > Thanks
> > > > > > Rakesh
> > > > > >
> > > > > > tony hick wrote:
> > > > > >
> > > > > > > Hi All,
> > > > > > >
> > > > > > > We maintain our employee resources in the Org Chart (PPOME).
>The
> > > > resources
> > > > > > > (employees) are assigned to different projects (which are
> > >represented
> > > > as
> > > > > > > Positions in the Org Chart),  by moving them from one position
>to
> > > > another,
> > > > > > > using drag and drop.
> > > > > > >
> > > > > > > We would like to trigger an email to the responsible persons
>of
> > >the
> > > > new
> > > > > > > Position, the old Position, and to the Person who has been
> > >assigned,
> > > > > > > informing this change as a text message, when the change is
>saved.
> > > > > > >
> > > > > > > Any ideas on how this can be triggered?  Are there any events
> > > > associated
> > > > > > > with saving the Org Chart (PPOME) that I can use? What tables
>are
> > >the
> > > > Org
> > > > > > > chart hierarchy saved in?
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Tony
> > > > > > >
> > > > > >
> > > >
> >
>
>___________________________________________________________________________
_
> > > > > > _________
> > > > > > > Get more from the Web.  FREE MSN Explorer download :
> > > > > > http://explorer.msn.com
> > > > >
> > ><< Dynamicactionsetting.zip >>
> > ><< rakesh_dube.vcf >>
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.com
><< rakesh_dube.vcf >>
 
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
**********************************************************************
Powercor Australia Ltd. This email and any file attachments are
confidential and intended solely for the use of the individual or
entity to whom they are addressed. If you have received this email in
error please tell us immediately by return email and delete the
document.
**********************************************************************
 


More information about the SAP-WUG mailing list