SAP Knowledge Base Article - Public

3738137 - How to Hide the Primary Emergency Contact Address of an Employee from Their Manager

Symptom

How to hide employee's primary emergency contact address from their Manager?

Is there any permission available to hide the primary emergency contact address?

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental." 

Environment

  • SAP SuccessFactors HCM Suite
  • SAP SuccessFactors Employee Central

Reproducing the Issue

  1. Proxy as employee’s manager
  2. Go to employee’s profile
  3. Manager can see employee’s primary emergency contact address
     

Cause

The visibility of the primary emergency contact address is not controlled via Role-Based Permissions (RBP).

Resolution

It is not possible to control the visibility of the primary emergency contact address via permissions.

As a workaround, you can use an onView business rule to control the visibility.

Create Business Rule:

Go to Configure Business Rules

  1. Create a new rule 
  2. Select Base Object: Primary Emergency Contact Model
  3. Choose Scenario: Trigger onView rules for HRIS Elements

 

Create Permission Group:

  1. Go to Manage Permission Groups
  2. Create a group 
  3. Include the users for whom you want to grant access to view the employee’s primary emergency contact address (for example: SFADMIN, HR Admin, etc.)


Steps to Assign Rule:
 

  1. Go to Manage Business Configuration (BCUI)
  2. Navigate to emergencyContactPrimary
  3. Assign the created rule under onView Rule




Note:

It is not possible to fully hide both employee address and primary emergency contact address due to system design.

For the rule to work as expected, the manager must have permission to view the employee’s address; otherwise, the rule may not behave as intended.
In such cases, system may show errors in rule trace like:
"Could not perform set for 'emergencyContactPrimaryModel.emergencyContactPrimary_isAddSameAsEmployee.visibility' because the context object is null"

 


 

Keywords

Address, Primary Emergency Contact Address, Business Rule, Manage Business Configuration (BCUI), Permission Group, Role-Based Permissions (RBP), Context Object Null

  , KBA , LOD-SF-EC-PER-ECO , Emergency Contact Details , How To

Product

SAP SuccessFactors HCM Core 2511