Skip to Content

This blog explains how to add country specific field to SuccessFactors Employee Central MDF object Position and integrate it with SAP ERP.

Scenario

You use  SuccessFactors Employee Central as a master system to manage Positions. EC Position Management is switched on.

The EC Positions are replicated into SAP ERP system using the prepackaged integration EC – ERP Position Replication.


To support country specific requirements you need to add country specific information to the Position.

You would like to add the additional country specific attribute to EC Position, replicate it to SAP ERP and post it to the SAP ERP infotype.

In the example below I add the Indicator for Hazardous position as a country specific field for USA.

You need to process the following main steps:

  • Add custom specific field in Position object in EC
  • Ensure that the oData API is refreshed in EC
  • Use Business Add-In (BAdI) to post the field to ERP infotype in SAP ERP

Add custom specific field in EC Position MDF (Metadata Framework) object


  1. In EC system  go to Admin Tools -> “Configure Object Definition”
  2. Select “Object Definition” and “Position”

P1.png

  3. Make Correction

P2.png

  4. Add a new custom field e.g. cust_hzd_ind (Indicator for the Hazardous position).

  5. Choose the Data Type e.g. “Boolean” for the Indicator (True/False)

P3.png

  6. Go to “Details”

  7. Enter Label e.g. “Hazardous position”

P4.png

  8. Go to “condition”

  9. Enter fieldId “company.countryOfRegistration.code” and value e.g. USA for Unitied States.

P5.png

This condition will provide field for “Hazardous position” indicator once the Position is created in United States.

10. Click on “Done” and “Save”.

Ensure that the oData API is updated


Go to Admin Tools -> OData API Metadata Refresh And Export

11. Click on “Refresh”

P6.png
















Test the new Indicator field while creating a Position in EC


12. Go to “Manage Data” -> Create New Position

P7.png

13. Assign Position to the US Company. Field ““Hazardous position” display.

P8.png

14. Set indicator to “Yes”.

15. Save the Position.


If you configured the prepackaged integration for the Position replication, the created Position will be replicated into SAP ERP system.


Check field in Inbound service interface PositionReplicationRequest_In


16. Go to the SAP ERP system.

17. Call Transaction SRT_MONI

18. Check Inbound Message of Interface Name “PositionReplicationRequest_In”

You will find custom Field (cust_hzd_ind) and Field Value (true) under node “SourceDataModelExtensionFields”.

P9.png


Use Business Add-In (BAdI) to post the field to ERP infotype


19. Use BAdI EX_SFIOM_PROC_CUSTOMER_FIELDS Interface IF_SFIOM_PROC_CUSTOMER_FIELDS to post the custom field in SAP ERP infotypes.  The custom field is available in import table it_osi_details_custfext.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply