Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

ServiceNow SAM Pro integration with SAP (S4 HANA) licenses issue.

Tung
Tera Contributor

 

Hi All,

I have an integration between SAP and ServiceNow SAM Pro.

The SAP connection has been successfully configured.

Tung_1-1789615229672.png

 

SAP users have been populated in the SAP System User table along with their assigned roles.

Tung_0-1789614969408.png

Software Models

  • SAP Named Users S/4HANA Developer Access
  • SAP Named Users S/4HANA Enterprise Management for Functional Use
  • SAP Named Users S/4HANA Enterprise Management for Productivity Use
  • SAP Named Users S/4HANA Enterprise Management for Professional Use

Name user type :

Tung_2-1789615438741.png

Software Entitlements

Tung_3-1789615615361.png

After running reconciliation, I expected the License Required count to be calculated for all of the following software models:

  • SAP Named Users S/4HANA Developer Access
  • SAP Named Users S/4HANA Enterprise Management for Functional Use
  • SAP Named Users S/4HANA Enterprise Management for Productivity Use
  • SAP Named Users S/4HANA Enterprise Management for Professional Use

However, the results show license requirements only for:

  • SAP Named Users S/4HANA Developer Access
  • SAP Named Users S/4HANA Enterprise Management for Professional Use

I would have expected SAP Named Users S/4HANA Enterprise Management for Functional Use and SAP Named Users S/4HANA Enterprise Management for Productivity Use to also have license requirements calculated.

Tung_4-1789615855511.pngTung_5-1789615871973.png

Tung_6-1789615892973.pngTung_7-1789615912874.png

 

 

Has anyone encountered this issue before, or can anyone provide advice on what might be causing this behavior?

Additionally, could someone explain how ServiceNow SAM Pro calculates the required licenses for SAP users? I would like to better understand the logic and rules used to map SAP user types, roles, and authorizations to the corresponding SAP Named User licenses. Any documentation, examples, or guidance on how the license calculation works would be greatly appreciated.
 

Thank you in advance for your help.

1 REPLY 1

pr8172510
Kilo Sage

 

Hi @Tung,

 Investigate the SAP Named User Type classification/mapping, rather than the entitlement quantities.

For SAP Named Users, ServiceNow reconciliation determines the appropriate Named User license for an SAP System User based on the user's highest level of access.
If a user does not have a Named User assignment, the default Named User Type configured for the SAP integration is used.

 check the following:

1. Check Named User Type → SAP Role mappings

Verify the role mappings for:

  • SAP Named Users S/4HANA Developer Access
  • SAP Named Users S/4HANA Enterprise Management for Functional Use
  • SAP Named Users S/4HANA Enterprise Management for Productivity Use
  • SAP Named Users S/4HANA Enterprise Management for Professional Use

ServiceNow provides the Named User Type Role table (samp_named_user_type_has_role) for roles assigned to each Named User Type.

2. Check the actual roles assigned to the SAP users

Verify the relationship

SAP System User
      ↓
SAP User Roles
      ↓
Named User Type / Role Mapping
      ↓
SAP Named User classification
      ↓
Reconciliation Result
The SAP publisher pack stores SAP System Users, SAP Roles, and SAP User Roles in:
samp_sap_system_user
samp_sap_role
samp_sap_user_has_role

These tables contain the discovered users, roles, and user-to-role assignments.

3. Check USMM Role Optimization

If Use USMM Role Optimization is enabled on the SAP Connection, also check the USMM Named User classification for the affected users. ServiceNow supports SAP USMM data and role-based optimization as part of the SAP license-management process.

4. Trace one affected user

Pick one SAP user who you expect to consume Functional Use or Productivity Use and trace:

SAP User
→ Assigned SAP Roles
→ Role/USMM mapping
→ Named User classification
→ Corresponding Software Model
→ License Metric Result
If the affected users are not being classified as Functional Use or Productivity Use, those software models can show 0 Licenses Required, even though the corresponding entitlements exist.

Your screenshot showing Licenses owned = 1270 and Licenses required = 0 for Functional Use is therefore useful: the entitlement exists, but the current reconciliation result is not consuming those rights against that software model.

 not expect SAM Pro to distribute users across all four software models simply because all four entitlements exist.
The SAP user's resulting Named User classification determines which license position is consumed.

Also, transaction-code activity is a separate optimization mechanism. ServiceNow documents role-to-Named-User-Type mapping and transaction-code activity as SAP license optimization mechanisms, so  verify the Named User classification and role mapping first for this particular issue.