Skip to Content
Technical Articles
Author's profile photo John Bethany Salonga

Using apiOptionProfileID in SAP SuccessFactors Integration Center to Update, Insert or Upsert User Data (2H2020 Update)

This blog post describes the step by step usage of apiOptionProfileID parameter with SAP SuccessFactors Integration center for the ff use cases (1) Sending Welcome email message to new users, and (2) Processing Inactive Employees via Inbound Integration Center Job

Background

apiOptionProfileID is a custom option supported by the API for the User Entity. It helps creates a profile with various options that can be enabled such as “Send welcome email to new users”, “Process inactive employees”. and so on. This option can now be used while performing an insert/upsert into SAP SuccessFactors from Integration Center.

 

Permissions Required :

  • Access to Integration Center permission must be granted.

  • Access to API Option Profile permission must be granted.

Prerequisite Configuration :

  • API Option Profile with appropriate options enabled must be created using Manage API Option Profile.

 

Use Case 1 : Send Welcome Message

Choose ‘Send welcome email to new users‘ option if you want the system to automatically send welcome e-mails to users when they’re created.

Note : If you choose system-generated passwords when creating users, this option is required so users can reset their passwords through a link in the e-mail.

Steps :

  1. Create CSV file for Importimportcsv
  2. Create API Option Profile in ‘Admin Center‘> ‘Manage API Option Profile. in ‘Manage API Option Profile’ and tick on Send welcome email to new users. Save this, in my case I used ‘TEST’ as the profile ID, remember this. Note : Know more about this topic in “Manage API Option Profile
  3. Create an Inbound Scheduled CSV Integration
    • Select ‘Scheduled CSV Input Integration’, then import the test csv file created in Step1,  and In Configure Fields after Mapping the required Input fields via ‘Fields Mapping View’. Put your ‘API Option Profile ID’ created in Step 2, in ‘Destination fields’ > API Option Profile ID. See below
    • You can test by going to ‘Configure fields’ and click on ‘Run Preview Records‘ . It should show as ‘check’ in the result status.
  4. Check the recipient email and see Welcome email of the Newly created User. 🙂

Use Case 2 :  Process Inactive Employee of an Inbound Integration Center Job

This option allows you to edit employees in inactive status by referencing API parameter processInactiveEmployees

Steps :

  1. Create a csv file for import and upload this as sample CSV for reference. Notice that one of the sample employee has status ‘ f ‘ (inactive) to demonstrate the usage of processInactiveEmployees parameter
  2. Similar to the 1st use case, edit the ApiOptionProfile settings from previous and select ‘Process in Employees’ option as shown below, then click save.
  3. Creating the Integration Center Job
    • Select ‘Scheduled CSV Input Integration’ and In Configure Fields after Mapping the required Input fields. Put your ‘API Option Profile ID’ created in step 2, in ‘Destination fields’ > ‘API Option Profile ID’. See below
  4. Test run the integration by selecting ‘Run Preview Records’ from Configure Fields edit section of your test integration.

Note : If the ‘Process Inactive Employees’ parameter was not selected and enabled in the List of API Option Profile in ‘Manage API Option Profile’, System will prompt below error when the integration is executed.

 

CONCLUSION

Appreciate that you reach the end of the blog, referencing the steps in this post, the user can start building automated inbound integration jobs in Integration center with additional parameters like automatic welcome mail and process of inactive users which were not possible prior 2H2020 Release version update of SAP SuccessFactors Integration Center. Such feature were only available in Package Integrations, Middleware Integrations or custom developed interfaces if using SAP Succesfactors User Odata API Entity or via Scheduled Job in Provisioning.

Please do leave your questions or comments for any clarification about the instructions or post questions in SAP Community Q&A

And in any case that you have found this blog post helpful, click on the like button, comment and share to your colleagues.

Regards from SAP Philippines
John

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Alessandro Arcari
      Alessandro Arcari

      Dear John,

      thanks, for all details,

      just a simple additional question deactivating a user that is setting status to "f" and reactivating it "t" does trigger the welcome message? it seems not can you confirm?

       

      Thanks

      Alessandro

      Author's profile photo John Bethany Salonga
      John Bethany Salonga
      Blog Post Author

      Hello Alessandro

       

      Thank you for reading the article. No, welcome message are sent only for 'New' users. This blog shows two use cases as example.

       

      Regards

      John