Duet Enterprise is a combined effort from SAP and Microsoft for SAP and SharePoint seamless integration.
Duet Enterprise supports both SharePoint on-premises and online.
The following is the procedure for SharePoint on-premises.
Prepare SharePoint
- Open SharePoint Central Administration.
- Create a web application with Claims-Based authentication. Don't create a site collection.
- Extend the web application with SSL set to Yes and a different port number (PORTNO).
- Change the public URL to fully qualified (http://<servername or domain>.wdf.sap.corp:PORTNO
- Open IIS then confirm that the sites are created.
- Generate Server certificates from IIS (self-signed certificate).
- Export the certificate and share it with SAP Admin.
- Go to website (extended site) at IIS.
- Edit the bindings.
- Map the SSL Certificated exported.
- Export the second certificate required by SAP Admin (STS Certificate).
- Open the command prompt mmc.
- Seelct File -> Add/ Remove more snap ins:
- Select certificates.
- Select Computer account.
- Select local computer and click OK.
- Expand Certificates, then go to SharePoint and select Certificates.
- Select the SharePoint security token service certificate, export to a file and save it on disk.
- Now install Duet enterprise content for SharePoint (Setup.exe).
- The preceding activity will copy the required files to C:/Program Files / Duet Enterprise.
- Under that you can find SAP Service models (BDC models) that will be uploaded to SharePoint.
- Open command prompt.
- Navigate to C:/Program Files/Duet Enterprise/VersionNo (1.0). (Note: the directory path will differ in your system.)
- Enter DuetConfig.exe /install.
- That's it.
- Now send the two certificates files and SAP Service Model (BDC files) to SAP Admin.
Getting Data into SharePoint
- Once you receive the files from SAP Admin, as the first step we need to generate a secure store service key.
- Go to SharePoint Central Administration, then System settings and click Manage service applications. Then select secure store service application.
- Click Generate key on menu.
- Enter pass phrase and click OK.
- Once done, import the SSL certificate received from SAP Admin.
- To do that, go to Central Administration, then click Security and select manage trust under General security.
- Click New and import the SSL Certificate sent by SAP Admin.
- Select the file and vlick OK.
- Go to C:/tmp.
- Extract the BDC.zip file and you will see all the models that we want to import.
- Open command prompt.
- Navigate to C:/program files/Duet Enterprise/1.0.
- Run DuetConfig.exe /importbdc c:/tmp/BDC/models.xml /addusers “nt authority\authenticated users” username <SAPAccount> /password <password of SAP> / email <emailaddress>.
- When the models are successfully imported, we can continue with the configuration.
- Run Notepad for DuetConfig.exe.config.
- Modify the key ReportPublisherAccount and ReportPublishingURL of SAP in this config filee.
- Change the ServiceAccount of SAP workflow in config file.
- Run DuetConfig.exe /configuresolution “Reporting” /weappurl http://<web app where to import>.
- Once done for report, continue for workflow import if required.
- Run DuetConfig.exe /configuresolution “Workflow” /weappurlhttp://<web app where to import>.
- Follow the same for ProductWorkspace if required.
- Run DuetConfig.exe /configuresolution “ProductWorkspace” /weappurlhttp://<web app where to import>.
- Follow for OrderToCash if required.
- Run DuetConfig.exe /configuresolution “OrderToCash” /weappurlhttp://<web app where to import>.
- Follow for Customer workspace if required.
- Run DuetConfig.exe /configuresolution “CustomerWorkspace” /weappurlhttp://<web app where to import>.
- And finally portal.
- Run DuetConfig.exe /configuresolution “Portal” /weappurl http://<web app where to import>.
- Restart IIS.
- Go to SharePoint Central Administration and create new site collection based on the new Duet Enterprise template (Duet Enterprise Sites).
- Open the site, you can view all the data and workspace for customers, products, reports Center and tasks center.
- Finally you need to handover two URLs to the SAP Admin.
- The first URL is for reporting and receiving site.
- The second is for the workflow URL service along with service accounts configured in the atduetconfig.exe.config file.
- End.