C++ program to add SAPMAPI service to existing profiles

Roehlen, Peter PRoehlen at powercor.com.au
Tue Dec 12 03:03:01 EST 2000


Workflowers,
 
We are in the process of rolling out the SAPMAPI service to 800+ Outlook
users as part of our effort cement SAP Business Workflow as our companies
workflow engine.  Some time ago I posted a question to this group asking
about this rollout could be automated.  Markus Brahm [mbrahm at cscploenzke.de]
was kind enough to direct me to the "newprof.exe" program which is
documented in SAPNET note 101601.
 
The limitation of this program however, is that it is fine for creating new
profiles, but does not allow the adding of a service to an existing
messaging profile.  Many of our users have personal folders and other
services that are already set up in Outlook which we did not want to
interfere with (ie remove) by creating a new profile.
 
With the help of note 101601 and some hunting around on the net I have
managed to write a program that adds SAPMAPI to an existing messaging
profile.  The program compiles into a small executable that can be run with
the name of the profile to be modified as the first argument.
 
Anyway, I thought I'd like to give something back to this community that has
helped me out greatly over the last several months and so I've attached the
source code and make file to this posting in the hope that some of you may
be able to use it.  You will need to get a developer with C++ and the MS EDK
to customise and compile this program for you.
 
Please note however I'm not a professional C++ programmer (ie I'm a total
novice) and the code is provided as is and without warranty or liability
accepted by myself or the company I work for.  Please test it extensively if
you are going to use it.
 
Kind regards
 
Peter Roehlen
Team Lead - SAP Technical & Development
Powercor Australia Ltd
(03) 5430 4704 / 0409 950 263
 
 <<addsmapi.zip>>
 
**********************************************************************
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.
**********************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: addsmapi.zip
Type: application/octet-stream
Size: 4072 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20001212/425438a7/attachment.obj


More information about the SAP-WUG mailing list