SAP Knowledge Base Article - Public

2982477 - How To Propagate HRIS Element Field to Custom MDF Object

Symptom

How to Propagate HRIS Element field to Custom MDF Object

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 HXM Suite
  • Employee central - Metadata framework (MDF)

Resolution

Example:

Propagate Job Information Field to Custom MDF Object Field

EC - Job information

Via UI- BCUI

  • Go to job Infos
  • field:job-title

Code Field:

  <hris-field max-length="256" id="job-title" visibility="view" allow-import="true">

        <label>Job Title</label>

        <label xml:lang="en-GB">Job Title</label>

         </hris-field>

Custom MDF Object Field

  • Go to Object definition
  • select Custom MDF Object 
  • Create string field

2mdf.PNG

1mdf.PNG

Create Rule

  • Base object: Custom MDF
  • Example: cust_TemporaryAssignment

3mdf.PNG

Add Rule under: Custom MDF - Field: effectiveStartDate

To achieve this requirement, we can put the rule on "effectiveStartDate" field as an onChange rule. This field is initiated when we click on the Edit button (Pencil Icon) and hence the values will be fetched and set the moment portlet loads up for the data entry.

4mdf.PNG

Test

Step 1: Job Infos

  • Go Test user Job Infos- Job title
  • Edit
  • Change value: 
  • Save

Step 2: This field is initiated when we click on the Edit button (Pencil Icon) and hence the values will be fetched and set the moment portlet loads up for the data entry.

  • Go to Custom MDF Object portlet in UI
  • Click edit- (Pencil)
  • Save

Note: This will only work with MDF objects whose external code is data type user.

See Also

2562069 - Custom MDF Object based business rules - Parameters and other related information.

2544336 - Custom MDF workflow and its behaviors depending on Pending Data = Yes/ No.

Keywords

rule, Propagate, Job Information, Field, Custom MDF Object, onchange, externalcode , KBA , LOD-SF-EC-MDF , MDF & EC2MDF Migration , LOD-SF-EC-JOB-RUL , Job Info Business Rules , How To

Product

SAP SuccessFactors HXM Core 2011