Atlanta .NET Regular Guys

Community Blog for two guys in Atlanta that focus on Microsoft and Community.

Quick About

This is the community blog for Brendon Schwartz and Matt Ranlett.  If you want to see their technical posts visit http://www.sharepointguys.com

Back To DevCow

Recent Posts

Tags

Email Notifications

    Archives

    Using SAP iViews with SharePoint 2007

    One of the easiest ways to integrate SharePoint 2007 to SAP is using a predefined iView from SAP.  Of course this will display the same data and view that you would see in any other system that would display an iView, but it is a good start without any extra coding.

    1. First add an IView web part to the page.

      image
    2. The next step seems like it should be easy.  Open the tool pane and select the trusted SAP portal server as well as the iView. 
      image
    3. The problem is that the first time you are setting up your server you will get an error "No SAPĀ® servers are configured for this site. Contact your administrator to configure trusted SAPĀ® servers."  Don't worry you just need to set up your SAP server locations. 
      image
    4. To set up the SAP server create a configuration file with the web location of the SAP server and the SSO application.  If you have the default installation of MOSS this will be under the folder C:\Program Files\Microsoft Office Servers\12.0\Config.  You will notice there is an example configuration file named TrustedSAPHosts.xml.sample, just rename the file to TrustedSAPHosts.config.  This will allow SharePoint to find the registered SAP servers.
    5. Inside of the xml configuration file there are two elements that have to be set: ServerURL (The server with port number of the SAP Server) and the SsoAuthentication (The SSO application in Central Administration site)

      <!-- This is from the config file -->
       <Server Name="SAPServer">
          <ServerURL>http://SAPServer:50100</ServerURL>    
          <SsoAuthentication Name="SAP"/>
       </Server>
    6. Now go back to the web part and open the tool pane once again.  Simply select the SAP server to use and type in the name of the iView to display.

      image

    Comments

    balmiki said:

    Hi,

     I have been working on SAP integration with MOSS 2007 system. But while configuring my MOSS server I do not find the "TrustedSAPHosts.config" file or the sample "TrustedSAPHosts.XML.sample" file under the CONFIG folder. Can anybody please tell me what could be the reason? I have created a config file manually but it does not seem to work, showing an error that SAP host not configured(in the iView webpart in MOSS)

    Can somebody send me a sample file?

    email me at balmiki.ghosh@gmail.com

    # August 8, 2008 9:48 AM