SAP Knowledge Base Article - Public

2207977 - Editing an MDF Object results in error "change is not allowed during Insert operation!. ."

Symptom

  • Unable to edit data for the external code field in the MDF child object while creating a new effective dated record.
  • Error "change is not allowed during Insert operation!. ."

"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

Reproducing the Issue

Edit an Child Object changing the external code, the following error appears "change is not allowed during Insert operation!. ."

Cause

The error "change is not allowed during Insert operation!. ." occurs when parent object "Effective Dating" field is set to "Multiple Changes Per Day", since the child MDF Object is using the externalCode field as any other standard or custom field that can be used to save the different data in the MDF Objects. Since the externalCode field plays the role of a Primary Key field for an MDF Object, changing its data each time while adding a new record for different effective date results in error.

Resolution

External code field should be used only to store values that will not change each time a new effective dated record is added.

To edit an existing externalcode from child object you need to go on "History" and click edit. It s not possible edit by click on the pensil icon and edit.

Keywords

edit, object, effective date, external code, externalcode, MDF, Multiple Changes Per Day, Effective Dating, child, parent, change , KBA , LOD-SF-MDF-MGD , Manage Data - Create, Update & Delete , LOD-SF-MDF-UI , UI Config, Layout & Rules , Problem

Product

SAP SuccessFactors HCM Suite all versions