Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Phase Area
What is Groupware?
Best Practice for Solution Management
Contents
Applicability, Goals, and Requirements................................................................................................3
Different GWI Technologies ...............................................................................................3
Best Practice Procedure and Verification.............................................................................................5
Procedure .........................................................................................................................5
GWI Scenarios............................................................................................................5
Activity Management ...................................................................................................5
Business Partner Management....................................................................................6
Public folder synchronization (GWA01)........................................................................6
Private folder synchronization (GWA02) ......................................................................6
Workforce Management (People/Resources Planning) ................................................7
Components................................................................................................................8
Groupware Adapter .....................................................................................................8
Groupware Connector .................................................................................................9
Mapbox........................................................................................................................... 11
MapBox Family of components..................................................................................12
The MapStore Schema..............................................................................................16
Data Exchange in the Groupware Integration system landscape ......................................19
Queues used for the data exchange ................................................................................21
Benchmarks for data processing .....................................................................................23
Benchmarks related to the MapBox ...........................................................................23
Limitations for the GWConnector.....................................................................................24
Excursus: Impact of the UserList ...............................................................................24
Most Common Problems.................................................................................................25
Problems related to MapBox .....................................................................................25
Problems related to GWConnector ............................................................................26
Verifying Connection to the MS Exchange Server............................................................28
Obtaining Error Details ....................................................................................................29
Using Diagnostics Tool (Exchange Connector) ................................................................30
Using Diagnostics Tool (Lotus Connector) .......................................................................30
Problems related to GWI application................................................................................31
Performance problems ..............................................................................................31
Settings Related to the MapBox ................................................................................31
Recommended memory settings for the MapBox.......................................................31
How do I set the recommended memory settings for the MapBox? ............................31
Further recommendations ...............................................................................................32
Recommendations concerning the system landscape ................................................32
Performance and Hardware Requirements ......................................................................33
Hardware Requirements of GWConnector.................................................................33
Network Bandwidth Requirements.............................................................................33
Hardware Requirements of the MapBox ..........................................................................34
Recommended support packages/ patch levels .........................................................34
GWConnector proxy recommendations ...........................................................................35
Integration Landscape ...............................................................................................35
Further Information ...........................................................................................................................36
Important Notes...............................................................................................................36
GWI Application Notes ....................................................................................................37
Knowledge Documents....................................................................................................37
Applicability, Goals, and Requirements
In a third scenario (client-to-server) the CRM server communicates directly with a CRM Web
user-interface. This scenario will be supported starting from CRM Release 5.1.
In the following figure, the three groupware solutions are depicted schematically.
client-to-server
CRM
client-to-client Web-UI Groupware
CRM 5.1
Groupware
Mobile CRM
Sales Server server-to-server
CRM Exchange
MW Server
Groupware
In this document, we will focus on the server-to-server based synchronization only. The server-to-server
based groupware Integration enables the synchronization of business partners and activities
(appointments and tasks) between CRM and Microsoft Exchange or Lotus Domino. You can generally
distinguish between public folder synchronization (GWA01) and private folder synchronization (GWA02).
These different synchronization techniques will be described in the next section.
The server-to-server based groupware integration is part of the Austrian Package which is an ‘easy to
implement’ solution based on CRM 4.0. It also contains business partner management, activity
management and the CRM reporting framework. The SAP Sales Express solution (a predecessor of the
Austrian Package) is a package that contains the server-to-server based groupware integration in addition
to campaign management and integration with SAP ERP.
Best Practice Procedure and Verification
Procedure
GWI Scenarios
The Business Partner data as well as activities and tasks in SAP CRM can be integrated using server-to-
server based synchronization. This data exchange between CRM and Groupware can be implemented
bidirectional, that is, the data created or modified in the CRM system can be conveyed to Groupware and
data created or modified in Groupware can be conveyed to CRM. The synchronization between SAP CRM
and Groupware Servers takes place in real time.
The data synchronization is only supported for predefined fields, meaning that there is no guarantee that
data fields from Custom Forms being used within Microsoft Outlook or Lotus Notes will be synchronized
between SAP CRM and Groupware Servers.
The Business Scenarios ‘Business Partner Management’, ‘Activity Management’ and ‘People/Resource
planning (Workforce-Management)’ are supported and will be discussed in this section.
To enable data exchange between the CRM server and groupware systems, the CRM Middleware is
enhanced with a framework that seamlessly integrates the CRM server with the Groupware servers, for
example, Microsoft Exchange 2000/2003 or Lotus Domino 5.0.x groupware servers.
Maintains Contacts
Sends and receives e-mail messages
Creates personal tasks
Uses the calendar for managing appointments with employees and business partners
Activity Management
Allows bidirectional exchange of activities (CRM), appointments and tasks (groupware) between
the CRM server and the groupware server
Allows bidirectional exchange of attachments along with activities (CRM) and appointments and
tasks (groupware) between the CRM server and groupware server
Provides additional information, such as a link to the opportunity that triggered this particular
activity
Tasks and appointments in Microsoft Exchange (Outlook) or Lotus Domino that are flagged for replication
(via assignment of the category CRM_ACT) will be replicated to SAP CRM. Activities that are created in
SAP CRM will be sent to Microsoft Exchange (Outlook) or Lotus Domino when the ‘calendar maintenance’
flag is set.
In the customizing settings of the CRM server, you can define filter criteria for Business partner exchange
with Groupware based on the category and role for the business partners. The filter criteria can be defined
to be applicable for replication from CRM to the groupware server, which can be either inclusive or
exclusive.
For appointments and tasks which are replicated from the CRM server to groupware, it is possible to
attach a link to the activity or task accessible via the SAP portal. Alternatively, a business server page
(BSP) link is available. For details see SAP note 931165.
The replication of attachments is supported for activities from CRM to groupware and vice versa. The total
maximum size of all the attachments in a Business Activity should not exceed 1 MB.
Follow-up activities and tasks to CRM Opportunities are also replicated to the Groupware Server. In this
case the CRM Opportunity information is embedded along with the corresponding appointment or task.
Meeting Requests to distribution lists are not supported by the current version.
Private appointments are not synchronized between the Groupware server and CRM, however, private
tasks are synchronized.
Recurring appointments are synchronized between Resource Planning Application and Groupware
Server within the ‘Workforce Management Groupware Integration’ scenario. Daily, weekly and monthly
recurring appointments with an appointment start and end time on the same day can be replicated
between the RPA and groupware via CRM Middleware. The replication of yearly recurring appointments
is not supported.
Example
A user in Project Resource Planning uses the resource search to find appropriate and available
resources for a requirement. WFM Core sends the results of the search to the application. The
resource manager then creates an assignment by staffing a project role (to which the requirement
is attached) with a resource. This assignment can be transferred to groupware as a task to the
resource’s mailbox.
The activities created in the RPA are provided to groupware users. Activities are represented as an
appointment or a task (on the groupware server). The groupware adapter transforms both objects to the
Internet standards for groupware objects, that is, iCalendar for tasks and appointments.
Components
In this section we will provide an overview of the technical components relevant for groupware integration,
namely the Groupware Adapter, the MapBox, the Groupware Connector and the Groupware Connector
Proxy. A detailed description of these components will be given in the next section.
The following figure illustrates the general architecture and main components of groupware integration.
On the CRM server, the Groupware Adapter manages incoming and outgoing messages. The MapBox
framework (SAP SyncPoint) performs the required transformations of the data which is exchanged with
groupware. The format of the messages exchanged between the CRM server and groupware is based on
the vCard and iCalendar standards. A server-specific SAP Groupware Connector acts as a bridge
between the Groupware Adapter and the Groupware Server. It provides the mapping of the standard
exchange formats to the proprietary Groupware Server formats and vice versa.
Groupware Adapter
The SAP Groupware Adapter on the CRM server is based on the SyncPoint technology and supports the
transformation of BDoc messages to standard groupware formats (iCalendar and vCard) by using a
sophisticated XSLT mapping framework called MapBox and the Payload Interface (SOAP based
messaging interface for exchanging data between the CRM server and groupware connector). iCalendar
and vCard are the Internet standards to represent groupware calendar objects and contacts. Predefined
mappings of a BDoc message to iCalendar and vCard, created using the MapBox, are delivered for
groupware integration.
The Groupware Adapter is a CRM-Middleware enhancement of the Inbound / Outbound Adapter used for
the Mobile Sales solution (Sync-Adapter). The Sync-Adapter provides the overall controlling framework
and the technical I/O-paths for the data transferred between the external site and the CRM-middleware.
The Internal SyncPoint (ISP) consists of the Sync-Adapter, a Payload Interface (PLIF) and the MapBox.
The PLIF is a general Messaging Interface which the CRM Middleware uses to communicate with the
outside world. This Interface does not manipulate data, but is responsible for the technical aspects of the
message exchange.
Groupware Adapter
Transforms BDOC => BDOC-XML
Queue handling
Calls the MapBox
Groupware Connector
The SAP Groupware Connector is an external application to the CRM server and performs the message
synchronization between the CRM server and the groupware server. Message transfer is performed using
a reliable and open messaging interface based on XML-SOAP.
Technically, the Groupware Connector is an application written in C++ which scans the CRM outbound
queue for messages which are relevant for Groupware Integration at regular intervals (usually every 5
seconds). In addition, the Groupware Connector receives XML documents from the Microsoft Exchange
Server or Lotus Domino Server and transfers them to the CRM Groupware Adapter.
SAP provides two Groupware Connectors, one for the Microsoft Exchange Server and another for the
Lotus Domino Server. Both connectors perform server-based data synchronization between the CRM
server and a Groupware Server. They are linked to the CRM server through the Groupware Adapter that
is part of the SyncPoint technology. The connection between the connectors and the groupware adapter
is established through the SOAP protocol over HTTP.
The Microsoft Exchange Connector uses Microsoft Collaboration Data Objects (CDO) to connect to the
Microsoft Exchange Server. The Lotus Domino Connector uses the Lotus Domino toolkit for Java/CORBA
to connect to the Lotus Domino Server. The SAP CRM Groupware Connector is created as a Windows
NT service and runs under a NT user account.
The Groupware Connector can be set up to serve one or many Exchange Servers. In case only one
Exchange Server is connected, the default proxy will be used. In a scenario where multiple Exchange
Servers will be connected, a proxy must be implemented for every exchange server. Furthermore, one
proxy per domain is required.
The configuration of the Groupware Connector (here the MS Exchange Connector) can be analyzed and
changed in the Groupware Connector Administration Tool.
The configuration of the Groupware Connector Proxy can be seen in the Admin Tool, Proxies => General.
Mark the corresponding proxy, double-click on the proxy name or use button “Edit Proxy Configuration”.
Mapbox
The MapBox stores:
customizing data
iCal/vCard
mapping between BDOCID and GWI-related UID. This BDoc ID -> GW ID is needed to map a
groupware object to a BDoc in the reverse direction. When, for example, an activity/bp is
created/changed in Groupware, the GWConnector checks if a BDOCID already exists for an
incoming UID. If no BDOCID exists, the creation of a new activity/bp in CRM is triggered. If a
BDOCID related to the UID is found, a change/update of the activity/bp is performed.
userlist: mapping between BP-GUID and email-address. The userlist is stored as an xml-file
(Userlist.xml). The xml-file contains partner functions, roles and rules that define for which roles
which partner functions are activated.
The MapBox is an XML-based document transformation framework, performing document
mapping along with flow-control capabilities. Technically, the MapBox is a Java-based Mapping
component which is called from SAP CRM via a Java Connector (JCO). The MapBox uses a set
of instructions to transform a source document into a destination document. This mapping-
scenario is called the MapScenario. The MapBox is also employed for the multiple backend
solution (MBS).
In general, mapping scenarios are employed when two systems need to interact with each other, but the
document format is not identical for both systems. From this point of view, the MapBox has a similar
function as an XI (exchange interface) system as the MapBox connects two different systems which
understand different formats of an XML based document.
Input
Output
XML
MAPBOX XML
Docu
Docum
ment
ent
As shown in the figure above, the MapBox receives XML documents in a given format and delivers XML
documents in a different format. As an example, consider an SAP CRM system exchanging contact-
details with a Groupware solution such as Microsoft® Outlook. While the SAP CRM system and
Microsoft® Outlook both model and interact with respect to the same real world entities, namely business
contacts (that have real-world attributes such as Name, Communication details, etc.), they do not use the
same internal representation nor the same modeling schema to depict these real world entities. In this
example the SAP CRM system provides XML BDocs, whereas the Groupware solution expects business
objects in the format vCard.
MapBox Family of components
To achieve the task of the transformation, the MapBox is assisted by a number of components which are
described below.
a) The MapBoxLauncher
The MapBox is an application framework. To use the MapBox in various usage scenarios,
applications need to set up the MapBox according to their requirements. The MapBox family of
components provides an application for use in the Groupware Integration application and the Multiple
Exchange Platforms projects, called the MapBoxLauncher. As the name may suggest, the
MapBoxLauncher ‘launches’ the MapBox for use by other applications.
Programmatically, the MapBoxLauncher provides a way for an SAP CRM system to send messages
for execution of the MapBox and, once the processing is performed by the MapBox, to receive the
processed message. Using the interface that the MapBoxLauncher provides, applications can invoke
the MapBox as a function call in ABAP® programs.
For the users, the MapBoxLauncher is the sole access-point for the MapBox. Thus, using the
MapBoxLauncher’s web-based user interface, users can perform operations such as:
(i) Configuring the MapBox to process messages from a SAP CRM system
(ii) Starting the MapBox
(iii) Monitoring the MapBox processing status
(iv) Re-starting/Stopping the MapBox
Starting and Stopping MapBox in the MapBoxLauncher
c) The CoordServer
The Coordination Server for the MapBox ensures that the access to the MapStore is thread-safe, that
is, problems arising from accessing the same records from the MapStore by two different instances of
the MapBox are prevented.
d) The CoordLauncher
The CoordLauncher is a J2EE-based component that “launches” the CoordServer for use by the
MapBox. Using the CoordLauncher’s web-based User Interface, users can monitor the execution
status of the CoordServer. (No start-stop functionality is provided, because once configured, the
CoordServer starts automatically once the SAP J2EE Engine 6.20 starts its execution).
The processing request consists of the message to be processed, the name of the MapScenario to be
executed, and other parameters needed for the execution. The MapBoxLauncher forwards this request to
the MapBox. During it’s processing, the MapBox may need to write some records to the MapStore. The
CoordServer is consulted before the MapStore access.
Once the MapScenario is executed, the MapBoxLauncher packages the return values of the MapBox call
(which include the processed message in case the execution was successful, or an error message in case
the MapScenario encountered any exceptions/errors during its execution), returns the processing control
back to the ISP, and awaits for further processing requests.
Operations such as start-stop-restart and execution monitoring for the MapBox are performed by the UI-
component of the MapBoxLauncher. The CoordLauncher provides a means for monitoring the operational
status of the CoordServer.
The MapStore Schema
The MapStore on the CRM Server consists of five MapBox tables with the following content:
1. MBGLOBSTORE
Table MBGLOBSTORE contains the mapping data. The data is client-independent and is transported to
all other clients. Data of type c (MapCode).
DATASET: scenario, such as MBDGWA_01, MBDGWA_02 (any name can be given here)
MBGUID: GUID (key field)
MBDATA : XML-Data
2. MBMANDTSTORE
Customizing data is used in the following way: The BDOC only stores abbreviations, for example, for
country (e.g. DE). The MapBox retrieves the long name for the country from table MBMANDTSTORE (e.g.
DE => Deutschland). The key for finding the correct data is given by a path such as
“MBDGWA_01.d.BUPA. GW_BUPA_COMPLETION”, which corresponds to the hierarchical folder
structure that the MapBox is organized in and to the columns contained in the table.
3. MBMANTTSTORE
This table contains client-independent customizing data of type m (Mandant Data).
4. MBVALUESTORE
Acts as a Key-Value table to store runtime data.
5. MBPAIRSTORE
Acts as a Key-Key table to store runtime data.
Pair values UID and BDOC ID are stored in this table. If, for a certain UID a corresponding BDOC ID is
found, the Groupware Connector will interpret the new data as an insert and update the existing data.
Otherwise, a new activity/business partner will be created.
The tables of most interest for the analysis are the tables MBMANDTSTORE and MBGLOBSTORE. All
MapBox, tables will be analyzed in case of intermediate state I.
The figure above illustrates the internal data model of the MapBox. Each MapStore table corresponds to a
certain logical part of the dataset.
The names are made up of several parts. The same structure can be found in the MapStore tables, as you
can see in the example of MBGLOBSTORE below:
The XML document contained in field MBDATA can be read with report GWA_VIEW_MBSTORE, which
will be available in future CRM releases.1
1
The report is currently only available in the SAP-own Test System Q4C.
In order to execute the report, proceed as follows:
Select the table
P_GLOBST => MBGLOBSTORE
P_MANDT => MBMANDTSTORE
P_MANTT => MBMANTTSTORE
BDOC
(XML format)
Proxy
(XML format)
Groupware
Clients
On the CRM server, the Groupware Adapter manages incoming and outgoing messages. As the
MapBox is a Java-based application, whereas the CRM application is programmed in ABAP, the BDOCs
in CRM have to be transformed in a way that they can be read by the Mapbox. Therefore, the Groupware
Adapter transforms the BDOC messages to BDOC-XML.
Groupware Adapter is not a part of CRM Middleware. CRM Middleware calls the Groupware Adapter.
Groupware Adapter calls MapBox, which transforms the message and gives it back to the Adapter.
The MapBox represents the Groupware Adapter framework and runs on J2EE. It performs the required
transformations and enrichments or reductions of data. The incoming BDOC-XML messages are either
transformed to vCard-Format (for business partners) or to iCalendar (for activities). The messages are
pushed towards the MapBox.
After the transformation into vCard and iCalendar standards, the messages are put into the outbound
queue of the CRM-Server. They remain there with status “NOSEND”.
A server-specific SAP Groupware Connector acts as a bridge between the Groupware Adapter and the
Groupware Server. The Groupware Connector regularly checks if there are entries in the outbound
queues of the CRM Server. It retrieves the data from the CRM outbound queues (Pull-mechanism).
Furthermore, the Groupware Connector provides the mapping of the standard exchange formats to the
proprietary Groupware Server formats and vice versa.
During the replication of appointments, tasks and business partners from Groupware to CRM, the
Groupware Connector Proxies (written in C++) scan all user’s mailboxes, calendars and tasks for new
entries. This is done for all employees who are maintained in the userlist.xml file (can be displayed in
Groupware Connector). Microsoft’s ICS (Incremental Change Synchronization)2 is used for monitoring and
synchronizing changes if Outlook is used.
The following figure shows the protocols used for communication between the different GWI components:
2ICS: Incremental change synchronization (ICS) provides a mechanism to monitor and synchronize
changes to an information store hierarchy or content. The changes include creating, modifying and
deleting folders and messages.
ISP_D* BDOC-XML => iCal /vCard
CRM- GWAdapter I BDOC-XML MapBox
BDOCID=>
Applicat BDOC =>BDOC- UID
iCal /vCard
ion XML
O iCal
ISP_O*
MW vCard
GW
In case UID=>BDOCID
Connector UID =>
GW connector BDOCID
creates an
object
iCal/vCard/ MAP BOX
MSX
ok
UID=>BDOCID²
GW
ISP_I* Inbound Queue
Connector
²bp-number, MW
activity-number
task-number
The figure above illustrates the data flow in a GWI environment from a more technical point of view.
ISP_O* (outbound) queues, flowing from the MapBox to the Groupware Connector, contain:
the userlist (say ISP_O*17)
the catlist (say ISP_O*18)
the Public Folders (say ISP_O*19)
and every Private Folder (say Employee 1 in ISP_O*20 , Employee 2 in ISP_O*21 ).
ISP_I* (inbound) queues are created for every user. When a new user is created, a unique queue name is
dynamically created and linked to the user’s email-address. The mapping between email-address and
queue-name is stored in table ISPQTAB and is fixed from thereon. Furthermore, public folder queues and
system queues (see below) will be processed in ISP_I* queues.
Example:
Employee 1 ISP_I*10.
Public Folder ISP_I*11
CMW_PIF_ID_QUEUE ISP_I*12
CMW_PIF_PROTOCOL ISP_I*13 etc
The ISP_S* (secondary) queue is formed after mapping. For every BDOC type, a different ISP_S* queue
is created.
Example:
BUPA_MAIN (Public folder) ISP_S*5
BUS_TRANS_MSG (Activities) ISP_S*6.
Furthermore, the Groupware Adapter provides a predefined set of system queues. There are the
following system queues:
_ISP_QFILLED (ReadOnly) GWA provides a list of currently filled queues from CRM
side.
CMW_PIF_ID_QUEUE (WriteOnly) GWC posts IDs of the newly created messages in
Groupware server storage. This will update the mapping between CRM and Groupware items on
GWA side.
CMW_PIF_PROTOCOL (WriteOnly) GWC posts error notifications into this queue.
USER_LIST (ReadOnly) GWA provides a list of users whose data is intended for
replication Groupware to CRM.
CATS_LIST (ReadOnly) GWA provides list categories used to mark messages in
Groupware server storage intended for reapplication.
Whenever an update or deletion related to a user arrives, it is processed by the queue belonging to that
user.
3
Performance issues have been detected in systems with more than 100 000 users in table
MBMANDTSTORE. Entries in MBMANDTSTORE will be deleted if they have been correspondingly
removed from the CRM server.
to note 920953 ‘Slow performance by MapBox when processing ISP_D queues’. Please take as
well into account the prerequisites of this Note before applying the same.
Functionality:
The UserList.xml file contains a list with all Business Partners with role Employee in CRM. There is no
mechanism involved to allow only a few employees (who are using Groupware) to be downloaded to
UserList.xml file. If certain Employees should not be included in the UserList.xml file, there are several
ways to do so:
They can be manually removed by editing the UserList.xml file.
Alternatively, the employees email address (who will not be part of Groupware) has to be deleted
in CRM transaction “bp”.
You can also move the email address of the business partner maintained in the Standard Address
Dependent Communication Section to the Address Independent Communication Section in CRM
transaction “bp”.
If the employees relevant for GWI are changed frequently, filtering on the userlist.xml file can be
done by implementing the following SAP note:
983436 Groupware Integration: Filtering on UserList.xml file
For the replication of activities from Groupware to CRM, the user ID (SMTP address) of the organizer who
triggers the appointment change has to be available in the UserList.xml. The userlist has no relevance for
the synchronization of activities from CRM to Groupware.
The Groupware Connector Proxy will sequentially go through the storages of all users provided in the list
and replicate changes to CRM one by one, by posting the messages into user’s data queue in Groupware
Adapter.
A user will be deleted from the UserList.xml provided it is not part of the configured exchange servers.
- Presumed bh1 and bh2 are known exchange servers, users of type abc@bh3.com will be automatically
deleted from the userlist file.
- users of type xyz@bh1.com won't be removed from the UserList.xml even though the corresponding
mailbox is not existing in either bh1 or bh2 exchange servers.
In the xyz@bh1.com example, the Groupware Connector throws an error message and locks the
corresponding activity in Admintool -> Current Locks. Therefore, it is important to maintain a valid SMTP
address during the creation of business partners.
Performance:
In order to estimate the performance of a certain GWI system landscape, please refer to the Groupware
Connector Administration Guide p.11f.
In CRM transaction smq1, you detect that the ISP_D_* or ISP_I_* queue has failed. The error
messages indicated are one of the following:
1. An MAPCASEEXCEPTION has occurred (RC 94)
2. MapBox Commit - Fatal Error (RC 115)
If this does not solve the problem, open a customer message under component CRM-MW-MBX.
6 Wrong parameter
Most probable reasons:
• There is a problem on groupware connector or groupware adapter side. Contact support team for
details. This error should not happen normally.
9 Unspecific error
Most probable reasons:
• There is a problem on groupware connector or groupware adapter side. Contact support team for
details.
Launch MS Outlook. If MS Outlook is unable to log on either the Exchange Server name or the
Account provided is invalid.
If MS Outlook is able to login successfully, then probably you may need to follow one of two
procedures to fix the error message:
[ERR: 1001] Invalid Administrative Account. Server =???, Account =???.
[0x8004011d] E_FAILONEPROVIDER.
Add msx_gwconnect to the list of local users using Start -> Control Panel -> User Accounts as
local administrator.
Delete as many temporarily created profiles as possible, which often fixes the error. ( Start ->
Control Panel -> Mail -> Show Profiles )
If you receive the message ERR:#2002, the provided administrative account may have no permissions to
log on to the mailbox corresponding to the provided mail ID.
The Connector (as well as MS Outlook) uses Windows NT authentication for providing authorization in the
Exchange Server. That means, you have to log on locally to the computer running MS Outlook, using the
administrative account, when connecting to the MS Exchange Server. When running the Connector as a
service, authentication information provided on the Logon tab of the service properties is used.
Obtaining Error Details
In case of a connector failure, detailed error information is available in the following places:
1. Error log file provides one line per error with short info.
2. Trace log file provides detailed error information if available. You may use the contents from the
error log to search in the trace file for details.
3. ErrDumps subfolder contains detailed information about errors sent to CRM. A copy of the sent
messages is stored on the local drive.
4. queue-locks.xml use Current Locks page in the Admin Tool to view contents of this file
Each of the mentioned items is available by default. However each of them can be disabled from the
Admin Tool.
Detailed system information may be required to provide support for the solution. The information can be
partially obtained using the diagnostics tool. Refer to the section Using Diagnostics Tool for more detail.
Using Diagnostics Tool (Exchange Connector)
Exchange connector includes GwcDiag.exe diagnostics tool. It will gather system diagnostics using
Groupware Connector configuration and generate reports into SysInfo subfolder.
You need to logon locally using Groupware Connector administrative account to start the tool. The tool
does not require additional parameters to start.
Generated files are:
AddrBook.txt - contains complete dump of the Global Address book with names of the Exchange
Servers holding user’s mailboxes.
Summary.txt - contains short summary of solution: administrative account, size of UserList.xml, size of
Exchange Global Address Book and list of known Exchange servers (identified by references from
Global Address Book).
SysInfo.txt - contains the computer configuration with list of used DLLs.
UserList.txt - contains details of mailbox access verification for each user listed in UserList.xml
UserList Access.txt - contains list of mailboxes and folders the connector is not able to get access to.
UserList External.txt - contains list of external users listed in UserList.xml
UserList Invalid.txt - contains list of users who do not have a mailbox in the organization
If further help for the solution of the problem is required, open a customer message under component
CRM-MW-GWI-GWE (MS Exchange Connector) or CRM-MW-GWI-GWD (Lotus Domino Connector).
Further typical problems related to the GWConnector and ways of solving them are described in the
GW Exchange Connector Troubleshooting Guide which is attached to note 957409.
Furthermore, the GWI customizing settings might not be maintained correctly. Please check the
customizing settings referring to the following Guide:
959294 Groupware Adapter Customizing and User Guide
If this should not solve the problem, please open a customer message under component CRM-MW-
GWI.
Performance problems
If performance problems in GWI system landscape are experienced, please assure that the following
performance related GWI settings are maintained:
a) If you use Windows Services to start-stop the SAP J2EE Engine; then use the SAP J2EE
Engine 6.20 Configtool to set the memory values.
b) If you use SMICM transaction to start-stop the SAP J2EE Engine, then edit the file
Best Practice: <Title> 32
Also, refer to note 697062 for information on Location of JVM options and JVM output in SAP
J2EE Engine 6.20.
Further recommendations
Do not send Attachments of more than 1 MB in size to or from groupware as it has a severe
impact on performance.
When you perform an initial download of business partners, ensure that the block size of the
BUPA-MAIN object is set to 10. If the block size is set to a higher value, it results in a non-
performant download. Equally, the block size of adapter object GWA_Country has to be set to
10.
If a change in customizing affects only one customizing object, you do not need to perform a
download of all the customizing objects. It is sufficient to download the affected customizing
object.
Installation of components
Regarding the setup of a Groupware integration system landscape, please take the following
recommendations into account:
Separate strictly between production and test landscape. Do not link production and test
landscape to the same mailbox! You have to be able to check for possible data
inconsistencies, for example, after performing a business partner download to the Outlook
public folder.
For J2EE versions below 640, we recommend installing the MapBox on a separate server.
Theoretically, all components can be installed on the same server. But this may lead to
performance problems, as the MapBox needs high amounts of memory.
© 2007 SAP AG
Best Practice: <Title> 33
GWConnector and Exchange Server should not be installed on the same server for
performance reasons
Outlook 2003 contains CDO by default, you do not have to install it separately
Several clients can be added to one MapBox; but: for one GWConnector, only one CRM
System can be connected.
There cannot be 2 installations of MapBox listening to the same CRM client. Also MapBox is a
non-clustered application and hence a clustered J2EE Engine is not supported.
Component Description
Processor Intel PIII 600 MHz or higher
Minimum RAM 256 MB
Minimum Disk Space 100 MB
Display Mode 640x480x16 or better
Result of performance testing shows that following hardware is required to serve 1000 to 1500 users:
Component Description
Processor Intel P4 2 GHz
Minimum RAM 512 MB
Minimum Disk Space 100 MB
Display Mode 640x480x16 or better
Performance of the connector scales linearly – one box with 4 * Intel P4 2 GHz and 2G of memory will
be able to serve about 5000 to 6000 users.
Note: all performance estimations are relevant to Groupware Connectors operating in Local
Area Network environment.
Note: Groupware Connector may share the same box with relevant Groupware Server if the
box has some performance and memory reserve. Use numbers above to check if there
is enough free resources for amount of users to be served.
© 2007 SAP AG
Best Practice: <Title> 34
Below is the short table with the results of the performance benchmark in the real-life
environment (with only one worker running):
where average traffic is the traffic between Groupware Connector and Groupware
Server over WAN link.
Install one instance of the Groupware Connector per LAN where Groupware Server is
located. This solution will eliminate huge network traffic between Groupware Connector and
Groupware Server and will strongly improve the performance of the whole solution in a
distributed environment.
The result of performance measurement shows that performance of about 1 message per 2
seconds can be achieved over one 56Kbpps effective bandwidth line.
Note: this option is not available in SP03 release.
Component Description
Processor Intel PIII 600 MHz or higher
Minimum RAM 1024 MB
Minimum Disk Space 1 GB
Display Mode 640x480x16 or better
For more info on performance and scalability, refer to the Release Notes document on the path
<\\inblr102\sapall\common\crm\gwi\mapbox\Release Notes>
See below the recommended ideal system landscape for a GWI scenario:
Regarding the MapBox, the latest support package level (currently SP12) is recommended by
development. MapBox SP 9 contains essential performance improvements; SPs 11/12
support the automatic the automatic restart of the MapBox on a J2EE restart.
Concerning the J2EE, the latest version is also recommended (currently J2EE version 700).
GWConnector SP 10 should not be used for public folder synchronization Please refer to
note 935267.
© 2007 SAP AG
Best Practice: <Title> 35
If the public folder synchronization is not going to be used however, the Installation of
GWConnector SP10 has the following advantage:
In SPs smaller than SP10, a public folder name for installation is required. In SP 10, this is not
the case any more. This fastens the installation process.
MapBox, GWConnector and CRM system can have different SP-levels; they are independent
of each other.
© 2007 SAP AG
Best Practice: <Title> 36
Further Information
Important Notes
General GWI Notes
753300 Groupware integration – Creation, Deletion & Reminder fixes
834041 Groupware Integration – additional field mapping
908571 Groupware Integration Solution Notes: provides an overview over all notes related to
server based groupware integration
908572 Private Folder Synchronization CRM->Groupware
908577 Groupware Integration TroubleShooting Guide
908579 Groupware Integration FAQs
934841 CRM Groupware Integration Field Mappings.
938591 Known Limitations with Server Side CRM Groupware Integration.
MapBox Notes
693065 Security Recommendation for MapBox Configuration
690162 Change in signature of function module ISP_MAPBOX_2
710346 Upload and Download of Map Scenarios
776448 Patch Installation of CRM non-ABAP components
817787 MapBox Troubleshooting Guide
899930 Indexing MBMANDTSTORE for better performance
900431 ISP_S* queue fails with error parsing XML
© 2007 SAP AG
Best Practice: <Title> 37
Component: CRM-MW-GWI*
Knowledge Documents
For GWI related documents, you can refer the following sections:
Newer versions of this documentation are currently available in the SAP Service Marketplace:
CRM 4.0:
http://service.sap.com/instguides SAP Business Suite Solutions SAP CRM SAP CRM 4.0
General and Technical Installation Guides
CRM 5.0:
http://service.sap.com/instguides SAP Business Suite Solutions SAP CRM SAP CRM 2005
CRM Core and Standalone Components
© 2007 SAP AG
Best Practice: <Title> 38
© 2007 SAP AG
Best Practice: <Title> 39
The information in this document is proprietary to SAP. No part of this document may be reproduced, copied, or transmitted
in any form or for any purpose without the express prior written permission of SAP AG.
This document is a preliminary version and not subject to your license agreement or any other agreement with SAP. This
document contains only intended strategies, developments, and functionalities of the SAP® product and is not intended to be
binding upon SAP to any particular course of business, product strategy, and/or development. Please note that this document
is subject to change and may be changed by SAP at any time without notice.
SAP assumes no responsibility for errors or omissions in this document. SAP does not warrant the accuracy or completeness
of the information, text, graphics, links, or other items contained within this material. This document is provided without a
warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability, fitness
for a particular purpose, or non-infringement.
SAP shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential
damages that may result from the use of these materials. This limitation shall not apply in cases of intent or gross negligence.
The statutory liability for personal injury and defective products is not affected. SAP has no control over the information that
you may access through the use of hot links contained in these materials and does not endorse your use of third-party Web
pages nor provide any warranty whatsoever relating to third-party Web pages.
© 2007 SAP AG