SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

HP ALM integration with SAP Solution Manager 7.2 – Part 1

This blog will provide step-by-step guidance on how to integrate HP ALM with SAP Solution Manager.

1. Prerequisites

  • SAP Solution Manager 7.2 SP03 or greater
  • Implement ST-QCA add-on in SAP Solution Manager and activate business function SM_QC_AD
  • Upgrade/Install HP ALM depending on the SAP Solution Manager support pack level. Refer SAP note 2424894 for supported ALM versions.
  • Enterprise integration license should be obtained from HP and loaded into ALM
  • Create DEVELOPMENT, MAINTENANCE and PRODUCTION branches in ALM. There will be one-to-one association between SolMan branch and ALM project.

2. Product Versions

The below product versions are used for integration

2.1 HP-ALM

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

2.2 SAP Solution Manager

SAP Solution Manager 7.2 SP05

3. SAP Notes

Implement the SAP notes referred in SAP notes in 2437588 – PTM: Adapter SP05 Collection of Notes manually.

Note: There will be an independent central note for each support pack of SAP Solution Manager 7.2. Implement the notes referred in the relevant central note.

4. Enabling Enterprise Integration functionality in HP ALM

Enable the following extensions in ALM Site Administration for every project (Development, Maintenance and Production) that requires Enterprise Integration.

Enable the extensions in the following order:

  • the Application Model extension
  • the Enterprise Integration for SAP applications extension

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

5. Test Suite Preparation

Login to SAP Solution Manager

Go to transaction SOLMAN_SETUP –> Test Suite –> Test Suite Preparation

Execute the automatic activity in Step 1.1 Activate Test Suite Services

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Go to step 2.5 Analytics, Save the default values for extraction settings and activate BW content for test suite

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Note: The time zone and extraction from date can be changed by selecting Initialize checkbox

6. Create Users

6.1 HP ALM

Create EI_INTEGRATION_USER in HP ALM and assign it as an administrator for all ALM projects (Development, Maintenance and Production)

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

6.2 SAP Solution Manager

Navigate to Partner Test Management guided procedure in SOLMAN_SETUP

Go to step 2 Create technical users and create all users

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

7. Setup SSL and SAML Authentication

7.1 Enable SAML 2.0 in SolMan

Login to SAp Solution Manager

Run transaction SAML2

Click on Create SAML 2.0 Local Provider

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Enter provider name <SolMan SID>_SAML and click on Next

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

No need to make any changes in Step 2. Click on Next button to go to step 3

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Do not change anything in Step 3. Click on Finish

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Make sure the status is Enabled

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

7.2 Export SSL and SAML Certificates in SolMan

Go to transaction STRUST. Choose the server in node “SSL Server Standard”

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Double click on subject entry

Go to edit mode and select “Export Certificate” option to export the SSL certificate

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Select Binary format

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Similarly export the SAML certificate under “SSF SAML2 Service Provider – S”

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

7.3 Export HP ALM SSL certificate

Open the Dev HP-ALM URL in chrome. Click on “Not Secure” warning in URL Bar and click on “Invalid” link under certificate

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Under details tab click on Copy to file button and Export the certificate.

Refer the below blog on how to export SSL from IE or Chrome

http://docs.bvstools.com/home/ssl-documentation/exporting-certificate-authorities-cas-from-a-website

7.4 Enable SAML in ALM

Go to HP ALM installlation folder at OS level and execute Run_EI Configurator file

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Click on Next

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Click on Next

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Click on Trust button

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Select the SolMan SSL certificate

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Set Alias as <SolMan SID>_SSL

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

The created alias should appear under SSL Trust Manager. Click on Next

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Click on Next

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Make sure Incident/Defect Integration and Solution Documentation/Requirement integration checkboxes are selected. If it is not selected, then select it and click on Apply.

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Click on Next

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Under SAML Trust manager, click on “Trust” button to upload the SolMan SAML certificate

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Select the SolMan SAML certificate

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Provide Alias name for the certificate (<SolMan SID>_SAML)

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Make sure the Alias entry is available and proceed with next step

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Click on Create to create a SAML certificate in ALM

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Provide required information as below and click on OK

Alias: ALM_SAML

Relevant value for other fields

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Click on Yes to create the SAML certificate

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

This will create a SAML certificate in ALM

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Select the entry and click on Export button to export the SAML certificate

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Save the certificate to your local machine

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Click on Next

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Under SAML providers, click on Add to trust SolMan requests

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Provide the below details

System ID: <SolMan SID>

Issues: HPEI_<SolMan SID>

Solution Manager User: SM_HPCOM

Signature User: alm_saml (which we provided earlier)

Encryption User: <SolMan SID>_SAML

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Click on Yes to update the SAML provider entry

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Click on Next

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Click on Next

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Restart ALM server

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

7.5 Upload ALM SAML Certificate in SolMan

Go to transaction SAML2

Go to trusted providers tab and Change the Trusted Provider to “Security Token Services” & click on “Add – Manually”

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

The name should be same as the issuer name we provided in HP-ALM

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Browse for primary signing certificate, select HLM SAML certificate and click on OK

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Go to edit mode, click on ADD under identity and select unspecified

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Choose supported version as SAML 1.1

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Save and Enable the trusted service provider

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Result

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Go to transaction STRUST

Import the ALM SSL certificate under “SSL Client SSL Client (Standard)” by choosing Import –> Select the certificate from your desktop –> Click on Add to Certificate List

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Similarly upload the SAML certificate under “SSF SAML2 Service Provider – S”

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Save to notify ICM

7.6 Setup Web Service Security

Go to Step 3.3 Enable SAML in SAP Solution Manager

Click on Start Transaction link under setup web service security activity

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Uncheck Test Run and Execute

Make sure the execution is successful

SAP Solution Manager, HP ALM Integration, SAP Certifications, SAP Guides

Leave a Reply

Your email address will not be published. Required fields are marked *