Go Back   Wiki NewForum | Latest Entertainment News > Career Forum & Tips > SAP HCM Forum


Resolved: Assign new MDF object to Employee with multiple instances


Reply
Views: 77  
Thread Tools Rate Thread Display Modes
Payroll Time OM & PA Portal Payroll Fixes Career Tips SuccessFactors
  #1  
Old 04-21-2021, 10:29 AM
welcomewiki welcomewiki is online now
Member
 
Join Date: Dec 2008
Location: India
Posts: 83,890
Default Resolved: Assign new MDF object to Employee with multiple instances

Question:


I have a question regarding connecting a new MDF object for the employee profile:
I have created a new MDF object and assigned it successfully for the employee profile. However, I wish that each employee may have simultanousely several records of this object (just like the possibility to add an employee several nationality records under the “National ID Information” portlet).
Is it possible? and if so – how? (I know It's possible by Associations, but the problem is I don't have a Parent object to associate the new MDF object with).
I know it’s possible by using the background elements, but this option is not suitable for me becuase I also need to set different permissions for this object’s fields (which is not possible doing by background elements).
Reply With Quote
Payroll Time OM & PA Portal Payroll Fixes Career Tips SuccessFactors
  #2  
Old 04-21-2021, 10:30 AM
welcomewiki welcomewiki is online now
Member
 
Join Date: Dec 2008
Location: India
Posts: 83,890
Default

Solution:

Today I will be discussing how to create a custom MDF Object that allows you to create multiple records with effective dates. The use case I recently had was where a custom MDF is required to capture qualifications, since the background element doesn’t provide me with the functionality I need, like field level override permissions among others. I am also then able to leverage workflows and require attachments for qualification records with the solution at the end of the day. In terms of the solution, TWO custom MDF objects are actually needed. One parent custom MDF {let’s call it Qualification}, that basically acts as a holder for the multiple child records, which is the second custom MDF {I have called it Add Qualificaiton} with the various fields and picklists that make up the entry.

As a note, you only need to create a custom UI for the Parent Object. With this custom UI created, you can now go to Configure People Profile and add the Live Profile MDF Information block.
Since I have a need for multiple qualification records to be added (like a high school certificate, a diploma, doctorate, etc.), I have configured the Associations on the Parent MDF, with One to Many multiplicity and my second MDF Object as the Destination.
I also only secured the Parent Object since it is not possible to create child entity records either in the People Profile or via Manage Data.
Lastly, I also created a workflow for approval and added it only to the Parent Object’s Save Rules.
The intended consequence is that I can now add multiple qualifications on different effective dates to an employee’s profile, and they trigger a workflow for approval.

Trust you would find this helpful, and as always, feel free to comment, correct or ask questions if you need assistance to make this solution your own.


Reply With Quote
Reply

Latest News in SAP HCM Forum


Thread Tools
Display Modes Rate This Thread
Rate This Thread:



Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2021, vBulletin Solutions, Inc.