Human Capital Management Blogs by SAP
Get insider info on HCM solutions for core HR and payroll, time and attendance, talent management, employee experience management, and more in this SAP blog.
cancel
Showing results for 
Search instead for 
Did you mean: 
karenperez
Product and Topic Expert
Product and Topic Expert
INTRODUCTION

Very often we hear the requirement ‘How to automatically grant the substitute permissions during a replacement period in SuccessFactors’? We know that currently there is no standard solution for this, but there are alternatives and that is what this blog is about.

In this blog, you will find effective ways to accommodate this requirement using standard SuccessFactors functionalities.

USE CASE

A customer tells us that when, for example, a manager is on leave, there is usually a need to assign a replacement to carry out his/her activities, not only approve workflows (as this functionality does exist through 'Auto delegation') but rather to carry out promotions, transfers, etc, during a specific period.

In SAP On-Premise, the customers use the Substitution functionality to record when this manager is on leave and who will replace her/him. This blog will provide two possibilities to assign the necessary permissions to substitutes considering two scenarios: 1. Create the substitution process in SuccessFactors and control it all in the platform, or 2. Maintain the current ERP configuration and create integration between ERP and SuccessFactors.

SOLUTION PROPOSED

  1. Recreate the Substitutions form in SuccessFactors


The proposal here is for customers that require to maintain/control everything in Successfactors once Employee Central becomes the Primary data source. From this perspective, a custom object needs to be created to accommodate customer requirements. Is a must to create a ‘From parent’ object because each employee can substitute more than once during her/his employment time. Also, a UI will be required to organize the fields/sections as per the customer requirement and to be added to the ‘Configure People Profile’ later. For all details about how to create ‘From Parent’ objects and UIs, please refer to the Employee Central Implementation Guides.

Below there are two Custom MDF Object samples of how this Substitution portlet can look like (The fields, rules, etc will depend on your customer's requirements, so please see this image as a sample only).

Example 1: More complex requirement with several fields


Image from Demo: Sample custom MDF object 1


Example 2: Simple requirement, only a few fields to allow us to control the permissions assignment/removal


Image from Demo: Sample custom MDF object 2


After we have the objects and UI created, we need to go to the next steps that will be how to capture this data and use it to automatically assign the permissions to the substitute.

Here we are proposing the use of the standard functionality Proxy.

Currently, there is an option to import massively all proxy assignments/deletions and this can be achieved under the ‘Proxy Import’ transaction.

From this page, you can download the template and import the filled file.


Image from Demo: Proxy Import Functionality


The problematic point here is data customers do not want to perform this manual task every time that there is a new proxy (substitution) assignment/deletion and because of this we are proposing to use the same option available but under-provisioning ‘Manage Schedule Jobs’*.


Image from Demo: Provisioning Manage Scheduled Jobs


Before we check the provisioning job settings, let’s talk about how to extract the data in this ‘Proxy Import’ template format. For this, we will use the Integration Center, described in the steps below.

STEP 1: Create a new ‘Scheduled Simple File Output Integration, as per the image below.


Image from Demo: Creating an Integration Center template


STEP 2: Search for the ‘child’ object that you create and select all the fields that you may need to do the mapping.


Image from Demo: Selecting table in Integration Center


STEP 3: In the ‘Options’ tab, give your Integration template a name, description, and define the output file type equal to ‘CSV’ and the Header type equal to ‘Simple Header’. Do not forget to save your template.


Image from Demo: Defining name, description and format of the IC template


STEP 4: In the ‘Configure Fields’ tab, you will see a template with the fields that you selected before, but now we need to create it in the same format as the ‘Proxy Import’ template. An easy way to do it is to click in the ‘+ Add’ icon and select ‘Destination from Sample CSV File’.


Image from Demo: Importing the template format


Select the downloaded template from the ‘Proxy Import’ transaction and click ‘Upload’.


Image from Demo: Browsing and uploading the template


The result will be the imported template showing as below, without any value for now:


Image from Demo: Result after importing the template


STEP 5: Switching to the ‘Mapping View’, you will need to do the mapping between your template and your Custom MDF. To do this, just drag and drop the fields from the left able to the central table and the results will show on the right side.

Here I am mapping only the needed fields that are:

USERID: The user ID of the user who you are proxying in ON BEHALF OF;

PROXYID: The user ID of the user who will PROXY AS the column A's user;


Image from Demo: Integration Center Mapping View


STEP 6: The other 2 important fields in this blog scenario that needs to be mapped are: ‘All’ and ‘Remove All’. These fields will grant full proxy permissions or remove it completely. For these two fields, we will use the calculated option to define the permissions. In the ‘Detail View’ tab, select each field at once and click in the ‘Set as Calculated Field’ icon.


Image from Demo: Creating a calculated field


Here we are using the ‘Active’ field from the Custom MDF, so if it is equal to Yes (1) it will populate ‘YES’ in the ‘All’ column, else it will be empty.


Image from Demo: Calculation Details


This following calculated field is the mapping for the ‘Remove All’ column, so if the ‘Active’ field is equal to No (0) it will populate ‘YES’ in the ‘Remove All’ column, else it will be empty.


Image from Demo: Calculation Details


STEP 7: Go to the ‘Detail View’ tab to see the results of your columns (in the example below we have values because it was previous created for some employees in the People Profile).


Image from Demo: Integration Center Detail View


In case the customer requirements are to assign only specific permissions as performance, recruiting, etc, you will need to adjust the calculated fields to consider it depending on each case (maybe additional fields will be required in your custom object to record it and be used as criteria in the Integration Center).

STEP 8: Now that the template is created, and you got the expected result you just need to jump to the ‘Destination Settings tab and define the SFTP information.


Image from Demo: Integration Center Destination Set Up


STEP 9: Finally, the last step is to schedule the job, under the ‘Scheduling’ tab, based on your customer requirements.


Image from Demo: Integration Center Scheduling


Below is a sample of how this job export result will look like:


Image from Demo: Export Results Sample


For now, we have our Custom MDF created, the Integration export job set up and we just need to create the Provisioning ‘Proxy Import’ job to complete our configuration. Below are the steps to do it.

 STEP 1: In the Manage Scheduled Jobs, you will need to click in ‘Create New Job’:


Image from Demo: Provisioning Create New Job


STEP 2: Define the Job Name, Owner, and select the ‘Proxy Import’ in the Job Type. Also, you will need to fill in the SFTP credentials, the file path, and the name.

Setting up the Job Occurrence will depend on the customer requirement, but the available options are daily, weekly, Monthly, and Yearly.


Image from Demo: Provisioning Job Set up


After creating the job, you can submit based on the Integration Center job scheduling.

For more details about how to enable the Proxy Import feature, please review this KBA.

  1. Substitutions process remains in ERP with integration to SuccessFactors


If the customer decided to maintain the Substitution process in ERP it will not require any Custom MDF creation or Integration Center template, but it will be necessary an ABAP development from the customer side, to build a report that will export the substitution data in a CSV file and place it in the SFTP folder defined in the provisioning job to be consumed by SuccessFactors.

The details about this development will not be covered in this blog because we all know that this development may vary from one customer to another since the customer can have a custom infotype or any changes to the standard, for example.

2.1 Alternative Option

As an alternative, you can opt to use CPI to call out this data in ERP but it will require an integration effort.

How to set up this CPI integration could be a topic for another blog as all the technical details would be required to be shared/explained.

CONCLUSION

This blog post described how we can accommodate the ‘granting permissions to substitute employees’ process in SuccessFactors using the standard functionalities.

With the proposed solution we bring to our customer an alternative for a process that is currently not designed in the standard platform.

Looking forward to your comments and questions.

 
*For you to create this job, you will require provisioning access
17 Comments