Вы находитесь на странице: 1из 12

Contents Access Microsoft Outlook Data from SAP Enterprise Portal5 1 Integrate Microsoft Exchange to Collaboration Room Calendar

iView.5 1.1 Purpose.5 1.1.1 Scheduling Features.5 1.2 Prerequisites.5 2 Installation.5 2.1 Create System Folders.5 2.2 Create an Exchange System Object7 2.2.1 Set up the MSX-A Component11 2.2.2 Create a Transport12 2.2.3 Configure the Calendar Repository.13 3 User Mapping of Enterprise Portal to Microsoft Exchange.14 4 Using the Calendar in the Collaboration Room..14 4.1 Create an Appointment14 4.2 View/ Change /Delete Appointment15 5 Sending Email through the Portal15 5.1 Create JavaMail Transport15 5.1.1 Transport Checklist15 5.2 E-Mailing Service.16 5.2.1 Procedure.16 6 Reading Email through Microsoft Exchange iViews.17 6.1 Using a Thick Client17 6.1.1 Prerequisites.17 6.2 Outlook Web Access for Exchange Thin Client22 6.2.1 Use.22 6.2.2 Creating iViews to access Outlook information.22 6.2.3 Result24

Access Microsoft Outlook Data from SAPEnterprise Portal 1 Integrate Microsoft Exchange to Collaboration Room Calendar iView
1.1 Purpose
This document provides the information you need to set up the connectivity for the SAP Best Practices for Enterprise Portal to Microsoft Exchange for integrating the calendar for appointments and scheduling. The Microsoft Exchange server is integrated using the Microsoft Exchange server transport. This transport supports the integration of the scheduling and tasks capabilities of Exchange Server 5.5 SP4 and Exchange Server 2000 with SAP Enterprise Portal 6.0. The transport uses Microsoft Collaborative Data Objects 1.2.1 (CDO) to access data from the Exchange server.

1.1.1 Scheduling Features


Creating non-recurring appointments Sending non-recurring meeting requests Readingappointments Modifying appointments Deleting appointments Modifying or deleting current instances of recurring appointments Sending attachments Scheduling online meetings

1.2 Prerequisites
Collaboration is installed on the Enterprise Portal Microsoft Exchange is installed with a user

Installation

2.1 Create System Folders


This task creates the folders on the Portal to store the Exchange Transport system object. You may skip this step if the folders are already created. If not, log on to the Portal as Administrator and follow the belowmentioned procedure: Procedure 1. In your portal, navigate to Content Administration > Portal Content > Portal Content(Righr hand Side).

SAP Enterprise Portal 1. 2.

Content Administration > Portal Content > Portal Content

Right-click on the folder Portal Content, then choose New > Folder. In Folder Name, enter My Folder. Enter other details as shown in the screen below. Choose Finish.

3.

Right-click on the folder My Folder, then choose New > Folder.

4. 5.

Name the folder System, then choose OK. You must next create the portal content folder for Exchange under the My Folder > System folder. Right-click on the

System folder, then choose New > Folder. 6. Result You have created folders to store Exchange system object. Name the folder Exchange, then choose OK.

2.2

Create an Exchange System Object

This activity defines SAP systems that will be connected to the Enterprise Portal and specifies the necessary attributes and web access details through System Landscape Wizard. When you run the System Landscape Wizard to create a system, the resulting object connects directly to the application that it defines. Procedure 1. From the portal top-level navigation, choose System Administration > System Configuration. 2. From the Detailed Navigation iViewof the navigation panel, choose System Landscape. 3. Under the Portal Catalog, expand the folder Portal Content by choosing the dropdown arrow on the left. 4. In the Portal Catalog, navigate to the folder My Folder > Systems > Exchange. Right-click on the Exchange folder and choose New From Portal Archive > System .This launches the System Landscape Wizard. 5. Select com.sap.netweaver.coll.appl.gw and then choose Next. 6. Select Microsoft_Exchange_Server and then choose Next. 7. Make the following entries for the system you want to connect to the Enterprise Portal. Then choose Next and then

Finish.
Field name Description User action and values Note System Name This is a display name, the name that appears in the Portal Catalog, and in any form, dialog box, and window that displays a list of systems. Exchange This field automatically displays the same name as that of the component that you choose in the previous step. If you want to change the name, overwrite the name that appears.

System ID

A unique identifier for the system

for example, Exchange

This is the identifier registered in the PCD (Portal Content Directory). The system ID may include any of the following : a-z; AZ; 0-9; '.'; '_'; '-'; '%'; '~'; '/'; '('; ')'.

System ID Prefix

A prefix for the system name

for example, com.yourcompany.system

If you want all your systems to follow a specific naming convention, making them easier to locate, you can add a uniform prefix to each system you create. You can leave it blank.

Save As Master Language Description The language in which you want the system properties to appear A brief description

System English

This is an optional description of the system.

8. In Summary Details, review the options you selected for the new page. If you notice errors and want to make corrections, choose the Back button until you return to the screen where the error was made. Then make corrections, and choose the Backbutton until you reach the Summary Details screen. 9. Choose Finish and choose Open for editing. 10. Set your SAP system properties according to the details in the table below. Field name Description User action and values Note Logon Method Authentication method for logging on to the SAP system UIDPW Our solution is based on User ID / Password. If you are using other methods (for example, Single Sign-on), please select the correct one. Note that if you will be using Single Sign-On or certificates, avoid creating too many users initially with User ID / Password, as the users' password mappings for such systems will need to be cleared.

11. Save your settings. 12. In the Edit dropdown in the top right-hand side of the iView, select System Aliasesfor this system.

13. In Alias, enter Exchange. Choose the Add button. 14. Choose Saveto save your changes and close the page. Result

You have created a system to access a back-end application, and have included it in the portal system landscape.

2.2.1 Set up the MSX-A Component


1. Locate a server that is on the same trusted domain as the Microsoft Exchange Server with Internet Information Server (IIS) installed. 2. Copy the MSX-A Component files that came with the Exchange Transport and copy the files to the IIS server (that is C:\SAPExchangeTransport). The MSX-A components are found at <irj>\root\portalapps\com.sap.netweaver.coll.appl.gw\external\exchange. . 3. Register the DLL by using the command regsrvr32in the command prompt, for example, c:\winnt\system32\regsvr32.exe c:\SAPExchangeTransport\ SapExchangeConnector.dll 4. Open the Internet Service Manager. Without Single Sign-On To create and configure an IIS Web Site without single sign-on, proceed as follows: 1. Create a new Web site with the name SAPExchangeand make a note of the port on which this site is running. 2. Set the permissions to execute. 3. Select the directory you just created as the home directory, for example, c:\SAPExchangeTransport. 4. Open the properties dialog box for the new Web site, and choose the Directory security tab 5. Deselect all Authenticationmodes. 6. Select Basic Authentication. 7. Confirm with OK. With Single Sign-On To create and configure an IIS Web site with single sign-on, proceed as follows: 1. Select the Web site where the SSO2KerbMap ISAPI module is installed and configured 2. Create a new virtual directory with the name SAPExchange beneath this Web site 3. Set the permissions to Execute. 4. Select the directory you just created as the home directory, for example, c:\SAPExchangeTransport. 5. Open the properties dialog box for the new Web site, and choose the Directory security tab. 6. Deselect all Authentication modes. 7. Select Integrated Windows Authentication. 8. Confirm with OK.

2.2.2 Create a Transport


This activity creates a Microsoft Exchange transport. The resulting object connects the Enterprise Portal to Microsoft Exchange.

Procedure 1. From the Portal top-level navigation, choose System Administration System

Configuration Knowledge Management Collaboration Transports Exchange Transports.


2. From the KM Configuration iViewof the navigation panel, choose New. 3. Enter values for the Exchange Transport. Field name User action and values Note Default Server Domain Exchange Server IIS Server Port System Alias Name Virtual Path for example, exchange.sap.com for example, sap.com for example, exchange.sap.com sap.com 80 For example, Exchange For example, SAPExchangeTransport .Must match the System Alias created in the previous step Must match the settings in IIS Use the settings from the MSX-A Component setup steps

4. Choose OK. Result You have created an Exchange transport to connect the SAP Enterprise Portal to Microsoft Exchange.

2.2.3 Configure the Calendar Repository


The calendar repository manager provides the option of selecting the required groupware transports from a set of deployed transports. This Collaboration manager provides read and write access to meetings and appointments on a groupware server. 1. From the top-level navigation, choose System Administration System Configuration Knowledge Management Content Management Repository Managers Calendar Repository. 2. Choose New. 3. Enter values for the Calendar Repository based on the transport created above.

3 User Mapping ofEnterprise Portal to Microsoft Exchange


Map the portal user to a user defined in the Microsoft Exchange server. 1. From the top-level navigation, choose User Administration User Mapping.

2. In the Searchfield, enter the user name of the Portal user that you want to map. 3. In the dropdown menu, select Users. 4. Choose Start. A list of matching users will appear. 5. Choose theEdit link. 6. In System, use the dropdown to select Exchange (the system alias). 7. Enter parameters for the user, password, and mail server. 8. Choose Save.

4 Using the Calendar in the Collaboration Room

Prerequisites Create a Collaboration Room with a meeting room template as described in N16 BPP document. Assign a collaboration role to the portal user.

4.1 Create an Appointment


1. From the top-level navigation, choose Collaboration Room Directory Select a Room. 2. From the Detailed Navigation, select Calendar. 3. Choose Create Appointment. An email form will appear. 4. Enter the appropriate fields. 5. Choose Send.

4.2 View/ Change /Delete Appointment


2. From Calendar iView, select Appointment. 3. Choose Delete in the Appointment form.

5 Sending Email through the Portal


The sending of e-mails is integrated into SAP Enterprise Portal 6.0 using the SAP J2EE JavaMail implementation. This implementation can send e-mails using any SMTP protocol supported groupware server.

5.1 Create JavaMail Transport


5.1.1 Transport Checklist
Number Prerequisite Comments

1.

You have configured the SMTP server appropriately.

If you want to allow users to send e-mails outside the company domain using the portal, this server must be configured to relay e-mails outside the domain.

2.

The groupware server supports IMAP protocol.

Optional. Messages sent from the portal can be stored on the groupware server only if the server supports IMAP protocol. If the groupware server does not support IMAP protocol, users cannot save copies of their messages in the Sent messages folder.

3.

All users have valid e-mail addresses in the portal LDAP.

Every portal user must have a valid e-mail address. E-mail messages cannot be sent for users without an e-mail address.

1.

From the top-level navigation, choose System Administration System Configuration Knowledge Management

Configuration Collaboration Transports Mail Transport[ 1] .


2. ChooseNew and enter parameters.

Attribute

Description Address of the SMTP server for sending e-mails. Optional parameter. Specify the folder on the server where the sent e-mail is to be stored.

Comments mysmtp.sap.corp

SMTP server Sent messages folder

Sent Items on the Microsoft Exchange server or Sent


on the Lotus Domino server. If this value is not specified, users are unable to save e-mails sent from the portal

System alias name

Alias that you defined for the groupware server in the system configuration. For more information, see the section on SAP Systems in the Connectivity Guide.

Exchange

When you have finished creating your entries, restart the SAP J2EE engine.

5.2 E-Mailing Service


The e-mailing service provides the activation mechanism for sending e-mails.

5.2.1 Procedure
1. To configure the e-mailing service, choose System Administration > System Configuration > Knowledge Management >

Configuration > Content Management > Global Services > Mailing Services from the configuration iView.
2. You then edit the default instance created and update the parameters appropriately as described in the table above in the earlier section. 3. Now save your entries and restart the SAP J2EE engine.

6 Reading Email through Microsoft Exchange iViews


Reading Email through the Portal is enabled by creating an URL iView to either Microsoft Outlook as a thick client with ActiveX or Exchange Outlook Web Access as a thin client.

6.1 Using a Thick Client


The iView connects to the Exchange Server via the Outlook installation on the desktop of the user and allows users to view and reply to email messages. The Outlook Thick Client iView displays a user's Mail, Calendar and Tasks from Microsoft Outlook's Exchange Server. This iView uses only the HTML and JavaScript. As this iView requires the Outlook installation with the user information configured on the desktop, it has limitations in its usage. You must have Outlook installed with a connection to your Exchange server from the machine being used to access the Portal.

6.1.1 Prerequisites
IIS Web Server

- Microsoft Exchange 5.5 SP4 and above - The desktop should have Outlook 2000 installed. Procedure To create an Inbox and Calendar HTML page with Outlook View Control: 1. 2. 3. Go to the server where your IIS is installed. Open Windows Explorer. Navigate to root folder of your IIS, that is C:\Inetpub\wwwroot. You may want to change the location of the files from

the IIS root to a virtual directory.

4. 5. 6. 7. 8.

Choose File New Text Document. Rename theoutlook_inbox.htmlfile. At the confirmation dialog box, choose Yes. Right-click the outlook_inbox.html file and select Open With... Copy and the paste the code below into Notepad.

<html> <head> </head> <body> <OBJECT classid=CLSID:0006F063-0000-0000-C000-000000000046 id=ViewCtlFolder width="100%" height="430"

codebase="http://activex.microsoft.com/activex/controls/office/outlctlx.CAB#ver=9,0,0,3203"> <param name="Namespace" value="MAPI"> <param name="Folder" value="Calendar"> <param name="View" value="Day/Week/Month View With AutoPreview"> <param name="Restriction" value=""> <param name="DeferUpdate" value="0"> </OBJECT> </body> </html> 9. 10. Save and close Notepad. Repeat steps 4-9 to create a calendar html page with the text document name as outlook_calendar.html and use the

following code in Notepad: <html> <head> </head> <body> <OBJECT classid=CLSID:0006F063-0000-0000-C000-000000000046 id=ViewCtlFolder width="100%" height="430"> <param name="Namespace" value="MAPI"> <param name="Folder" value="Calendar"> <param name="Restriction" value=""> <param name="DeferUpdate" value="0"> </OBJECT> </body> </html>

For the latest updates, visit Description of the Outlook 2000 View Control at http://support.microsoft.com/default.aspx?kbid=281618and the Description of the Outlook 2002 View Control at http://support.microsoft.com/default.aspx?kbid=291407. Create URL iViews to display content 1. Choose Content Administration Portal Content.

2. 3. 4. 5. 6. 7. 8. 9.

Right-click a folder to create the iViews, that is My Folder New iView.. Select URL iView radio button then choose Next. Enter values for iView Name, iView ID and choose Next. Enter the URL of the outlook_inbox.html file you created earlier and choose Next. Choose Finish. In the iView Property Editor, in Property Category, use the dropdown to select Appearance - Size. Set the height type to AUTOMATIC and choose Save. Add the iViews to a Workset, Role, and User as described in the section Create Content for your Portal of N04 Installation Guide.

10. Repeat steps 1-7 to create URL iView for the outlook_calendar.html file you created earlier. Result You have a Outlook View Control iViews on your Enterprise Portal

6.2 Outlook Web Access for Exchange Thin Client


6.2.1 Use
Users who find the restrictions of using Microsoft Thick Client unacceptable can use Outlook Web Access iViews to display Microsoft Outlook data in the portal. Outlook Web Access provides a secure way to access Microsoft Exchange data by using an Internet Browser. The important difference of this approach as against using the thick client is that this does not need a local Microsoft Outlook installation. More information on Microsoft Outlook Web Access is available on http://www.microsoft.com/exchange/owa/default.asp. SAP Note: 736644 Mandatory Steps for MS Exchange Integration SAP Note: 732911 Integrating Outlook Web Access in EnterprisePortal 6.0

6.2.2 Creating iViews to access Outlook information


1. 2. 3. 4. 5. 6. 7. 8. 9. Open the Outlook Web Access page in a browser once you have created it with Microsoft Exchange. Copy the URL from the browser. Log on to the EnterprisePortal. Choose Content Administration Portal Content. Right-click a folder to create the iView, that is bestpractices New iView. Select URL iView radio button and choose Next. Enter values for iView Name, iView ID and choose Next. Enter the URL of the Outlook Web Access you noted earlier and choose Next. Choose Finish.

10. In the iView Property Editor, in Property Category, use the dropdown to select Appearance - Size. 11. Set the height type to AUTOMATIC and choose Save. 12. Add the iViews to a Workset, Role, and User as described in sectionCreate Content for your Portal ofN04 Installation Guide.

6.2.3 Result
You have an Outlook Web Access iView on your Enterprise Portal.

Вам также может понравиться