SAP Knowledge Base Article - Public

2861229 - Latest entry on child object appears on the Top instead of Bottom [Custom MDF]

Symptom

While adding new child record in custom MDF portlet, it appears on the top instead of on the bottom

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 HCM Suite
  • Metadata framework (MDF)

Reproducing the Issue

  1. Go to Manage Data/ Portlet of MDF Object
  2. Insert a new record or Edit an existing record
  3. Add another record on Child object and save
  4. Notice that the latest record is appearing on the Top of first or previous record of Child object

Cause

Allow Reordering switch on child object associated to parent is set to No

Resolution

  1. Go to Admin center and search for Configure Object Definition
  2. On first drop down, select Object Definition
  3. Search for the affected MDF Object
  4. Click on Take action and Make correction
  5. Go to Assocation section and click on details
  6. Look for switch Allow Reordering

Note: Setting it to Yes will make the first entry appear on the Top and latest entry appear at the bottom. Option to reorder is available on Manage Data
         Setting it to No will make the latest entry appear on the Top while first entry appear at the bottom. No Option to reorder entries in Manage Data

In case you have a custom UI set for the object, please verify that the Manage UI > Control Options > Rearrange Records field for the associated UI is set to Yes.

Keywords

Allow Reordering, Reorder MDF object, Reorder Child record, Child record, latest Child record appear on Top, sort, MDF, object , KBA , LOD-SF-MDF-OBJ , Object Definition & Field Related Issues , LOD-SF-MDF-UI , UI Config, Layout & Rules , How To

Product

SAP SuccessFactors HCM Suite all versions